Best answer

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

  • 31 January 2024
  • 1 reply
  • 16 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)

 

 

icon

Best answer by Troy Tessalone 31 January 2024, 19:09

View original

1 reply

Userlevel 7
Badge +14

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

Reply