Newer Version Available

This content describes an older version of this product. View Latest

Email Alert Actions

Send emails from flows by reusing already-configured workflow email alerts.

The email alert is already configured with the email’s contents, recipients, and sender, so the flow only needs to provide the record ID. Email alerts are entity-specific. For more information about creating email alerts, see Creating Email Alerts for Workflow, Approvals, or Milestones in the Salesforce Help. Make sure to review the daily limits for emails sent from email alerts.

This object is available in API version 32.0 and later.

Supported REST HTTP Methods

URI
Get a list of available email alert actions:
/services/data/vXX.X/actions/custom/emailAlert
Get information about a specific email alert action:
/services/data/vXX.X/actions/custom/emailAlert/entity_name/action_name
Formats
JSON, XML
HTTP Methods
GET, HEAD, POST
Authentication
Authorization: Bearer token

Inputs

The email alert action uses the record specified by SObjectRowId to get the information it needs. For example, if a Case was specified for the action, the action could retrieve the email address and recipient’s name from the Case object’s SuppliedEmail and SuppliedName fields, respectively.

Input Details
SObjectRowId
Type
ID
Description
Required. The ID of a record such as an Account.

Outputs

None.