Complete route 1 and 2 before starting on route 3

:bullseye: What is your goal?

I want to process all the attachments (PDF and Excel), collect the feedback for each document, collate all the feedback over multiple documents, then send it.

:thinking: What is the problem & what have you tried?

The routes are not running in order. I want route 1 and 2 to run thru all the data first, then run route 3.
Currently route 1 runs, then route 3. Then route 1, then route 3, then route 2 then route 3.
I want it to be R1, R1, R2, R3 (example) or R2, R1, R3.

:link: Create public scenario page

https://us1.make.com/public/shared-scenario/OaN20kiQIBx/deal-panel

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hello,

The Router processes data sequentially. Assuming there are no filters, the flow looks like this:

Module before router generated >1 bundle.

Bundle 1

  • Data goes to Route 1.
  • Once Route 1 finishes processing, the same bundle goes to Route 2.
  • Then it continues to Route 3.

After the last route is finished, Make starts processing Bundle 2, following the same order.

This continues until all bundles generated before the router are processed.

You can visualize it by clicking the airplane icon.


How to handle your case

It mainly depends on your input structure, but the quickest and simplest solution would be to add another router to control the flow.

Router 1
β”œβ”€ Route 1 β†’ Router 2 β†’ Route 1 logic β†’ Route 2 logic
└─ Route 2 β†’ existing Route 3 logic

Please take a look at this sample scenario:

As mentioned earlier, if your input structure is different- for example, if you want to process all bundles before the router and only then send the data to Route 3- you will need to adjust the logic using filters.

Hope it helps!
Have a nice day,
Michal

1 Like

Hey Jamie,

the link you shared doesn’t lead anywhere.

It sounds like there is a module before the router that returns multiple PDFs. So you want to process all the pdfs on routes 1 and 2 before route 3 executing? And then on route 3 have access to all the processed PDFs?

Then add array aggregator modules before each set variable module, with a source module set to whichever module is producing the additional bundles that are in need of processing.

Then route 3 should run only after 1 and 2 are completely done processing everything and your get variables module will return the resulting arrays from each of the routes.

In Make scenarios, routes usually run in parallel unless something specifically controls the order. If route 3 depends on results from routes 1 and 2, I’d normally handle that by restructuring the scenario so the dependent steps run after the required data is processed. Using aggregators or conditional logic can also help control the sequence.