Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Send Multi-Channel Notification Action
This action is available in API version 60.0 and later.
Special Access Rules
The Send Multi-Channel Notification action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud. Sending notifications through Slack requires a configured Slack integration.
Supported REST HTTP Methods
- URI
- /services/data/v60.0/actions/standard/sendMultiChannelNotification
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| recipientIds |
|
| recordId |
|
| notificationType |
|
| headerLabel |
|
| bodyLabel |
|
| targetPageReference |
|
| targetPageReferenceLabel |
|
| icon |
|
| imagePath |
|
Outputs
| Output | Details |
|---|---|
| status |
|
Example
- POST
-
This sample request is for the Send Multi-Channel Notification action.
1{ 2 "inputs": [ 3 { 4 "recipientIds": ["005xx000001SwZbAAK", "005xx000001SwZcAAK"], 5 "recordId": "0INxx0000004CmqAAE", 6 "notificationType": "ProgramApplicationApproved", 7 "headerLabel": "Application Approved!", 8 "bodyLabel": "Your solar rebate application has been approved.", 9 "targetPageReference": "IndividualApplication__c", 10 "icon": "standard:approval" 11 } 12 ] 13}This sample response is for the Send Multi-Channel Notification action.
1[ 2 { 3 "actionName": "sendMultiChannelNotification", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outputValues": { 8 "status": "SUCCESS" 9 }, 10 "sortOrder": -1, 11 "version": 1 12 } 13]