Hello @jpduchesneau,
Instead of Array Aggregator use Text Aggregator to combine all mail content in a single string with proper context.
When you directly pass the Aggregated array result to GPT they consider it as a collection instead of a string. That’s why GPT can’t understand the context.
Another very important thing is to give proper context to your GTP prompt. Also, tell them this is my type of input and I need output in this specific format.
The prompt is always a combination of Input, Process and Output.
P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions and give If you need expert help or have questions? Contact or comment below!
That was really helpful! It’s working fine now with the Text Aggregator.
As for the context, you are absolutely right. I had them but removed them when I tried to do troubleshooting. I included a proper Input, Process and Output setup.