Pausing a Scenario in the middle of it to allow it to finish before moving on

I have a scenario that gets emails, goes through an OpenAI Completion, adds content to a doc and does similar things throughout.

However, I need the scenario to finish getting all of the emails and going through the OpenAI Completion and adding that content to the doc BEFORE moving on throughout the other modules. I need all of these on 1 scenario because the last one references the google doc created.

I tried to add a sleep module, but that didn’t work. I really just need it to pause for like 2 minutes to finish and then move on.

Is there an easy fix for this?

Hey Samantha,

add an aggregator module before that step. This way it will essentially wait for everything before the aggregator to be done, before executing anything after it.