Create Workflow Email Alert
sf_create_email_alertCreate a workflow email alert to send automated notification emails via Flows, Approval Processes, or Workflow Rules. Specify the email template and recipients such as record owner, users, roles, or custom addresses.
Instructions
Creates a Workflow Email Alert action that can be triggered by Flows, Approval Processes, or Workflow Rules. Specify the email template to use and recipients (owner, creator, users, roles, or custom email addresses). Use when you need to send notification emails as part of automation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display label | |
| template | Yes | Email template full name, e.g. 'unfiled$public/MyTemplate' or 'MyFolder/MyTemplate' | |
| alertName | Yes | API name of the email alert, e.g. 'Notify_Owner_On_Close' | |
| protected | No | Protected email alert | |
| objectName | Yes | Object API name, e.g. 'Opportunity', 'Case' | |
| recipients | Yes | Who receives the email | |
| senderType | No | Who the email appears to come from | CurrentUser |
| description | No | Description | |
| senderAddress | No | Org-wide email address (required if senderType is OrgWideEmailAddress) |