Skip to main content

📌  We do our best to ensure that the code in these articles works as advertised, but please be aware that Zapier Support does not officially help with code steps due to their advanced nature. Feel free to comment on the article or ask in the Zapier Community, where we have code-savvy users.

 

UPDATES

“Step Output” Variable returns RAW JSON for any Zap step!

Read more: https://help.zapier.com/hc/en-us/articles/38445061177229-New-Raw-Step-field-returns-a-step-s-entire-output-in-a-single-value

 

 

Purpose

Sometimes data returned from a Zap step may return raw JSON, that is not parsed.

e.g. If you are using this Zap trigger: Webhook - Catch Raw Hook

A JavaScript Code step in the Zap can be used to parse the raw JSON.

 

How to Configure

 

Copy the Code

let PARSED = JSON.parse(inputData.RAW);

output = [{PARSED}];

 

Results

Contribution by Troy Tessalone

Troy is a Certified Zapier Expert who automates workflows with no-code and low-code apps to help clients save time and make money.

Be the first to reply!