For Agentforce to send email notifications, set up org-wide email addresses and add an email template to the flow that the agent action uses.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise and Unlimited Editions with Agentforce enabled. |
- Set up an org-wide email address.
-
Identify the name of the email template that you want to use. If required, create a new
email template for Agentforce.
- From Setup, in the Quick Find box, enter Classic Email Templates and select it.
- Find the template that you want to use and select it.
- Note the Template Unique Name.
-
Update the template for agentforce.
- Click Edit HTML Version.
- Update Hello, {!Lead.Name} to Hello, [[RECIPIENT_NAME]].
-
Remove the modification paragraph:
<p> If you change your mind, you can <a target="_blank" href="[[MODIFY_APPT_FLOW_URL]]">modify or cancel</a> your service appointment. </p>
-
Update the Agentforce flows to add the email template.
- From Setup, in the Quick Find box, enter Flows and select it.
- Find the Scheduler: Schedule Appointment with AI Agent flow and select it.
- Open the Schedule Appointment action.
- Turn on Email Template.
- Enter the Template Unique Name that you noted.
- Save the flow.
- Repeat these steps for the Scheduler: Cancel Appointment with AI Agent flow.