Skip to main content
Best answer

Why can i not access the root item of a GET request?

  • January 31, 2024
  • 1 reply
  • 38 views

I have a GET request, it pulls some data in a JSON structure, with “data” as the root element.

Zapier shows this. (screenshot below), but in other tasks in the same zap, is there something I’m doing wrong? the screenshot of the issue is from the Python code task, but i can’t find it in other tasks either (such as formatter)

 

 

Best answer by Troy Tessalone

Hi @flying_chocolate 

Zapier parses payload responses into variables to use in following action steps.

The data returned shown in your screenshot is an array of items, which is why all the same variable names get collapsed into the same variable to map.

If you want advanced control, you can make the GET request via a Code step: https://zapier.com/apps/code/help

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • January 31, 2024

Hi @flying_chocolate 

Zapier parses payload responses into variables to use in following action steps.

The data returned shown in your screenshot is an array of items, which is why all the same variable names get collapsed into the same variable to map.

If you want advanced control, you can make the GET request via a Code step: https://zapier.com/apps/code/help