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-
This is how you can visualize the JSON structure to navigate within it and map a response key from here.
Examples How to Set Response/Parameter Key -
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.
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: