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 / Search in excel colomn...
Power Automate
Answered

Search in excel colomn and send email after

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to create a flow that searches for a specific word in an email. then with a condition, compare the value with an excel column, and send an email if the value is in the column.
I managed to isolate the value in the email, but it's like the flow doesn't identify the value in the condition!
do you have an idea please

 

Snag_1cd01121.png

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @ELYATIM ,

    How many words are you looking up? What words do you need to look up?

     

    Best Regards,

    Sunshine Gu

  • ELYATIM Profile Picture
    10 on at

    actualy it s just one word, i used substring to retreive it. then i want to compare it with excel colomn. but when i ran the flow, it seems that he dont recognize it ! 

    the flow stops here 

    Snag_1cf03289.png

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @ELYATIM ,

    Please check this test:

    My Outlook Email:

    vyetonggumsft_5-1717646216465.png

    My Excel Table:

    vyetonggumsft_7-1717646299162.png

    My Flow Overall Preview:

    vyetonggumsft_2-1717646041650.png

    My Flow Configuration Parameters:

    vyetonggumsft_3-1717646108230.png

    item()?['EMAIL']

    Best Regards,

    Sunshine Gu

  • ELYATIM Profile Picture
    10 on at

    thank you for your reply, it run but blocking at some point ( see picture below ) 

    also im wondering if the value in email is not in excel, what the flow will do ?

     

    Snag_8f07d8.png

    Snag_8f3bc9.png

    Snag_8f59b1.png

    Snag_8f7e31.png

    i dont know why , it give me two 'apply for each !! after i run the flow

  • ELYATIM Profile Picture
    10 on at

    thank you for you reply, 

    i found where's the error, it was lenght of the value i searched. it count a space plus of the value so the condition didn't work 

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @ELYATIM ,

    Did the flow run successfully? If you want to use dynamic content in the email body, use the property in the Filter array instead of clicking on the dynamic content in the list rows present in a table so that you don't loop twice.

    Please use this expression in Email Body:

     

    item()?{'Property']

     

    vyetonggumsft_0-1718164277607.png

    Best Regards,

    Sunshine Gu

     

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 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard