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

Convert and Move Attachment from Email

Hello,

I'm trying to build a flow that will take attachments from email sent to a specific mailbox (folder within my inbox) then convert them from PDFs to JPGs and move the converted file to a sharepoint document folder. This is what I have

 

moraleseder_0-1659626503178.png

The "Convert File" step keeps failing, with there error message: The file id '(file id name)' is not valid.

 

moraleseder_1-1659626613163.png

 

Anyone have any experiencing building a similar flow? Thanks!

 

3 REPLIES 3
ChristianAbata
Super User
Super User

hi @moraleseder  the problem is because you need to pass the Path of the file. 

So first create the file using the file name and the file content (Temporary) and then you can convert and move.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Thank you for the response!

So this is what I have

moraleseder_0-1659628660160.png

 

Under the "Create File" action, what would be the folder path? And under the "Convert File" action, what would I use in the "File" field?

the id from create file

ChristianAbata_0-1659628856234.png

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,997)