Create Feed Element

Salesforce Chatter provides a host of collaboration features to applications built on Force.com. This activity enables you to create a feed element. To achieve this, add this activity to your canvas, and configure it. Select the appropriate access token for Salesforce Chatter. If you haven’t created an access token, select ‘Add New’ to create one. 

In the ‘Instance URL’ field, specify the instance URL of your Salesforce account. The instance URL is the first part of the URL that you see in the browser’s address bar after signing in to your Salesforce account (e.g., https://na15.salesforce.com). Enter the body text for the feed element in the ‘Post text’ field. Lastly, select the visibility of the feed from the given options. Once you enter these details, click on ‘Done’ and run the flow. This will create a new feed element in your Salesforce Chatter account. 

create-feed-element

Output:
  • output-arrow salesforce-chatter-128 Create Feed Element
    • left-triangle actor object
      • left-triangle id string
      • left-triangle name string
      • left-triangle url string
    • left-triangle body object
      • left-triangle text string
    • left-triangle clientInfo object
      • left-triangle applicationName string
      • left-triangle applicationUrl any
    • left-triangle parent object
      • left-triangle id string
      • left-triangle name string
      • left-triangle url string
    • left-triangle createdDate string
    • left-triangle canShare boolean
    • left-triangle event boolean
    • left-triangle feedElementType string
    • left-triangle id string
    • left-triangle type string
    • left-triangle url string
    • left-triangle visibility string