Auto-Convert OneDrive Word Documents to PDF with Foxit and Send via Gmail - n8n Workflow | Neura Market
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
Free
Creator
Raymond Camden
PDF
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.