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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Forward an email with ...
Power Automate
Unanswered

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,073 on at

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

  • Verified answer
    v-LilyW-msft Profile Picture
    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard