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 II
Dual Super User II

@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 II
Dual Super User II

@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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,186)