Skip to main content
Qlik Data Gateway upgrade REQUIRED by September 15 READ MORE

Salesforce - How to use Chatter API

No ratings
Showing results for 
Search instead for 
Did you mean: 
Former Employee
Former Employee

Salesforce - How to use Chatter API


The broader use case of a Salesforce chatter API is to Integrate a third-party web application with Salesforce so it can notify groups of users about events. The 'Post Feed To Chatter Group By Group Id' Block is completely catered to post feed to a particular group. In this article, you can find the same use case is built using the 'Post Feed Item' Block.

Here, we are alerting a particular Group of users in Salesforce when a 'Do Reload' responds with a 'FAILED' status.

  1. Use a condition block to filter out the 'FAILED' status from the 'Do Reload' block.


  2. Next, we'll list out all the 'Collaboration Groups' present in the Salesforce instance and cache them.
  3. Save the ID of the appropriate group to which the alerting message should be sent using a variable block.
  4. Use variable blocks to construct the appropriate 'Body' of the message as per each message body definition (More info here). Using multiple variable blocks of appropriate types help us to construct required JSON bodies. (Refer to this page to know more on how to construct JSON object or List on the go in an Automation)
  5. Map the saved ID to the 'Subject Id', constructed message bodies to the 'Body' and 'Capabilities' fields (as raw input) of the 'Post Feed Item' block.


  6. We have built the final message body based on the Failed log of the 'Do Reload' block.


Tags (1)
Labels (1)
Version history
Last update:
‎2021-09-24 01:17 AM
Updated by: