---
schema_version: "1"
id: 2517deb62db7c1592665d8c119acf39dc9e1bd8f11537440b0e12c770c190cd3
title: Create the Integration Procedure with the Chatter Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_the_integration_procedure_with_the_chatter_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_integration_procedure_with_the_chatter_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9f38db6902d28c6433d3046bb15db0af49fdf8844ce784c0f8a602f21b5edba5
description: 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.
products:
  - Omnistudio
release: "264"
---
# 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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

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:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d134640e85">
                  <p style="margin-bottom:0;">Property</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d134640e91">
                  <p style="margin-bottom:0;">Value</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e85 ">
                  <p style="margin-bottom:0;">Subject Id</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e91 ">
                  <p style="margin-bottom:0;">%SubjectId%</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e85 ">
                  <p style="margin-bottom:0;">Mentioned User Id</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e91 ">
                  <p style="margin-bottom:0;">%UserIdList%</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e85 ">
                  <p style="margin-bottom:0;">Image Id</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e91 ">
                  <p style="margin-bottom:0;">%ImageId%</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e85 ">
                  <p style="margin-bottom:0;">Markup Type</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e91 ">
                  <p style="margin-bottom:0;">Italic</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e85 ">
                  <p style="margin-bottom:0;">Text</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d134640e91 ">
                  <p style="margin-bottom:0;">Here is the picture I mentioned. It has the Id %ImageId%.</p>
                </td>

              </tr>
            </tbody>
          </table>
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.