Feed Post and Comment
A 3-step recipe with Salesforce Experience Cloud. We can help you get access.
Recipe · 3 steps
Feed Post and Comment
Post a feed element and add a comment to it.
- Create a text feed element on the community news feed against the subject record.
- Read the new feed element back to confirm it persisted with its body.
- Add a comment to the new feed element.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token for the Salesforce instance.
- communityId: ID of the Experience Cloud site (community).
- subjectId: ID of the parent record the post is attached to.
- postText: Text body for the feed element.
- commentText: Text body for the comment.
For your developer
Arazzo workflow salesforce-experience-cloud:feed-post-comment, 3 operations: postFeedElement → getFeedElement → postComment. Specs on APIs.io.