cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dutt_v
Regular Visitor

Only processing emails coming from a certain adresss

Hello

 

Under "When a a new email arrives (V3)", in the "FROM" field I want to specify that the flow should only be run if an email comes from a certain ending address (ie: the value after the @ sign).

 

Example - I only want my flow to run if the FROM email is from "@hotmail.com".  

 

Is there some sort of a wildcard that I can use (like "*@hotmail.com")?

 

Thanks in advance for any assistance.

1 ACCEPTED SOLUTION

Accepted Solutions
MarconettiMarco
Super User
Super User

Hello @dutt_v ,

in the trigger conditions please add this expression:

 

 

@not(endsWith(triggerOutputs()?['body/from'],'@hotmail.com'))

 


 

If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

View solution in original post

1 REPLY 1
MarconettiMarco
Super User
Super User

Hello @dutt_v ,

in the trigger conditions please add this expression:

 

 

@not(endsWith(triggerOutputs()?['body/from'],'@hotmail.com'))

 


 

If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,037)