Skip to main content
Question

Why is the data merged in a sigle field?

  • September 26, 2023
  • 7 replies
  • 57 views

Hi!

I have multiple steps in my zap, One converts data into a json.

However when I try to use it both destinations are in the same field and not considered as 2 different entities.

Any idea why?

Thanks!

 

Frederic

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

7 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • September 26, 2023

Hi @fred1601 

Good question.

In this example, the “destinations” are an array of objects.

Zapier pre-parses the data into individual data points to use in following Zap steps.

We would need to see fuller screenshots with how your Zap step 5 is configured.

If you need to iterate thru each Destination, then you can use the Looping app: https://zapier.com/apps/looping/help

 


  • Author
  • Beginner
  • September 28, 2023

Hi Troy,

I tried and it only looped once when they are 2 occurrences. It just took the first destination. Any idea why?

Thanks,

 

Frederic


  • Author
  • Beginner
  • September 28, 2023

Hi Troy,

In fact the next action is sending to a private API, it would I guess send several times which is not the goal.

I’m a bit puzzled ;)


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • September 28, 2023

@fred1601 

If you are manually testing, then only the first loop iteration is processed.

Help: https://help.zapier.com/hc/en-us/articles/8496106701453-Loop-your-Zap-actions#create-a-loop-from-line-items-0-2

 


  • Author
  • Beginner
  • September 28, 2023

I tested it automatically and live. But it did not loop. I have a trip json with one destination and 2 flights. If I put the loop before my custom API app, I guess it would loop and send twice the trip? Anyway for now it does not loop….


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • September 28, 2023

@fred1601 

In the Zap Runs each loop will be it’s own Zap Run.

We would need to see updated screenshots with how your Looping step is configured.


  • Author
  • Beginner
  • September 29, 2023

I found the solution: the issue was not in the zap but in the custom app json formating. Thank you for your help.