Send Multi-Channel Notification Action

Send notifications through multiple channels, including in-app notifications and Slack, to specified recipients with customizable content.

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
Type
string[]
Description

Required.

IDs of the users who receive the notification.

recordId
Type
string
Description

Required.

ID of the record that provides context for the notification.

notificationType
Type
string
Description

Required.

Identifier for the notification type.

headerLabel
Type
string
Description

Required.

Header text shown in the notification.

bodyLabel
Type
string
Description

Required.

Body text shown in the notification.

targetPageReference
Type
string
Description

Optional.

Page reference to navigate to when the notification is selected.

targetPageReferenceLabel
Type
string
Description

Optional.

Label for the navigation link.

icon
Type
string
Description

Optional.

Icon name shown with the notification.

imagePath
Type
string
Description

Optional.

Path to an image shown with the notification.

Outputs

Output Details
status
Type
string
Description
Result of the notification send operation. Value is SUCCESS or FAIL.

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]