Convert doc / docx to pdf

Hi all,
How could I convert an uploaded doc / docx to pdf using the google drive functions? Tried with uploading, downloading functions, etc - but the Web View Link is empty for example.

I know how to do this when the input is google doc, but the same doesn’t word with docx…

Thanks!

Hello @karla,

When you use Google Drive Download a File module, you can select PDF in the “Convert Google Documents Files to Format” dropdown under Advanced settings:

2 Likes

Hi @Donald_Mitchell - Thanks for the hint, but this is exactly what we did and it’s not working. The document that needs to be converted is not a Google Doc, its a docx. With the Google Doc - it works 100%. But with the docx - no…

none of these seem to work:

Have you tried converting it to Google Doc format after upload?
Google Drive Upload a File (Show Advanced Settings → Convert a File = Yes → Target Google File Type = application/vnd.google-apps.document)?

Then, maybe you will be able to download as PDF?

1 Like

The Google Docs/Sheets exports links are as follows:

https://docs.google.com/spreadsheets/<file_id>/export?format=pdf
https://docs.google.com/document/<file_id>/export?format=pdf

Use the HTTP “Get a File” module with these links.

Screenshot

Screenshot_2024-04-30_230439

Output

Folder link to view the files: Document Export Test - Google Drive

Screenshot_2024-04-30_230457

Real DOC and DOCX files used:

Screenshot_2024-04-30_230436

Screenshot_2024-04-30_230447

samliewrequest private consultation

Join the Make unofficial Discord server!

1 Like

Hi,
How you made it work?
Not working on mine.
Thanks

Hello @JotG and welcome to the Make Community!

This topic has already been solved.
Since you have a new question, and it’s related to this topic, please post your request in a new topic and, optionally, refer back to this topic by providing a link for reference.

Please see Guidelines and Do’s and Don’ts for more information.

Thank you!

3 Likes