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 / Retrieve email address...
Power Automate
Answered

Retrieve email addresses for an Approval, based on a free text field

(0) ShareShare
ReportReport
Posted on by 17

Hello everyone! First time poster, fairly new to the Power Platform, so 🤞... 

 

I've had a flow up and running for some time, that takes info from a MS Form and kicks off a series of Approvals based on the responses, recording them along the way. Pretty straightforward, but filtering is complicated with about 30 conditions built in. I would like to replace the filtering conditions with, e.g. a lookup, that returns an email address that is then used for the Approval.

 

There are over 50 emails that could receive the Approval. And I want the addresses to be hidden - so things like a drop down list won't work (would be too long anyway!) Therefore I'm exploring whether it's possible to use a free text field that will determine where the Approval is sent. Overview:

  • Applicant fills out a form (using MS Forms) and enters criteria into a free text field
  • The flow checks that free text against a list (SP or Excel) and returns a full email address
  • That email address should be accessible in Dynamic Content
  • An Approval is then sent to that email address

For example:

  • Applicant fills the free text field with any of roads, cars, truck, trucks, bike etc
  • The flow then looks up a row on a SP list that contains all of these words, and finds a corresponding email address, e.g. highways@npsc.com
  • highways@npsc.com is then auto-populated as the recipient for an Approval action

I realise there are other possibilities to achieve this, such as drop down lists, departmental level filtering and so on - but none of them are particularly viable for us. If anyone knows how this could be achieved, it would be much appreciated!

 

Thanks,

Neil S

Categories:
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @PuppetFace ,

     

     

    Could you please tell me:

     
    Do you want to filter in SharePoint and get the email address based on the response from MS Form (eg car, truck)?
    Is the text entered by the user and the field of the SharePoint column an equality relationship or an inclusive relationship?
    I'm assuming an equality relationship.
    You can use the get items action to filter the email address according to the answer in the filter query. 
    I have made a test for your reference:
    1. This is my Form. 
    vliweimsft_0-1658470760334.png

     


    2. This is my SharePoint list, the Title column contains car, truck, etc., and the email contains email addresses.
     
    vliweimsft_1-1658470760336.png

     


    3.
    vliweimsft_2-1658470760339.png

     


    vliweimsft_3-1658470760342.png

     

     

    Best Regards,

    Levi

     

  • Verified answer
    PuppetFace Profile Picture
    17 on at

    Thank you Levi, that has worked a treat!

  • kkb5540 Profile Picture
    2 on at

    Hello. What if I want the user (who is filling out the form - an application) to fill-in the approver's email on the form and send a copy of the form they complete  to the email address which they put on the form, and also add that person (as indicated by the email address) as the approver. Is there a way that I can perform this? Can there be a form for the approver to fill out? Or can they just approve or disapprove? The audience that we get applications from is over 60,000 people and the approver is their supervisor. There is no way to know this in advance. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard