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 / When a Email arrives V...
Power Automate
Suggested Answer

When a Email arrives V3 - Trigger parameter From - with 'or' instead 'any'

(0) ShareShare
ReportReport
Posted on by 2
Hi there, 
how can i modify the Trigger in When a new email arrives (V3):
 If in the From field are more than one Mail address , it will trigger only if 'any' mailaddresses will be in the mail, the trigger will work.
Is there a way to change, that the trigger will work with an 'or', so if one of the placed mailadresses in the from field is matching, the trigger will du his job ?
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at
    You will format the trigger condition like this if you want it to trigger for multiple e-mail addresses: @or(equals(triggerOutputs()?['headers']?['From'], 'donald.duck@disney.com'), equals(triggerOutputs()?['headers']?['From'], 'mickey.mouse@disney.com'), equals(triggerOutputs()?['headers']?['From'], 'snow.white@disney.com'))
     
    However, an e-mail cannot have more than one sender. Did you mean to say if the "to" field has more than one e-mail address?
  • CU29010937-0 Profile Picture
    2 on at
    Hi David, 
    thank you for your answer, even i am not a technican, with the proffession to know, where i have to put in the  Code.
    May you have a screenshot for me, where i have to put in the screenshot.
     
    I agree, that a mail can not have more than one sender, this is not the case.
     
    The task i wand to build:
    If a Mail from  abc@abc.com OR a mail from BCC@bcc.com OR a mal from CCC@ccc.com comes to a specific Mailbox like office@123.com  
    then, store the attachment to a sharepoint online.
     
    Thank you for supporting me!
    Regards
    Adamo
     

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 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard