Clickup iteartor more than one asignees/watchers

Hi I´m trying a flow where everyone assigned and watchers of a task un Clickup will get notified when a new comments is posted. Problem is when there is more than one assigned or watchers it only filters the 1st ID that is found.

(I´m new in programming)

This is the flow I built:

In the agreggator I do see that there are 3 Clickup ID user under the field of Watchers, however the Iterator is using just the 1st one:
Output of the array:

this is the input of the iterator:

it only got the 1st ID but not the other 2. To my, no programming knowledge, is because the 3 Ids are inside a “subfield” inside the watchers, but I´m completly lost on how to fix it

Any help would be appreciate!!

Hey Shivagam,

you need to Iterate on the Watchers array so you get separate bundles for each watcher. Then you can notify them individually.

thanks but when I do that I get the same problem, just iterates the 1st one, not every watcher

Can you show some screenshots of what you have setup at the moment? What array you are mapping exactly and what is the result?



here you can see the set up of the array and the iterator

thanks

You dont need the aggregator, the Watchers variable coming form the Get a Task module is already an array.

You are mapping only the first item from the array in the iterator, of course you will get only one item as a result.

Delete the aggregator module and map the entire Watchers array in the iterator to get them one bundle at a time.

Bfff!!! you know when you try so many options that you get lost? well that was what happened to me, I was 100% sure I have tried just the iterator but that is the solution, it worked perfectly, thanks for your support!!