Expand my Community achievements bar.

SOLVED

Consolidate a list of email addresses from many output bundles

Avatar

Level 10

Hi Fusion Community,

 

I have both Search and Iterator modules that produce many bundles.  Within each bundle a user email address is contained.  Bundles might have the same user email address or different ones. 

NickVa1_0-1738881330235.png

 

 

I'd like to produce a list of unique email addresses from these bundles.  Ideally the resultant module has one bundle with a list of unique email addresses.

 

Anyone know how I can do this?
Thanks!
Nick

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You can do the same trick here as in your other post, Nick. If you can get your source information into a single array, like if you use a custom api call instead of the native one, you can use the deduplicate(map({your array};emailAddr))

View solution in original post

5 Replies

Avatar

Level 2

Heya! So, to confirm, is the output result you're looking for just one big list of emails versus the separated bundles? So something like: email@email.com, email1@email.com, email2@email.com ?

Avatar

Level 10

Hey @Pan_Shahbazian - yup, ideally that would be great.

Avatar

Level 2

Gotcha -- If that's the case then, my initial thought here would be to use the Array Aggregator module and then deduplicate() to remove the duplicative values from the list.

Avatar

Correct answer by
Community Advisor

You can do the same trick here as in your other post, Nick. If you can get your source information into a single array, like if you use a custom api call instead of the native one, you can use the deduplicate(map({your array};emailAddr))

Avatar

Level 10

Thanks, Chris.