To send notifications about upcoming video appointments to
unauthenticated users, create a Record-Triggered flow on the Service Appointment object.
Configure the flow to retrieve the recipient’s email address and the assigned service resource
name. Then, update the service appointment record to add the service resource name to a custom
field. You can then create an Apex action to send email notifications that use the available
Virtual Appointment Email templates.
Required Editions
| Available in: Lightning Experience. |
| Available in: Enterprise and Unlimited Editions |
- Create a Record-Triggered Flow
Create a flow on the Service Appointment object so that you can configure email notifications.
- Get Recipient’s Email Address
Retrieve the recipient’s email address from the lead record.
- Get Service Resource ID
Retrieve the service resource ID from the Assigned Resource object.
- Get Service Resource Name
Retrieve the name of the service resource from the service resource ID.
- Update Service Appointment Record
Add the service resource name to the Comments field of the service appointment. You can customize the flow to add the service resource name to a custom field.
- Create an Apex Class for the Apex Action
Create an Apex class that you can link to the Apex action. The email template name in the Apex class refers to the email templates that are used to send email notifications for video appointments to unauthenticated users. You can rename the template based on your setup.
- Create an Apex Action to Send Email Notifications
Use the Apex class to create an Apex action that sends email notifications to unauthenticated users.