Use Execute Script (with ZAIA) to parse the output from HTTP Request actions

Ever had to parse a complex, deeply nested JSON payload from an HTTP Request like this:

Usually, extracting data from arrays within arrays means dragging in a Convert JSON to Object action, followed by one or multiple Query Collection steps and a Foreach Loop. And in the end, you still have items you don't need, and the item descriptions can be cryptic (e.g. “type”or “value”).


👉 Use Execute Script instead! With that single action, you can:
✅ Navigate nested arrays and objects
✅ Return only the fields you need
✅ Create meaningful output names
✅ Keep your flow much cleaner


And setting it up is surprisingly easy, thanks to ZAIA:

1. Paste the Output of the HTTP Request (the JSON) in the ZAIA of Execute Script.
2. Tell what you need in your language (English, Spanish, Dutch,...) (e.g., "Find the active item and extract the Email, Timestamp, and IP address.")
3. Submit, and ZAIA generates the script
4. Test it, and when OK, hit Apply

And then Execute Script will return a result like (after you have removed the “default” wrapper):