cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ramanan89
Helper III
Helper III

Send mail to only first mail in the list

Hi,

I am having a flow which sends mail when there is a modification in the list to the Creator of the item. There is field in the item which contains 3-4 mail addresses called "secondary". I need to send mail (in cc) to only one user (first mail id in the "secondary" field) in the item. Is there anyway to do it ? Please help. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User
Dual Super User

@ramanan89 

you can use a compose data action and use the split function as below:

 

Expression in the Compose Data Action: 

split(variables('Emails'),';')[0]

Mira_Ghaly_1-1602742321231.png

 

 

 

Mira_Ghaly_0-1602742287734.png

 

Hope this helps!

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User
Dual Super User

@ramanan89 

you can use a compose data action and use the split function as below:

 

Expression in the Compose Data Action: 

split(variables('Emails'),';')[0]

Mira_Ghaly_1-1602742321231.png

 

 

 

Mira_Ghaly_0-1602742287734.png

 

Hope this helps!

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

This works. Thank you 🙂

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,902)