accessing nested JSON array data in Zapier Webhook | Zapier Community

PHOTO EMBED

Sun Dec 20 2020 19:59:13 GMT+0000 (Coordinated Universal Time)

Saved by @mishka #zapier

I have gotten full access to the JSON array through the following steps:

1) Catch a raw webhook

2) Send the webhook data to a Code by Zapier step

3) Start with the following code and output the values you want to use.

var obj = {},

data = JSON.parse(inputData.data); //Data will now function like a json object



//Pull out your values

obj.value = data.user_column_data[1].string_value

return obj;
content_copyCOPY

https://community.zapier.com/ask-the-community-3/accessing-nested-json-array-data-in-zapier-webhook-555