• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

Simple Response (Previous Step)

  • Thread starter Deleted member 8616
  • Start date
Status
Not open for further replies.
In the "Inbuilt Action Event API Configuration," there's a setting where you can choose if the JSON response from the previous action or trigger step should be simple or similar to the previous step to map in the current inbuilt action event.

We will check the Simple Response (Previous Step) whenever there is a requirement, to map a key from the response which will be received from the previous step. This results in the output in a simple format.

By default, it's set to keep the JSON format similar to the previous step to map any response key. This means it won't simplify the previous step's JSON response and will provide a multi-step response without simplifying it.

Alternatively, if you choose 'Simple Response (Previous Step),' it will simplify the previous step's JSON response into a simple format and provide output in the same simple format.

In this example, we need the contact_id from the action step to map in the current inbuilt action event.


JSON:
{
  "contact": {
    "email": "[email protected]",
    "cdate": "2018-09-28T13:50:41-05:00",
    "udate": "2018-09-28T13:50:41-05:00",
    "id": "113"
  }
}

For example, we have used the contact's ID in the multistep to add a tag to the contact. Since the response is already in a simple format, there is no need to tick "Simple Response (Previous Step)". We can map the contact's ID with the help of instructions on how to set static and dynamic dropdowns in the inbuilt action configuration.

Step 1. Create a Set of Body/Query/Path Parameters. named as contact_id. and Click on the field "Settings" icon and select "Static Parameter Value".


1715248463503.png


Step 2. Choose the "Endpoint" option in the "Response Of" and "Response" in the "Input Type". This depicts that we are taking value for this parameter from the response of the main action step. Please note that you have to enter the Response Key inside {{}} brackets. For Example. {{contact==>id}}.

1715248499331.png


We trust that this explanation clarifies the concept of Simple Response (Previous Step) for you. Should you have any further questions, please feel free to reach out to us via email at "[email protected]".

Happy Integrating !!
 
Last edited by a moderator:
Status
Not open for further replies.
Top