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

Consolidate a list of email addresses from many output bundles

  • February 6, 2025
  • 2 replies
  • 742 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
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

Pan_Shahbazian
Level 2
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
Level 9
February 7, 2025

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

Pan_Shahbazian
Level 2
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.

ChrisStephens
Community Advisor
ChrisStephensCommunity AdvisorAccepted solution
Community Advisor
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
Level 9
February 19, 2025

Thanks, Chris.