Skip to main content
Back to Blog

AutomationJun 23, 20265 min read

n8n File Conversion Templates: 5 Ready-to-Import Flows

Hasnain NisarAutomation engineer · Nisar Automates
n8n File Conversion Templates: 5 Ready-to-Import Flows

n8n File Conversion Templates: 5 Ready-to-Import Flows

TL;DR: - Import 5 production-ready n8n workflow templates for the most common file conversion tasks—no coding required - Covers PDF→text extraction, DOCX→PDF, image batch resize, audio transcode, and bulk multi-format conversion - Each workflow uses the Convert Fleet API for reliable, private file processing without rate-limit headaches - Download the complete JSON bundle and be running conversions in n8n within 10 minutes

You need a file converted inside an n8n automation. You don't want to build ffmpeg from source, manage Docker containers, or discover that your "free" API throttled you at 3 requests. You want something that works when you paste it in.

This article ships five n8n workflow templates—actual importable JSON you can drop into n8n and run. Each solves a specific, high-friction conversion task that breaks workflows in production: PDF text extraction, DOCX to PDF, image resizing, audio transcoding, and bulk multi-format conversion. I've built these for teams who automate document pipelines, media processing, and content operations. They work with the Convert Fleet API (free tier, no registration), but you can adapt them to any HTTP-based conversion service.

Who this is for: n8n users building document pipelines, media workflows, or content operations who need reliable file conversion without maintaining their own infrastructure. What you'll have by the end: five running workflows and a pattern for building your own.


What Are n8n Workflow Templates and Why Import JSON?

N8n file conversion templates 5 ready import flows template comparison

n8n workflow templates are pre-built automation blueprints saved as JSON. You import them into n8n, swap in your credentials, and run them. The JSON contains every node, connection, and configuration—no manual node dragging required.

The n8n community shares thousands of workflows on n8n.io/workflows and GitHub repositories like zie619/n8n-workflows. But most shared workflows are conceptual or outdated. These five are tested against live APIs in 2026, with explicit error handling and webhook triggers you can connect to real systems.

The real value: a working n8n workflow json example cuts your setup time from hours to minutes. You see exactly how headers are formatted, how binary data flows between nodes, and how to handle async conversion jobs that return URLs instead of files.


The 5 Workflows: Quick Comparison

N8n file conversion templates 5 ready import flows workflow diagram

Workflow Input Trigger Output Key Nodes Typical Use Case Avg. Runtime
PDF → Text Extract Webhook or Schedule Plain text + metadata HTTP Request, Code, Set Document indexing, RAG pipelines 2–5 sec
DOCX → PDF Webhook or Form PDF file (binary) HTTP Request, Move Binary Data Contract generation, report distribution 3–6 sec
Image Batch Resize Manual or Schedule Resized images (ZIP or individual) Split In Batches, HTTP Request, Merge Thumbnail generation, asset optimization 1–2 sec/image
Audio Transcode (MP3 → WAV) Webhook or File Upload WAV or target format HTTP Request, Wait, Code Podcast production, transcription prep 5–10 sec
Bulk Multi-Format Spreadsheet or API list Multiple formats, organized Function, HTTP Request, Switch Content migration, format standardization 2–4 sec/file

How to choose: Start with the workflow matching your immediate pain point. The PDF and DOCX workflows handle document pipelines. Image and audio workflows cover media operations. Bulk multi-format is for teams standardizing archives or building customer-facing conversion tools.


How to Import Any n8n Workflow JSON (Step-by-Step)

Importing takes under two minutes. Here's the exact process:

  1. Copy the JSON from the download bundle or a code block in this article
  2. Open n8n → click the + (Create New) or open an existing workflow
  3. Open the menu (three dots, top right) → ImportFrom JSON
  4. Paste the JSON → click Import
  5. Configure credentials: double-click any HTTP Request node and add your API key
  6. Test with Execute Workflow (top right) or enable the webhook trigger

Critical gotcha: n8n stores binary data differently in cloud vs. self-hosted. If your workflow fails with "binary data not found," check that Settings → Binary Data Mode matches your setup (default: filesystem for self-hosted, default for cloud).


Workflow 1: PDF → Text Extraction

What it does: Receives a PDF via webhook, sends it to the Convert Fleet API, and returns clean extracted text with page count and confidence score.

Why this breaks without a template: PDF text extraction involves encoding detection, handling scanned vs. generated PDFs, and parsing nested structures. Building this in n8n with native nodes requires multiple Code nodes and edge cases for malformed files.

The workflow structure:

Webhook (PDF upload) → HTTP Request (POST to /v1/pdf/extract-text) → 
Wait (poll for completion) → HTTP Request (GET result) → 
Code (format output) → Respond to Webhook

Key configuration in the HTTP Request node: - Method: POST - URL: https://api.convertfleet.com/v1/pdf/extract-text - Headers: Authorization: Bearer YOUR_API_KEY, Content-Type: multipart/form-data - Body: file (binary data from webhook)

The response you get back:

{
  "text": "Full extracted text...",
  "pages": 12,
  "confidence": 0.97,
  "processing_time_ms": 840
}

Connect to RAG pipelines: Feed the text field directly into a vector store or summarization step. See our guide on n8n RAG workflows for file conversion for the full pipeline.


Workflow 2: DOCX → PDF Conversion

What it does: Converts Word documents to print-ready PDFs with preserved formatting, handling fonts, images, and page layout.

The specific pain point this solves: Microsoft Office automation is brittle. LibreOffice headless in Docker works but needs 500MB+ images and crashes on complex documents. An API approach is more reliable for automated pipelines.

Webhook trigger configuration: - Path: docx-to-pdf - Respond: Using Respond to Webhook node (not immediately) - Binary Property: data

The conversion node sends: - file: binary DOCX - options: {"pdfa": false, "compress_images": true}

Error handling pattern: The template includes an If node checking response.status === 'success' before returning. If conversion fails (corrupted file, password protection), it returns a structured error the calling system can handle.


Workflow 3: Image Batch Resize

What it does: Processes multiple images in parallel, resizing each to specified dimensions and optionally converting format (PNG ↔ JPEG ↔ WebP).

Why batch matters: Processing images sequentially in n8n is slow and memory-intensive. This template uses Split In Batches with concurrency control (default: 5 parallel) to maximize throughput without overwhelming the API.

The batch logic:

Parameter Value Notes
Batch size 5 Adjustable based on API rate limits
Resize mode fit Maintains aspect ratio, letterboxes if needed
Target width 1200 Set via workflow variable
Target height 800 Set via workflow variable
Output format webp original preserves source format

Input methods: The template accepts both a webhook with multiple files (files array) and a scheduled trigger reading from a directory (self-hosted n8n with filesystem access).

Performance note: With 5 concurrent requests, a batch of 50 images completes in roughly 20–25 seconds. The template includes a Wait node with exponential backoff if rate limited (429 response).


Workflow 4: Audio Transcode (MP3 → WAV/FLAC/OGG)

What it does: Converts audio between formats with configurable bitrate, sample rate, and channel layout.

The hidden complexity: Audio transcoding isn't just "change the extension." Sample rate mismatch causes pitch shifts. Bitrate changes affect file size predictably but not linearly. This template exposes the parameters that matter.

Configuration variables (Set node):

{
  "output_format": "wav",
  "sample_rate": 48000,
  "bitrate": "1536k",
  "channels": 2
}

Use case: transcription prep — Many STT (speech-to-text) APIs prefer 16kHz mono WAV. Set sample_rate: 16000, channels: 1, and feed directly to Whisper, AssemblyAI, or your transcription pipeline.


Workflow 5: Bulk Multi-Format Conversion

What it does: Reads a list of files and desired output formats, queues conversions, and organizes results by job ID.

The architecture: This is the "orchestrator" workflow. It doesn't do conversion itself—it calls other workflows or the API with different parameters per file.

Input format (JSON body or Google Sheets row):

{
  "jobs": [
    {"file_url": "https://...", "target_format": "pdf"},
    {"file_url": "https://...", "target_format": "txt"},
    {"file_url": "https://...", "target_format": "jpg", "resize": {"width": 800}}
  ]
}

The Switch node routes by target format to format-specific sub-workflows, each with optimized parameters. Results are collected with the Merge node in "Wait for all inputs" mode.

Why teams need this: Content migration projects often require the same source in 3–4 formats (PDF for sharing, DOCX for editing, TXT for indexing). This automates what otherwise requires manual tool switching or multiple API integrations.


Common Mistakes and Pitfalls in n8n File Conversion

These are the failures we see most often in production n8n workflows:

Mistake Why It Happens The Fix
Binary data lost between nodes n8n doesn't persist binary data by default in cloud Enable "Keep Binary Data" or use filesystem mode
Timeout on large files Default HTTP timeout is 60s Increase in node settings; use async (webhook callback) pattern
Encoding corruption in text extraction Assuming UTF-8 for all PDFs Use the API's encoding_detected field, don't force decode
Rate limiting without retry Hitting free tier limits Add Wait + Error Trigger loop with exponential backoff
Memory crash on batch jobs Loading all files into memory Stream with Split In Batches, don't aggregate before processing

The "works on my machine" trap: Local n8n with 8GB RAM handles 100MB files fine. Cloud n8n (official hosted) has execution limits. Test with your actual file sizes and volumes.


Adapting These Templates for Your Stack

Swap the API endpoint: Replace api.convertfleet.com with any conversion API that accepts multipart file uploads and returns JSON. Adjust the Wait node polling interval based on your API's typical processing time.

Connect to your triggers: - Airtable/Notion: Use the corresponding trigger node instead of Webhook - S3/Google Cloud Storage: S3 Trigger node → download → convert → upload - Email attachments: IMAP Trigger → extract attachment → convert → send

For AI automation workflows: Feed converted text directly to OpenAI, Anthropic, or local LLM nodes. The PDF→text and DOCX→text workflows are specifically designed for this pipeline—no intermediate file handling required.


Free download

To make this actionable, we built a free resource you can grab right now — no signup:

Frequently Asked Questions

What is the easiest way to get started with n8n workflow templates? Import a working JSON, configure your API credentials, and test with a single file. Don't build from scratch until you've confirmed the pattern works for your data. The templates in this article include error handling you can strip later if unneeded.

Can I use these n8n workflow examples without coding? Yes. The workflows use standard n8n nodes (HTTP Request, Set, Function, Switch) and don't require custom code. The Function nodes contain short JavaScript for data transformation, but you can modify inputs/outputs through the UI without writing code.

Where can I find more n8n workflow templates for file conversion? The n8n community shares workflows at n8n.io/workflows and on GitHub. Search for "file conversion," "PDF," or "media processing." For Convert Fleet-specific integrations, check our n8n workflow examples guide.

How do I handle large files in n8n automation workflows? Use streaming where possible, increase execution timeout in workflow settings, and consider async patterns (webhook callback on completion) instead of waiting synchronously. Self-hosted n8n removes cloud execution limits but requires your own infrastructure.

Are free file conversion APIs reliable for production n8n workflows? Free tiers vary. Some throttle aggressively or watermark outputs. The Convert Fleet API offers consistent performance without registration for evaluation, with paid tiers for higher volume. Test throughput and reliability with your actual workload before committing a production pipeline.


Conclusion

These five n8n workflow templates give you working file conversion automation in minutes, not days. Start with PDF→text if you build document pipelines, or image batch resize if you handle media assets. Each template follows the same pattern: receive, convert, handle errors, return structured data. Once you understand one, adapting the others is straightforward.

If you need reliable, private file conversion at scale, the Convert Fleet API integrates cleanly with n8n's HTTP Request node—no SDKs, no complex authentication. Start converting with the free tier, or grab the complete JSON bundle below to import all five workflows now.

Share

Read next