How to use Response Action In Integration

Lets see how to use Response Action In Integration Procedure (Salesforce / Vlocity / OmniStudio).

Note :–

Sending Integration Procedure Data to Omniscript:

  1. Integration Procedure Configuration:

    •  you create an Integration Procedure to interact with an external system. 
  2. Response Action in Integration Procedure:

    • In the Integration Procedure, after the integration step, you add a Response Action. This is crucial because it specifies what should happen with the response received from the external system.
  3. Data Mapping in Response Action:

    • Within the Response Action, you perform data mapping to map the fields in the integration response to variables within the Integration Procedure. This step ensures that the data obtained from the external system is captured and can be used further.
  4. Return Data to Omniscript:

    • Once the data is mapped, you may configure the Response Action to send this data back to the Omniscript. You can use variables or additional output settings to determine what data is sent back
Step :–1  Response Action in Integration Procedure:
  1. Design the Integration Procedure:

    • Open the Salesforce Omniscript Builder and navigate to the Integration Procedure you are working on.
  2. Configure Response Action:

    • Within the Integration Step, add a Response Action. This defines what should happen before the completion of the Integration Procedure 
  3. Response Action Configuration:

    • Configure the Response Action based on your use case. If  is True, you send all data on preview tab .

Integration Procedure
Response Action In Integration Procedure
Execute Action in Preview Tab: —   
Configure the properties of the execute button, specifying what action should be triggered when the button is clicked.
Integration Procedure
On Preview Tab
Step :– 2    Send/Response Transformations in Integration:
  1. SEND/RESPONSE TRANSFORMATIONS:

    • In the context of integration procedures, Send/Response Transformations typically involve mapping .
    • Send JSON Path in Response Action:
      • Within the Response Action, you might have a configuration related to the response. If you want to use the data received in the response and send a specific node from it in the next step, you would use the Send JSON Path in the Response Action.
      • Specify Send JSON Node:

        • In the Send JSON Path configuration of the Response Action, you might find an option like “Send JSON Node.” This setting allows you to specify a different node from the response to be used in subsequent steps.
      • Example:

        • If your integration response contains a structure like {"result": {"data": {...}}}, and you want to send the data node to the next step, you might set the Send JSON Path in the Integration Step to $.result and then use Send JSON Node in the Response Action to specify data.
        •  Note :  From here we pass all data in omniscript 

 Note :– We create a setvalues and pass data in response action.

Integration Procedure
In Response Action

On Preview Tab After Click Execute  

Integration Procedure
On Preview Tab
Step :– 3
Additional Output Response Configuration:
  1. Configure Additional Output Response:

    • In your Integration Procedure within Omniscript, you may have an option for “ADDITIONAL OUTPUT RESPONSE.”
  2. Return Only Additional Output Setting:

    • Within the configuration, there is an option called “Return Only Additional Output.” When set to true, it means that the response will include only the additional output data.
  3. Additional Output:

    • Specify the additional output data that you want to include in the response. This could be specific fields, properties, or nodes depending on your integration requirements.
Integration Procedure
In Response Action

On Preview Tab After Click On Execute  

Integration Procedure
On Preview Tab
Scroll to Top