Consolidate a list of email addresses from many output bundles | Community
Skip to main content
New Participant
February 6, 2025
Solved

Consolidate a list of email addresses from many output bundles

  • February 6, 2025
  • 2 replies
  • 740 views

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. 

 

 

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

Best answer by ChrisStephens

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))

2 replies

ChrisStephens
ChrisStephensAccepted solution
New Participant
February 19, 2025

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))

NickVa7Author
New Participant
February 19, 2025

Thanks, Chris.

Pan_Shahbazian
New Participant
February 7, 2025

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 ?

NickVa7Author
New Participant
February 7, 2025

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

Pan_Shahbazian
New Participant
February 7, 2025

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.