Skip to main content
Level 9
Feb 6, 2025 10:37 PM UTC
Solved

Consolidate a list of email addresses from many output bundles

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

ChrisStephens
ChrisStephensAccepted solution
New Participant
Feb 19, 2025 1:48 AM UTC

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

5 replies

ChrisStephens
ChrisStephensAccepted solution
New Participant
Feb 19, 2025 1:48 AM UTC

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

Translate
NickVa7Author
Level 9
Feb 19, 2025 2:18 PM UTC

Thanks, Chris.

Translate
Pan_Shahbazian
Level 2
Feb 7, 2025 1:37 AM UTC

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 ?

Translate
NickVa7Author
Level 9
Feb 7, 2025 3:06 AM UTC

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

Translate
Pan_Shahbazian
Level 2
Feb 7, 2025 3:23 AM UTC

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.

Translate