Skip to main content

I get the raw body from the webhook that looks like this in Zapier:

raw_body
{"employees":[{"changedFields":["Home Email"],"fields":{"Home Email":"test@icloud.com"},"id":"239"}]}
headers__content_length
111
headers__content_type
application/json
headers__http_content_length
111
headers__http_cloudfront_viewer_country
IE
headers__http_x_forwarded_port
80
headers__http_via
2.0 bd3c2afa75612aa52a66a52d84cc0c6e.cloudfront.net (CloudFront)
headers__http_x_forwarded_host
hooks.zapier.com
headers__http_cloudfront_viewer_asn
16509
headers__http_cloudfront_is_desktop_viewer
true

i’d like to take the ‘employees’ json and have them as selectable fields: Home Email, Id.

Is there an easy way to do that through javascript?

Hi @Dorbs 

Good question.

You’ll need to use a Code step: https://zapier.com/apps/code/help