Create the Integration Procedure with the Chatter Action (Managed Package)

For the managed package runtime, after you collect the Ids needed for assembling a Chatter post, you can create an Integration Procedure that sends a Chatter post to a user. The example post includes text, an image, and mentions of two other users.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  1. Go to the Vlocity Integration Procedures tab. Click New.
  2. Provide a Name, Type, and SubType for the Integration Procedure. Click Save.
  3. Drag a Chatter Action into the Structure panel. Assign these properties:

    Property

    Value

    Subject Id

    %SubjectId%

    Mentioned User Id

    %UserIdList%

    Image Id

    %ImageId%

    Markup Type

    Italic

    Text

    Here is the picture I mentioned. It has the Id %ImageId%.

  4. Drag a Response Action into the Structure panel and check Return Full Data JSON.
  5. Go to the Preview tab. Click Edit as JSON.
  6. Paste JSON with this structure into the Input Parameters pane, substituting the Ids you collected in the first set of steps:
    {
        "ImageId": "06961000005R9q1AAC",
        "UserIdList": [
            "0054N0000041jEvQAI",
            "0054N0000041qUlQAI"
        ],
        "SubjectId": "00561000000hjm3AAA"
    }
    
  7. Click Execute.
  8. Go back to the People tab, then to the record page of the user you chose to receive the Chatter post.
  9. Scroll down to the Chatter pane and click the Refresh icon to see the latest Chatter post.