Open AI module loops itself

Hey everyone, im trying to build myself a automation using openai module, everything works fine, but it constantly reruns itself over and over again. I set it to run once on specific date, set number of completions of both module and whole sequence to 1, when i tested it it got to 7 completions, so i force stopped it.

Welcome to the Make community!

Every result (item/record) from a search module will output a bundle. Each bundle will run a module once. To “combine” them into a single bundle, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.

If you need further assistance,

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

2 Likes

hanks for reply, but the problem isn’t that open ai module runs only itself, but whole automation runs in loop starting from open ai module and sends me constant emails, the most was seven, but if i wouldn’t stopped it, it would probably just run for infinite amount of times. I think that array aggregator won’t help, becouse it reruns single operation but forever. I can export file with automation and post here if you think it would help