cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chiu2003
New Member

Power automate - save email attachment to sharepoint but exclude specific email address

Hi all,

 

I need to build a flow for below purpose:

 

1) When email come in to my mail box (with specific email subject), save the attachment and create file to SharePoint.

2) For email with specific recipient (To), ie: if "To" contain you_2001hk@xxx.com or GabrielSulistio@xxx.com.  

     I don't need to save the attachment and only need a email notification. 

 

I have created below flow and it can create file to SharePoint, but the 2) condition is not work.

 

May I know how can I achieve it? Thanks.

 

chiu2003_0-1637293016529.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-chenzhi
Community Support
Community Support

Hi @chiu2003 ,

 

Do you want to check whether the specified email is contained in To?

Could you please tell me whether to create file when to contains both special and non-special emails?

If create file in this case, your method is feasible.

If not, I have a test for your reference, please try the following workaround.

vchenzhi_0-1637563346685.png

 

 

Best Regards,

Zhi Chen

View solution in original post

3 REPLIES 3
v-chenzhi
Community Support
Community Support

Hi @chiu2003 ,

 

Do you want to check whether the specified email is contained in To?

Could you please tell me whether to create file when to contains both special and non-special emails?

If create file in this case, your method is feasible.

If not, I have a test for your reference, please try the following workaround.

vchenzhi_0-1637563346685.png

 

 

Best Regards,

Zhi Chen

@v-chenzhi 

 

Thanks.

 

As email is coming multiple times with different data, but with the same email subject (no different email subject due to system limitation)

 

What I have done is sending different data to different user, that why I need to use "To" to decide which email data to create.

 

For specific user account is included in "To", I need to ignore that email and just sending an email notification.

@v-chenzhi 

 

Thanks. It is working well now.

 

But it seems the speed is a little bit slow.

 

The email come in around 4:05pm, but I can receive the email notification around 4:20PM.

 

Anyways, thanks for your help

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,145)