I have built a flow that triggers when a new email arrives in a shared mailbox. The purpose of the flow is to create a Planner Task and assign it automatically to a Team Member on a "round robin" system.
The end result is all incoming emails end up as a Planner Task and are evenly distributed out amongst the team.
It's working perfectly except in one scenario - When more than one email is received at the same time (by same time it's within the same minute) When this happens it triggers multiple flow runs concurrently, not allowing enough time for a step in the flow to execute which is causing the rotation between team members to fail, with one team member being assigned all the emails that arrived "at the same time".
I am at a loss on how to stop this from happening and make each email completely run through the flow before the next one is processed in the run queue.
Any help would be greatly appreciated.