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 / VLOOKUP substitute for...
Power Automate
Suggested Answer

VLOOKUP substitute for Lists, plus send an email to one of the resulting people

(1) ShareShare
ReportReport
Posted on by 13
I have a Microsoft List that is used to intake work items through a form.
 
I would like to use PowerAutomate to assign values to some of the fields in the item based on other fields, just like VLOOKUP in Excel. Most importantly, I want it to assign the work item to the right person. Then I need it to send a custom email to notify the person to whom the work is assigned.
 
I was able to do this fairly easily using rules, but then I can't use a rule to send a custom email notification to the person to whom the item is assigned. And it appears that if I use a rule to assign the work item to a person, the results of the rule can't trigger a PowerAutomate Flow. Not to mention, I end up over the 15 maximum allowable rules.
 
I'm surprised I haven't found a solution to this already. I understand I need a separate list for PowerAutomate to reference, and I have that set up (see "Dummy Xreference" screenshot). I think I need to use "update item" and "send an email (v2).
 
I attached a couple screenshots just to use as example Lists. Thanks for any help.
Screenshot 2026-02-26 162056.png
Screenshot 2026-02-26 160917.png
Categories:
I have the same question (0)
  • Suggested answer
    MParikh Profile Picture
    521 Super User 2026 Season 1 on at

    Hi,

    Yes, this is doable. The key is to stop relying on the List rules for the assignment and do the whole VLOOKUP and the notification in one Power Automate flow.
    You have an intake list where you get a new item in the form.


    You want to perform a lookup in the reference list based on the Location and FoodType, then set the ‘Assigned To’ (person) field in the intake list, and then send a custom email to the assigned person.


    You can use the rules to assign the value, but you cannot chain the custom email off the rule result in any reliable fashion. Also, you cannot scale beyond the rule limit.


    You can use a small ‘mapping’ reference list, use the ‘Get items’ action in the flow with an OData Filter Query (your VLOOKUP), take the first result, update the ‘Assigned To’ in the intake list, then send the custom email to the person in the ‘Assigned To’ field.

    Adding a couple of helper values as an example.

    Compose, AssignedPersonEmail
    first(body('Get_items')?['value'])?['AssignedTo']?['Email']
    
    Compose, AssignedPersonClaims
    first(body('Get_items')?['value'])?['AssignedTo']?['Claims']
    
    Compose, SupervisorClaims (if you also set supervisor)
    first(body('Get_items')?['value'])?['LocationSupervisor']?['Claims']

    Thank you! 
    Proud to be a Super User!
    📩 Need more help?
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping
  • LS-05052252-0 Profile Picture
    13 on at
    I'm stuck on the OData filter query. I don't see "OData filter query" or "get items" as options in the actions. How would I then link that action to the mapping reference list?
     
    Where do those "compose" steps come in? after the OData Filter Query, and before a "send an email" action?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard