Live Message Notification Actions
Use messaging templates to send notifications to users over
communication channels, such as SMS, WhatsApp, and Facebook Messenger, when certain
conditions are met.
This action is available in API version 43.0 and later.
For more information about using Live Message Notification actions in flows, see Create Flows to Send Automatic Message Notifications in Salesforce Help.
Special Access Rules
To access Live Message Notification action for Surveys, you must have the Feedback Management Starter or Growth license and Salesforce org enabled with a default community.
Supported REST HTTP Methods
- URI
- /services/data/v43.0/actions/standard/liveMessageNotification
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
channelDeveloperName |
|
contextRecordId |
|
conversationBroadcastId |
|
recipientPhone |
|
recipientRecordId |
|
surveyDeveloperName |
|
templateDeveloperName |
|
triggeredOutboundTypeEnum |
|
Outputs
None.
Example
- GET
-
The following example shows how to get information about the Live Message Notification action type:
curl --include --request GET \ --header "Authorization: Authorization: Bearer 00DR...xyz" \ --header "Content-Type: application/json" \ "https://instance.salesforce.com/services/data/v43.0/actions/standard/liveMessageNotification"
- POST
-
Here’s an example request for the Live Message Notification action:
{ "inputs":[{ "templateDeveloperName":"MessageQ3Template", "channelDeveloperName":"MessageQ3Template", "contextRecordId":"003RO00000480RvYAM", "recipientRecordId":"0PARM000000GJzo4AG" }] }
Here’s an example response for the Live Message Notification action:[ { "actionName" : "liveMessageNotification", "errors" : null, "isSuccess" : true, "outputValues" : null } ]