Automate DOCX to PDF Conversion with n8n HTTP Request Node

Struggling with manual DOCX to PDF conversions that waste time and introduce errors? This n8n workflow automates file conversion using ConvertAPI, saving hours and ensuring consistent document formats effortlessly.
manualTrigger
httpRequest
readWriteFile
+2
Workflow Identifier: 2467
NODES in Use: Manual Trigger, Set, HTTP Request, Read/Write Files from Disk, Sticky Note

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow turns DOCX files into PDFs automatically using the ConvertAPI service.
It solves the problem of slow and error-prone manual conversions.
Users get a PDF file saved on local disk with the click of a button.

The workflow pulls a DOCX file from a set web address.
It sends the file to ConvertAPI, asking to make a PDF.
The API sends back the PDF file.
The workflow saves the PDF on your local machine with a simple name like “document.pdf”.

You can swap input files easily by changing just one URL in a Config node.
Security is handled by attaching ConvertAPI secrets safely with every request.


Tools and Services Used

  • n8n automation platform: Runs the workflow and connects nodes.
  • ConvertAPI service: Converts DOCX files to PDF securely.
  • HTTP Request node with Query Auth: Sends files and attaches secret keys.
  • Read/Write Files from Disk node: Saves the final PDF on your machine.


Inputs, Processing Steps, and Output

Inputs

  • DOCX file located at a public URL set in the Config node.
  • User triggers workflow manually or by events in n8n.

Processing Steps

  1. Start with the Manual Trigger node.
  2. Use the Config node to hold the URL of the DOCX file.
  3. Pass the URL to HTTP Request node that calls ConvertAPI to convert DOCX to PDF with authentication.
  4. Receive the converted PDF in binary form from the HTTP Request node.
  5. Write the PDF file to local disk using the Read/Write Files from Disk node.

Output

A PDF file called “document.pdf” saved on the local disk of the machine running n8n.


Who Should Use This Workflow

This workflow is best for people needing fast and reliable DOCX to PDF conversion.
Non-technical users can change the file link without code.
Anyone with a ConvertAPI account and local disk writing ability benefits.
Self-host n8n users can find help at self-host n8n.


Beginner Step-by-Step: How to Use This Workflow in Production Inside n8n

Step 1: Download the Workflow File

  1. Click the Download button on this page to save the workflow JSON file.

Step 2: Import Workflow Into n8n

  1. Open your n8n editor.
  2. Use the “Import from File” option to upload the downloaded JSON.

Step 3: Configure Workflow Details

  1. Open the Config node and change the url_to_file value to your DOCX file’s URL.
  2. In the HTTP Request node, add your ConvertAPI secret in the Query Auth credentials.
  3. If needed, update file names or paths in the Read/Write Files from Disk node.

Step 4: Test the Workflow

  1. Click “Execute Workflow” to run once and check if PDF file saves correctly.

Step 5: Activate Workflow for Regular Use

  1. Toggle the workflow’s Active switch to “On”.
  2. Set a trigger if desired or run manually as needed.


Common Failures and Troubleshooting

  • 401 Unauthorized Error
    Cause: Wrong or missing ConvertAPI secret.
    Fix: Check Query Auth credentials in n8n and update API Key.
  • Broken or Missing PDF File
    Cause: Invalid DOCX file URL or no file at URL.
    Fix: Verify URL is correct and publicly accessible by opening in a browser.
  • File Not Saved to Disk
    Cause: Wrong binary data property set in Read/Write Files node.
    Fix: Confirm dataPropertyName matches output binary property from HTTP Request (usually “data”).


Customization Ideas

  • Change url_to_file inside the Config node to convert different DOCX files.
  • Rename the saved PDF by changing fileName in Read/Write Files from Disk.
  • Convert other file types by editing the HTTP Request URL, e.g., PPTX to PDF.
  • Add error handling nodes like Function or IF after HTTP Request for smooth failure response.
  • Use cloud storage nodes instead of local file writing to save PDFs online.


Summary and Result

By running this workflow, users:

✓ Save time converting DOCX to PDF files.
✓ Reduce human errors in file management.
✓ Easily update input files without code.
✓ Generate consistently formatted PDF reports.
✓ Automate a repetitive manual process with little effort.


Frequently Asked Questions

Yes. Changing the HTTP Request node URL to a supported ConvertAPI endpoint lets users convert other file types like PPTX to PDF.
By default, the workflow saves PDF files locally on the machine where n8n runs.
Using incorrect or missing ConvertAPI secret in the HTTP Request node’s Query Auth causes 401 Unauthorized errors.
Users can update the DOCX file URL in the Config node’s url_to_file parameter to change the file for conversion.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free