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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Initialize & Set Varia...
Power Automate
Answered

Initialize & Set Variable Issues

(1) ShareShare
ReportReport
Posted on by 36

I am running an approval flow through Power Automate but struggling with a specific step. Essentially, based on the region of the account request, that will dictate to whom the approval request should go. Using the switch function, I am trying to send an approval request to the correct person. Why is it so hard to create an approval flow based on an answer given on forms? Please help!

Screenshot 2023-07-22 at 7.46.57 PM.png
Screenshot 2023-07-22 at 7.46.20 PM.png
Screenshot 2023-07-22 at 7.46.03 PM.png
Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    15,915 Super User 2026 Season 1 on at

    Hi @doon0969 ,

     

    Here's an example I hope helps you!  Please mark as a solution to help others find it quickly too!  Always glad to help! Tom

     

    trice602_4-1690080486004.png

     

     

    trice602_0-1690080280027.png

    I've expanded the steps to see all the input:

     

    trice602_1-1690080331510.png

     

    trice602_2-1690080385247.png

     

    trice602_3-1690080416405.png

     

     

  • doon0969 Profile Picture
    36 on at

    Thanks, this worked! But what if I need multiple people listed as an approver? Like, region1@somewhere.com and region11@somewhere.com? Would there have to be various set variables?

  • Verified answer
    trice602 Profile Picture
    15,915 Super User 2026 Season 1 on at

    Hi @doon0969 ,

     

    That's awesome!  Please mark as a solution and give me a thumbs up (I'm collecting badges) 😁

     

    Ok, so if you have multiple approvers, simply add a semicolon in between email addresses.  Here's an example for region 1:

     

    trice602_0-1690126738921.png

     

  • doon0969 Profile Picture
    36 on at

    Thank you!

  • trice602 Profile Picture
    15,915 Super User 2026 Season 1 on at

    You are most welcome!  I enjoy solving puzzles in my free time here.  Feel free to tag me in future posts, if I know the answer, can provide input, and have time ~ I certainly will respond.  Always glad to help! Tom

  • doon0969 Profile Picture
    36 on at

    I have another question, what if I needed to drill down to the region and country? How would that work? Essentially, the email would need to go to someone based on two answers on the form, not just one. So Region1 and Country1.

  • trice602 Profile Picture
    15,915 Super User 2026 Season 1 on at

    Sure, there are a lot of ways to do that.  One way is to concat your region and country in a variable and then use the existing cases framework.  But an easier way that I would consider is to have the region, country as a single drop down option in your "Select a region" question on the form and then you can skip the concat variable.  Always glad to help!  Tom

  • doon0969 Profile Picture
    36 on at

    Could you show me a step-by-step on how to concat the region and country? Would I concat in value under the initialized variable? Or would I do it on the switch? Also, would I have to create more set variables? Thanks!

  • trice602 Profile Picture
    15,915 Super User 2026 Season 1 on at

    If you can show me what the form looks like when selecting region and country, I can help you.

  • doon0969 Profile Picture
    36 on at

    Here is the form. An approval email will go to someone based on their selected region, then the line of business. For example, if they choose AMER, then SPS, I want power automate to send it to the person responsible for AMER and SPS. 

    doon0969_0-1690218379124.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard