Skip to main content

Notifications

Community site session details

Community site session details

Session Id : UCvI1oVTB10jHEWagcKFlw
Power Automate - Building Flows
Answered

Send email to multiple recipients based on multiple choice question in MS forms

Like (0) ShareShare
ReportReport
Posted on 30 May 2022 22:19:02 by 32

Hello!

 

I'm working on a flow and am trying to wrap my mind around how I would achieve the following. On my MS form, I have a question that asks "Please select the team(s) to notify" with three options. Users can then select one, two or all of these options.

 

Each team however, has a unique email address.

 

I'm just wondering how I would build this into my flow where, let's say someone selects two of the teams, it can automatically send an email to the addresses for just those which were selected.

 

I was about to build it 100% manually using conditions, but there must be a simpler way I'm thinking.

 

I appreciate any help/advice!

  • Verified answer
    v-liwei-msft Profile Picture
    on 02 Jun 2022 at 08:23:12
    Re: Send email to multiple recipients based on multiple choice question in MS forms

    Hi @crmart1n_mx ,

     
    Could you please tell me if you use the "Choice" to create the question?
    vliweimsft_0-1654158144057.png
     
    When you use "Get response details", the output of "Please select the team(s) to notify" is like this:
     [\"email address1\",\"email address2\"]
    You can use the replace function to remove extra symbols other than email addresses and replace commas with semicolons:
    replace(replace(replace(replace(replace(outputs('Get_response_details')?['body/r97eaf86ec58645fc90e6f74b29b63e42'],'[',''),'\',''),'"',''),']',''),',',';')
    outputs('Get_response_details')?['body/r97eaf86ec58645fc90e6f74b29b63e42'] is the dynamic content: "Please select the team(s) to notify".
     
    I have made a test for your reference:
    vliweimsft_1-1654158144059.png
     
     

     

    Best Regards,

    Levi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 18 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 16

#3
Churchy Profile Picture

Churchy 12

Overall leaderboard
Loading started