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 / Can I set a specific d...
Power Automate
Unanswered

Can I set a specific domain for the FROM field for incoming emails flow

(0) ShareShare
ReportReport
Posted on by 2

Hello all,

 

Just want to preface this question I am new to Power Automate, so I'm sorry if this is straight forward, I couldn't find any posts for this type of question.

 

My email trigger for my flow the "From" field, is there a way to set to just the domain of the email address like @gmail.com for john.doe@gmail.com. I want to filter my trigger for a flow for all incoming emails from a certain email address format like all @yahoo.com or @fedex.com etc.

 

I tried entering %@gmail.com, and *@gmail.com, and the trigger didn't work for either. 

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

    Hi @LittleKidLover,

    what trigger your talking about? 

  • LittleKidLover Profile Picture
    2 on at
    Sorry should've mentioned what I was using...  "On new email with attachment" - for Outlook
     
    I did try Condition "Check from email address" and in advanced mode did this: @contains(triggerBody()?['from'], '@gmail.com')
    and for some reason it's not working, test says it ran successfully, but my attachment never saves to my SharePoint.
     
    My main task I want to do is:
    Setup 1 flow, with maybe 25 different FROM email formats(@fedex.com, @UPS.com, @gmail.com, etc.) when a specific email is sent to me from each email format, Power Automate will save each corresponding email to a specific SharePoint folder path, and overwrite any files with the same naming convention, and put the previous file that was in that SharePoint folder path into an Archive folder. 
     
    I know it's a lot, but is this doable you think?
  • VictorIvanidze Profile Picture
    13,073 on at

    Yes that's doable.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard