Configure a Send Email Node in a Workflow
Use the Send Email node to send email notifications from a workflow. You can configure the email recipients, subject, message content, and attachments. The node also supports context-sensitive expressions to dynamically populate the email fields. After you configure the node, connect it to the appropriate workflow path to send emails when the workflow runs.
- Go to AI Agent Studio, and open the
Workflows
tab. - Edit a workflow and add a Send Email node to it.
- Enter a name and description for the node. The code is populated automatically based on the name.
- From the Error Handler list, select an error handler node to define failure handling.
- In the Recipients field, enter the email addresses or use expressions to specify the value that must be send to the calling node. For more information, see Expressions.
- In the CC field, specify one or more email addresses or use expressions.
- In the Email Subject field, enter the subject of the email. You can enter static text or use expressions.
- In the Email Template field, enter the content of the email. You can add a static message, and if needed, you can also use expressions to include values dynamically.
- In the Attachments field, specify one or more attachments. You can enter a value directly or use expressions.
- Publish the workflow.
When the workflow reaches the Send Email node, the email is sent to the specified recipients.