Waiting for concurrent requests to finish

I’m trying to make a workflow which sends a request to generate some videos to an API and then it needs to poll for readiness, the issue I’m having is that when one video is ready it immediately return without waiting for the rest. I’ve tried using the aggreate node but it didn’t work either so I’m a bit stuck.

Hey @user313
A Loop node after the code Create Multiple Requests connected to the true branch then connect to HTTP node.
Remove Merge and Agreggate, and if Extract URL Success true branh goes bach to Loop.
When Loop is Done goes to Respond to Webhook with the items automatically.
Had a versionn issue with you HTTP nodes, but here an eg:

If code breaks here an image of what i mean:

1 Like

It works, thank you. I read somewhere about marking answers as solution but I cant seem to find that.