Getting all pages of Moneybird with webhook

I followed this how to: API Pagination / Calling the webhook from the same scenario. However, if I start the scenario with a webhook, when I run the scenario without existing data, then the webhook keeps waiting for input (which it gets from the http module). So the first page is never fetched at all, not triggering the loop. If I trigger the http module and then run the automation with existing data, then it fetches the second page correctly. So how can I change this automation so that it fetches all the pages?

blueprint.json (24.5 KB)

I managed to make the automation fetch all pages of Moneybird, but I did not use webhooks. My solution is in the blueprint, for anyone interested.
blueprint Pagination.json (548.3 KB)

2 Likes