cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dcc77
Frequent Visitor

Save pdf only email attachment to OneDrive with 2 conditions

Hi all,

This should be straight forward but it's' not doing what it's meant to do.

I'd like to save only pdf attachments from email to onedrive where body of email has certain words (eg invoice, RCTI....)

The big picture is saving invoices, statements, RCTI pdf attachments that come in on email to a onedrive folder.

However, it's still saving jpeg, png from peoples signatures on email etc.

Also, is there a way to only add date stamp to the file name instead of "Received" which includes the time as well and makes for a very lengthy file name?

Help please!  Many thanks 🙂

 

dcc77_3-1656019847696.png

 

dcc77_2-1656019718570.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @dcc77 ,

 

The logic should be as follows:

vjefferni_0-1656322232815.png

 

In order to add time stamp as the file name, you can leverage the expression of utcNow()/Today() for the file name property of Create file action.

vjefferni_1-1656322489733.png

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
dcc77
Frequent Visitor

Anyone??

v-jefferni
Community Support
Community Support

Hi @dcc77 ,

 

The logic should be as follows:

vjefferni_0-1656322232815.png

 

In order to add time stamp as the file name, you can leverage the expression of utcNow()/Today() for the file name property of Create file action.

vjefferni_1-1656322489733.png

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

dcc77
Frequent Visitor

Thanks very much v-jefferni!!  Greatly appreciated!!  It worked 🙂

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,673)