How do I use docling on n8n

I want to use docling to improve the prompt structure

2 Likes

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hello @Ruan17

Did you find a solution to use Docling on N8N ?

1 Like

Hey everyone

I’d like to use docling too to parse some pdf

I use n8n selfhost

I haven’t found it yet

The solution I found to use Docling on n8n was this:

1- Install Docling Serve:

# Using the python package:
pip install "docling-serve"
docling-serve run

# Using container images, e.g. with Podman:
podman run -p 5001:5001 quay.io/docling-project/docling-serve

In my case, I’m using Schema in Easypanel (template below):

{
  "services": [
    {
      "type": "app",
      "data": {
        "serviceName": "docling",
        "source": {
          "type": "image",
          "image": "ghcr.io/docling-project/docling-serve:latest"
        },
        "domains": [
          {
            "host": "$(EASYPANEL_DOMAIN)",
            "port": 5001
          }
        ]
      }
    }
  ]
}

2- Using an n8n HTTP Request node, make a POST request to ‘404 Not Found - bedpage.com’ using this JSON body:

{
  "http_sources": [
    {
      "url": "https://anywebsite.com/pathToFile.pdf"
    }
  ]
}

Enjoy!

2 Likes

Which VPS provider are you using and what is the machine configuration?

Express Linux VPS

4GB RAM
2 CPU Cores
60GB SSD
100Mbps Unmetered Bandwidth
Once per 4 Weeks Backup
1 Dedicated IP
Ubuntu/CentOS/Debian&More
No Setup Fee

Does it work without crashing? Are you Brazilian?

Works perfectly. Yes, i’m Brazilian. Need help? Send me DM on Discord: @rogerwindberg

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.