Templates / Convert PDF, DOC, and images to Markdown using Datalab.to API

Convert PDF, DOC, and images to Markdown using Datalab.to API

Ready for 3.0

by Joseph ✓ · 1,392 views · created 2025-08-26 · Document Extraction, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 6 nodes and runs when someone submits an n8n form (“upload file”). It uses only n8n's built-in nodes. It also calls datalab.to over HTTP.

How it runs

Trigger: When someone submits an n8n form (“upload file”).

  1. Send to Datalab API (HTTP Request): calls datalab.to (POST)
  2. Wait: waits 10 seconds
  3. Get Markdown (HTTP Request): calls an HTTP API
  4. Set Fields (Edit Fields (Set)): sets 1 field: markdown
  5. Switch: routes items into 2 branches

HTTP calls to: datalab.to

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

This n8n workflow converts various file formats (.pdf, .doc, .png, .jpg, .webp) to clean markdown text using the datalab.to API. Perfect for AI agents, LLM processing, and RAG (Retrieval Augmented Generation) data preparation for vector databases. Workflow…

Excerpt from Joseph's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.