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

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,129)