Use the Apex class to create an Apex action that sends email notifications to
unauthenticated users.
Required Editions
| Available in: Lightning Experience. |
| Available in: Enterprise and Unlimited Editions |
| User Permissions
Needed |
| To open, edit, or create a flow in Flow Builder: |
Manage Flow |
| To run a flow: |
Run Flows |
-
From the Elements panel, drag Action onto the canvas.
-
From the Filter By dropdown list, select Type, and then click
Apex Action.
-
In the Action field, select Send Email to Guest.
-
Enter a name, such as Send Email to Guest, and an API name, such
as Send_Email_to_Guest for the element.
-
Set these input values:
| Field |
Value |
| appointmentId |
{!$Record.Id} |
| leadEmail |
{!leadRecord.Email} |
| leadId |
{!$Record.ParentRecordId} |
-
Click Done.
-
Connect the Update Service Appointment Object element with this Action element.
-
Save your changes, and then activate the flow.