How to Repeat only part of a scenario

Hi everyone,

I’m trying to figure out a way to repeat a section of my scenario and still have it continue after this is complete. I’m assuming I need a “Repeater” module but I’m not familiar with how these work.

In my scenario it does the following:

  • Watches a google drive folder for new file
  • downloads the file
  • It gets extracted by ChatGPT Assistsants
  • extracted info is added to a spreadsheet

Once the spreadsheet is complete (all new rows are added) it will later be downlaoded and sent in an email.

I need the section from “Watch files” to “Add a row” Spreadsheet to repeat as many times as there are new files retrieved from the “Watch folder” module and then continue after the flow after this is done.

Hope this makes sense!

Thanks

You’ll just need an Array Aggregator module where you want the scenario to go back to your trigger module.

cf0102c76cdae97b4c8b925dc953218fe4e340f8

Then, in the Array Aggregator “Source Module” field, select the trigger module.

Hope this helps! Let me know if there are any further questions or issues.

You can also join us in the Make Fans Discord server to chat with other makers!

3 Likes

Oh … much simpler than I thought! So this will just repeat that specific section of the scenario the same amount of times as files that the “Watch files in folder” Module retrieves?

Thanks for your quick response and help! Much appreciated

Yes. Let me know if there are any further questions or issues.

You can also join us in the Make Fans Discord server to chat with other makers!