Skip to content

feyninc/n8n-nodes-chonkie

Repository files navigation

n8n-nodes-chonkie

Chonkie

This is an n8n community node that lets you chunk text using Chonkie for RAG and NLP pipelines.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Or install directly:

npm install n8n-nodes-chonkie

Operations

The Chonkie node splits text into chunks using one of three strategies:

Chunker Description
Token Chunker Splits text by token count with configurable overlap
Recursive Chunker Hierarchy-aware splitting across paragraphs, sentences, and words
Fast Chunker Ultra-fast WASM-based chunking with byte-level precision

Parameters

Parameter Chunkers Description
Text to Chunk All The input text to split
Chunker Type All Strategy to use (token, recursive, fast)
Chunk Size All Maximum size of each chunk (tokens/characters)
Chunk Overlap Token Number of units to overlap between consecutive chunks
Delimiters Fast Characters used as split boundaries (e.g. \n.?)
Min Characters Per Chunk Recursive Minimum characters before merging a split

Output

Each chunk is emitted as a separate item with the following fields:

{
  "text": "...",
  "tokenCount": 42,
  "startIndex": 0,
  "endIndex": 128
}

Compatibility

Compatible with n8n v1.60.0 or later.

Usage

  1. Add the Chonkie node to your workflow.
  2. Connect a node that produces text (e.g. HTTP Request, Read File).
  3. Set Text to Chunk to the field containing your text.
  4. Choose a Chunker Type and configure chunk size.
  5. Each resulting chunk flows to the next node as its own item — ready for embeddings, vector stores, or further processing.

The node also supports use as a tool in AI agent workflows (usableAsTool: true).

Resources

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors