What is your goal?
Send a single complete message to whatsapp through HTTP instead of multiple separate messages with one operation each.
What is the problem & what have you tried?
I have an iterator that creates one separated operation for each value on a list and I am trying to use the aggregator to combine those operations into one.
Iterator …
Operation 1.- Result A
Operation 2.- Result B
Operation 3.- Result C
I need one object with …
Result A - Result B - Result C
Can someone help me to figure it out? I also tried Array Aggregator and couldn’t make it work.
Here an image for better reference.
Hey Guillermo,
the iterator accepts an array as input and creates a separate bundle for each value in that array.
In your screenshot you don’t have an array. So the iterator didn’t do anything.
Find out which module is producing the extra bundles and put that as the source module of the text aggregator. The module is somewhere on the left of what’s in the screenshot.
Thank you Stoyan for taking the time to respond. I was on the seminar were you presented few weeks ago. Was great.
In this case I have an scenario that performs various deterministic analysis for calendar days identification from a note received from customer, AI Agent translate in week days and scenario review potential slots in a 7 day window (morning and afternoon). So information travels through the scenario as single day\time and G Calendar review availability on a From - to date/time range and comes back with busy/free slots. I tried to turn it into an Array using Array Aggregator but didn’t work. Would you have any suggestion?
You want to receive one message at the end right?
Then you need to change the source module of the text aggregator to the first iterator right after the AI agent.
2 Likes
Man … I should have asked you 2 days ago!!! It worked!!! Thanks a lot!!!
2 Likes