Handling multiple request at same time

Hello everyone. I have a question. I need to execute my workflow around a thousand times per day because of an Outlook trigger – I receive about a thousand emails daily. Can n8n handle that? Sometimes the emails arrive at the same time, sometimes they don’t, and each operation usually takes 3–4 minutes to complete individually. Is that a problem for n8n? I’m using the paid Cloud version.

Hi that is possible.

You can set up an Outlook trigger that runs your workflow whenever you get a new email. The workflow will use the data from those incoming emails.

I’d recommend setting the polling time to something long0 like 30 minutes. This way, instead of running the workflow every single time you get an email, it will collect all the emails that came in during those 30 minutes and then run the workflow once with all that data. As your plan has a limit of 10k executions per month.

So, if it collects, let’s say, 200 emails after 30 minutes, should I put a for loop inside, or will it automatically process them one by one in my AI node?

If the Outlook trigger outputs one item containing all the emails, it will send every one of them to the AI node. But you can use the Split Out node after the trigger to make it output one item for one email. Which will make n8n automatically loop through each item individually in other nodes like the ai agent.

So no loop node needed.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.