Newer Version Available

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

Invoking Actions

All actions are invoked using the same JSON body format. The following example shows two Chatter posts made with a single Post to Chatter action.

1{ "inputs" :
2  [
3  {
4    "subjectNameOrId" : "jsmith@salesforce.com",
5    "type" : "user",
6    "text" : "first chatter post!"
7  },
8  {
9    "subjectNameOrId" : "hsmith@salesforce.com",
10    "type" : "user",
11    "text" : "second chatter post!"
12  }
13  ]
14}