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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 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.

Users online (4,424)