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 / Forward an email with ...
Power Automate
Answered

Forward an email with attached invoices based on multiple conditions

(0) ShareShare
ReportReport
Posted on by 4

The scenario is that if an email arrives, I want my flow to check the content and sender of the email.

If the email has an attachment, has the word ‘invoice’ in the body of the email or is from a specific sender, I want to forward the email.

I’m having trouble getting my conditions to work. Is there anyone who can give me some pointers?

 

MartinFogelberg_1-1637138336584.png

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,081 on at

    Create a temporary variables for each condition and check what's wrong.

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

    Hi @MartinFogelberg 

    Has your problem been solved?

    If you want to determine whether the email body contains a certain content, you first need to convert the body to text format.

    I set up a flow, you can refer to the screenshots below.

    vLilyWmsft_1-1637555591161.png

    If you add multiple judgment conditions, you can choose Add row directly.

    vLilyWmsft_2-1637555825012.pngvLilyWmsft_0-1637555573748.png

    If you want to Add group condition, please change 'And' to 'Or'.

    vLilyWmsft_4-1637556299767.png

    Please refer to the screenshots above and try again.

     

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

    image.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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard