Hi Community!,
I’m very new to this and had a lot of help from ChatGPT to set this up so I may be missing something obvious.
I have the below flow set up. It triggers a web scraper then checks for duplicates before creating a JSON prompt for OpenAI and then populates a Google sheet with the data and AI responses. I want to also get this data sent to me by email which I have been able to do however it sends me multiple emails instead of all the the data in one email.
I have added and array aggregator and text aggregator but I just can’t seem to send one email. Each time it runs its just runs straight through to the email module and doesn’t aggregrate. Any help would be greatly appreciated!!!
Flow
(ignore the caution over HTTP. This is due to force stopping the run.)
Parse JSON
Array Agg
Text Agg
Email Module
UPDATE:
I’ve figured out after reading some posts that the issue with multiple emails is solved by setting the source module for the Array Agg to the iterator or my HTTP1. I’ve done this and now the aggregator is waiting to receivev all bundles before processing and I am now getting just one email.
HOWEVER! the email I am getting is only including one data set instead all of them collated into one email.
I have a text aggregator receiving from the array aggregator and it has the array as the source module. Is this correct? If not the only other option available is the HTTP1 module but I have tried this too and the result is the same.
I think the aggregator is working correctly but the text aggregator only seems to be seeing one result from its input. How do I fix this please???
Here are the results
FIXED IT!
The issue was that I had two aggregators. The array aggregator wasn’t necessary and once removed it works perfectly
1 Like