Auto-Convert OneDrive Word Documents to PDF with Foxit and Send via Gmail
## This n8n template demonstrates how to add a document conversion process to incoming Word documents in a OneDrive folder. Documents are converted to PDF and emailed to a reviewer. Use cases would be environments where incoming documents are dropped into cloud storage and a human needs to review them. By converting to PDF, it becomes easier to read in a consistent format in the browser. ## How it works - Listen for new files added in a OneDrive folder, identified by an ID - Download the bits of the new document if the file was a Microsoft Word document (the API I'm using can convert any Office document, but wanted to start simple) - Upload to Foxit's API service, convert to PDF, and download when done - Use Gmail to mail the PDF to a human reviewer. ## How to use - You'll need to determine a OneDrive folder ID to monitor, or select an entire account instead, just be careful when testing. - When the workflow is done, it emails to myself, so please connect your own Gmail and set a preferred email address for testing. ## Requirements - A Microsoft OneDrive account - Foxit developer account (https://developer-api.foxit.com) - A Gmail account - At least one Word document - we all have that, right? ## Next Steps This workflow could be modified to work with any Office-style document, and could also upload the PDF version back to OneDrive.
- Platform
- n8n
- Category
- File & Document Management
- Price
- $9.99
- Creator
- Raymond Camden
- Conversion
- Foxit
- if
- set
- wait
- gmail
- filter
- stickyNote
- httpRequest
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
- Convert Files to Markdown with Datalab.to API in n8n$9.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.