Help needed: Sequential Iteration

Hi everyone!

I’m working on an automation in Make where I’m integrating OpenAI and Glide. Here’s what I’m trying to achieve:

  1. Each OpenAI module generates a list of JSON elements.
  2. These elements are iterated, and for each one, a new row is added to a Glide database.
  3. I want the process to work sequentially:
  • First, all items from the first OpenAI module should be processed and added to Glide.
  • Only after all the items from the first module are completed, the scenario should continue to the second OpenAI module, iterate through its list, and add rows to Glide.
  • Finally, the scenario should move to the third OpenAI module and follow the same process.

The problem is that the scenario currently doesn’t wait for all items from the first module to be processed before moving to the second. It progresses after processing the first item, disrupting the intended sequence.

How can I ensure that all items from one module are fully iterated and added to Glide before moving to the next module?

Any advice or examples would be greatly appreciated!

Thanks in advance! :blush: