I’m trying to send an email with the Sendgrid module.
I’m triggering the scenario with a semi-colon separated list of email addresses and want to add them to the Copy Recipient field as a mapped array. I’ve been getting an error about the Copy Recipient field. Help?
Hi @Parker_Smith,
Your array is not formated correctly for Sendgrid CC field. The easiest way to do this is using the array aggregator.
- Create your array using your split function like you did
- iterate that array with an iterator
- aggregate that array using an aggregator. Select the option “Target Structure Type” and then " Copy recipient". Map the email field using the output from the iterator
- add the array generated by your aggregator on the Sendgrid CC field
See screenshot below for more details
2.
3.
4.
2 Likes
that worked
thank you.
and now I know how to use iterators and aggregators.
but what do you call a crocodile detective? an investigator!
ha.
thanks again!
3 Likes
Ahhh, dad jokes, my favourite
Welcome to the community @Parker_Smith
It’s fantastic to see that you’re already making the most of it. Looking forward to hearing more jokes from you!
1 Like