---
schema_version: "1"
id: 5eb61f360064ad2f467011d0eee25ddb40500616d588aa1058f1880b0e7498d1
title: Response Action for Integration Procedures
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_response_action_for_integration_procedures_54655.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_response_action_for_integration_procedures_54655.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2e18ee43e9cda8ae1caa6f6e45f87cb6053967b994f0aa170be51b959ddbb3e2
description: The Response Action ends an Integration Procedure and returns data to the entity that called it. It can also add data to the data JSON or end conditionally. Response Actions are useful for debugging Integration Procedures.
products:
  - Omnistudio
release: "264"
---
# Response Action for Integration Procedures

The Response Action ends an Integration Procedure and returns data to the entity that called it. It can also add data to the data JSON or end conditionally. Response Actions are useful for debugging Integration Procedures.

Response Actions are also useful for trimming the data response. For specific trimming strategies, see [Manipulate JSON with the Send/Response Transformations Properties](https://help.salesforce.com/s/articleView?id=xcloud.os_manipulate_json_with_the_send_response_transformations_properties_22367.htm&release=264.0.0&type=5 "Specify and transform the input and output JSON of Omniscripts or Integration Procedures with the Send and Response Transformation properties. The Send properties transform the input; the Response properties transform the output.").

For Integration Procedure examples that include at least one Response Action, see [Work with Data and Lists](https://help.salesforce.com/s/articleView?id=xcloud.os_ips_work_with_data_and_lists.htm&release=264.0.0&type=5 "Use Integration Procedures to read, write, and transform complex, hierarchical data from Salesforce objects and other sources. Use actions to work with data, and blocks to process it."), [Handle Errors by Using a Try-Catch Block](https://help.salesforce.com/s/articleView?id=xcloud.os_handle_errors_using_try_catch_blocks_49845.htm&release=264.0.0&type=5 "Handle errors in Integration Procedures by using Try-Catch Blocks. A Try-Catch Block lets you \"try\" running the steps inside it and then \"catch\" the error if a step fails."), and [Integration Procedure Action for Integration Procedures](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_action_for_integration_procedures_53279.htm&release=264.0.0&type=5 "The Integration Procedure Action runs a subordinate Integration Procedure.").

<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="d25408e68">
            <p style="margin-bottom:0;">Property</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d25408e74">
            <p style="margin-bottom:0;">Description</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e68 ">
            <p style="margin-bottom:0;">Additional Output</p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e74 ">
            <p>Key/value pairs to add to data JSON. Can merge other data. To specify a level below the top level for a key/value pair, use a colon-delimited path in the Key field. For example:</p>
            <p>Key Field: <code>Key1:Key2</code></p>
            <p>Resulting JSON:</p>
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>{
                "Key1":
                { 
                "Key2": "Value"
                }
                }</code></pre>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e68 ">
            <p style="margin-bottom:0;">Return Only Additional Output</p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e74 ">
            <p style="margin-bottom:0;">Enable to discard data other than the key/value pairs defined as additional output. If you enable this option, disable Return Full Data JSON.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e68 ">
            <p style="margin-bottom:0;">Return Full Data JSON</p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e74 ">
            <p style="margin-bottom:0;">Enable to return entire data JSON. If you enable this option, disable Return Only Additional Output.</p>
          </td>

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

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e74 ">
            <p style="margin-bottom:0;">To add data to the response header, add key/value pairs to this property. To override the HTTP status code returned in the header, create a key named StatusCode and assign it a <a href="https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm" target="_blank">valid HTTP response</a> value.</p>
          </td>

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

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d25408e74 ">
            <p style="margin-bottom:0;">Ends the Integration Procedure only if the specified condition is true.</p>
          </td>

        </tr>
      </tbody>
    </table>