Hello everybody,
I have an application where the user uploads a file, and I want to create a flow that detects the extension of the file, if it is in pdf format it converts it into an image.
(The files are stored in a table at sharepoint)
How can I do this?
@Sundeep_Malik 's suggestion is a good one. The Reservation I have is storing confidential files temporarily in onedrive of the account that is used to establish the connection. Like Sundeep.said, check with the customer first
Hey @gikido
There is a free way to convert pdf to image.
Not sure if customer will give permission or not.
Firstly save your file in one drive for business.
You can do it using create file.
After this use convert file action, in the target type give jpg.
Then you can use create file action of one drive or sharepoint wherever you want the end file to be saved at.
Then you can just delete the file from one drive, if you dont want to store it in one drive.
I hope this helps 🙂
Unfortunately not, but you can vote for this feature.
Convert PDF to Text / Table / Image · Community (powerautomate.com)
Thank you
for converting pdf to image files is there no free solution? is it mandatory to use premium connectors?
@gikido ,
You can build a flow that triggers on File uploaded trigger.
You can retrieve the File Extension using the following expression
last(split(triggerOutputs()?['body/{FilenameWithExtension}'],'.'))
Finally, you need to use a third-party connector to convert the file into an image. Here is one
Convert a PDF file to images with Power Automate — Encodian
No, the customer wants a solution without these two connectors. in addition there is no predefined document, the user can upload a different file each time
Thanks for your response
1- user upload file for signature
2- I want to convert pdf to image because I have not found a solution to sign pdf for image yes
3- I require the pdf to contain only one page
@gikido , Need more info
What application is the user uploading to?
Why do you want to convert PDF to image?
What if your PDF has multiple pages?
Pstork1
20
Most Valuable Professional
Gprior
19
stampcoin
16