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 / 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
    12,970 Super User 2025 Season 2 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

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard