cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (18,867)