Is there a way to make multiple http requests concurrently?

What are you trying to achieve?

How can I achieve functionality similar to JS Promise.all?
Having an array, is there a way to make multiple http requests concurrently and wait for all of them to complete
Specifically I don’t want to wait for the response of previous http request to make a next one, I only need to wait for all of them to finish

Screenshots: scenario setup, module configuration, errors

Welcome to the Make community!

No, there is no way to process bundles concurrently within Make.

That’s a great idea! I’m sure others would agree that this is a nice feature to have.

You can submit this suggestion to the Idea exchange, under Platform ideas and improvements.

Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

I’ve never tried this, but I wonder if you might be able to use a second scenario…

Scenario 1 (existing scenario) has the Iterator (#4) followed by a new HTTP Make a Request, which calls a Webhook trigger in the new Scenario 2.

From Scenario 1 to Scenario 2, when it’s the last bundle, pass along another parameter that indicates it’s the last one.

Scenario 2 can immediately return 200 via Webhook Response to allow scenario 1 to quickly move on and finish all the requests.
Scenario 2 will then make the original HTTP Request (#60 from first scenario) then add the results to a Data Store array and end there.
Once Scenario 2 receives the parameter indicating it was the last bundle, then it can proceed to read the array from the Data Store, merge with the last array, then I believe you should have close to what your Array Aggregator (#62) is producing now.

It’s riskier, but if you set Scenario 2 to disable sequential processing, it will be more like it’s running concurrently, but then I think it will be more difficult to work with the Data Store.

1 Like

That’s a very creative workaround, but be careful of the operation costs.

It’s better to have the feature built-in.