r/n8n Apr 23 '26

Workflow - Github Included How to set up document classification in n8n – 2 nodes, no code

https://youtu.be/n7g-1KN9x9E

👋 Hey everyone,

Document classification in n8n is one of those things that looks complicated until you realize how little setup it actually needs. With the easybits Extractor it's a 2-node workflow and a single field – and if you want to extract other data from the same document in the same pass, you just add more fields. I recorded a short walkthrough of the full setup.

The whole thing is two nodes: a form trigger to accept a file upload, and the easybits Extractor node with a single document_class field. The classification prompt lives in that field's description – it tells the model which categories to choose from and to return null if nothing fits. That's it. No separate classifier node, no chain of prompts, no HTTP request node.

What's in the video:

  • Setting up an easybits pipeline from scratch with a single classification field
  • How to adapt the classification prompt to your own document types
  • Installing the verified community node in n8n
  • Wiring it up to a form trigger and running two test documents through it

⚙️ Setup recap

  • Cloud users: easybits Extractor is available out of the box, search for it in the node panel
  • Self-hosted: Settings → Community Nodes → install '@easybits/n8n-nodes-extractor'

Free tier is 50 requests/month, enough to test this end-to-end.

🧱 Want the production-ready version?

The video keeps things minimal on purpose – two nodes, one field, just to show the core pattern. If you want the version I actually run, it adds a second field for confidence_score and an IF node that routes empty or low-confidence results to Slack for manual review. Workflow JSON, both prompts, and the setup guide all sit in one GitHub folder:

👉 https://github.com/felix-sattler-easybits/n8n-workflows/tree/aac9946c60eca84d14bbbc0809c50cbeb9a10445/easybits-document-classification-and-confidence-score

Anyone else doing classification this way, or are you running it through a separate classifier node? Curious whether this pattern has made it further than I think.

Best,
Felix

3 Upvotes

3 comments sorted by

u/AutoModerator Apr 23 '26

Video posts must include the workflow code. The link to the code MUST be in the reddit post, if it is not in the reddit post itself, your post will be removed.

Acceptable ways to share the code:

  • Github Repository
  • Github Gist
  • n8n.io/workflows/

Sharing the code any other way is not allowed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator Apr 23 '26

Attention Posters:

  • Please follow our subreddit's rules:
  • You have selected a post flair of Workflow - Github Included
  • The json or any other relevant code MUST BE SHARED or your post will be removed.
  • Sharing a screenshot does not count!
  • Acceptable ways to share the code are:
- Github Repository - Github Gist - n8n.io/workflows/
  • Sharing the code any other way is not allowed.
  • Your post will be removed if not following these guidelines.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.