• ⚠️ Important: This forum is being discontinued.

    We've moved community discussion to a new platform — better search, faster replies, and tighter integration with the Pabbly apps you already use.

    • Sunset date: 23 July 2026 (this forum will go offline after that)
    • Until then: Login remains available for 30 days
    • Continue the conversation: https://sales.pabbly.com/forum

How to Traverse Within the JSON to Map a Response Key.

  • Thread starter Deleted member 8616
  • Start date
Status
Not open for further replies.
This documentation guides you on how to traverse in JSON to map a response key with ==> notation.

When setting up an application in Pabbly Connect, you might need to extract specific information from a JSON response. The ==> notation helps you do that. It's similar to giving directions to find what you need in a JSON file.

So, for example, if you want to find a value called "hash" that's tucked away inside a "secret" within a "webhook", you'd write {{webhook==>secret==>hash}}. This approach streamlines the process of navigating through intricate JSON structures to access specific data points.


Example of JSON Response-
Code:
{
  "id": "4b67ac88-e506-4a29-9d42-26e504e3435e",
  "webhook": {
    "id": "4b67ac88-e506-4a29-9d42-26e504e3435e",
    "userid": 183,
    "health": [
      {
        "status": "active",
        "fail_count": 0
      }
    ],
    "secret": {
      "hash": "O94IM25S7PXBPYTMNXLLET230SRP0S89COR7B1YOJ2ZIE8WQNK5UUKEF26W0Z5GA"
    }
  }
}

This is how you can visualize the JSON structure to navigate within it and map a response key from here.

1715429188681.png


Examples How to Set Response/Parameter Key -
  • To fetch the "id" key from JSON, set to {{id}}.
  • To fetch the "id" inside the "webhook" key from JSON, set to {{webhook==>id}}.
  • To fetch the "hash" inside the "secret" key within the "webhook" key from JSON, set to {{webhook==>secret==>hash}}
  • To fetch the "status" inside the "health" key which is an array within the "webhook" key from JSON, set to {{webhook==>health==>0==>status}}.
 
Last edited by a moderator:
Status
Not open for further replies.
Top