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
Automate DOCX to PDF with n8n and HTTP Request

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

Learn how to Build this Workflow with AI:

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.


Automate DOCX to PDF with n8n and HTTP Request

Visit through Desktop to Interact with the Workflow.

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.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.