cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bsmith736464
Helper I
Helper I

Separate List from Microsoft Form

I need expertise in guiding me in the right direction. I have a text box in Microsoft Forms that users can copy and paste a list of email addresses (ie, email1@microsoft.com, email2@microsoft.com email3@microsoft.com email4@microsoft.com) and my flow is setup to do an "Apply to Each" for each email address however I am having trouble figuring out how to parse and separate each email address from the string so that I can run the flow on each address.

 

Any help would be greatly appreciated.

1 REPLY 1
Paulie78
Super User III
Super User III

You can use the split expression to create an array of addresses based on a delimiter. But if the input is just a plain text field it is unlikely to be reliable as the person filling in the form may insert the data in the wrong format. But if you could ensure the correct format it would be as simple as:

split(variables('varContainingEmailAddresses),',')

Example expression is using a comma as the delimiter.

 

Please...
If I answered your question Accept it as a solution ✔️ 

If I helped you out, please give me some Kudos 👍

Thanks 😙

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (38,801)