web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating emails from m...
Power Automate
Unanswered

Creating emails from multi-select radio button

(0) ShareShare
ReportReport
Posted on by

Hello, 

I have a microsoft form I am using to trigger an automation that generates a report and sends approval emails to the required personnel. One of the questions asks for the responder's managers. 

 

The hope is to have the question use radio buttons and allow the responder to enter in multiple managers if needed, and then create a variable in power automate to cc the managers to the emails that are sent. 

 

Here is my current flow: 

2 initialized variables--

a. the email url-- "@company.com"

b. the selected managers. The format of the names comes in with brackets and quotes. E.G., John Smith and Karen Smith will come in displayed as ["John Smith","Karen Smith"]

 

The flow

1. takes entries from the question "Manager",

2. removes the quotes and brackets from the response details

3. adds a period for the email (i.e. creates the variable first.lastname),

4. concat to create email first.last@company.com  

 

This solution works when only 1 name is selected, but when 2 are selected the dynamic output that generates in the email 'TO' field is something like: karen.smith,john.smith@company.com-- not all names get the @company.com url. 

 

Any insights into what I can add to our flow so that each name gets formatted properly into an email address?

 

Screenshot 2024-05-15 145204.png 

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @amcmann 

    According to your description, in my understanding you want to convert ["John Smith","Karen Smith"] to karen.smith@company.com;john.smith@company.com right?

    This is my test flow , you can refer to :

    vyueyunmsft_0-1715822595478.png

     

    vyueyunmsft_1-1715822646495.png

    json(variables('manager'))
    concat( toLower(split( item() , ' ')[0]),'.',toLower(split( item() , ' ')[1]) , '@company.com')
    join(body('Select'),';')

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard