- Home
- Resources
- Integrations
- Summarization Chain
n8n Summarization Chain nodeConfigure Summarization Chain in n8n.
The Summarization Chain node turns a wall of text into a short summary, right inside a workflow. The n8n Summarization Chain node exposes 5 parameters and 3 connection ports, and it leans on a chat model you plug into it. Built for anyone who reads more documents than they have time for.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Summarization Chain node actually do?
It takes text that is too long to read and gives back a condensed version of it. The node description is blunt about it: it transforms text into a concise summary. You feed it the JSON coming from the previous node, a binary file, or documents handed over by a loader sub-node, meaning a small node you attach to a port rather than place on the canvas. The chat model you connect does the actual writing, and the node handles the plumbing around it: splitting long input into chunks, summarizing each one, then combining the pieces.
The first scenario is a reading queue. A workflow scrapes pages, pulls the text out of the HTML, and pushes it into the chain with Data to Summarize set to nodeInputJson. What comes out the other side is short enough to post somewhere a human will see it, in Slack or as a row in Google Sheets. The public n8n template 1951 wires exactly that shape, with an OpenAI Chat Model and a Recursive Character Text Splitter behind it.
The second is document triage. Resumes, contracts and supplier reports arrive as files, a Default Data Loader reads them, and the chain returns a paragraph per document that a person can scan in seconds. Template 2860 does this for candidate evaluation with Google Drive on the front end. Because the summaries are plain text, they drop straight into a sheet or a table without any extra parsing step.
The third is mailbox load. Long threads in Gmail get compressed before anything else happens to them, which keeps a downstream classifier or an AI Agent from burning its context window, the amount of text a model can hold at once, on quoted replies.
Pick a different node when the job is different. If the answer you want is a decision, a label or a structured object rather than a shorter text, a chain built for that, or an agent that can call tools, fits better. If you only need a summary of one short paragraph, a single prompt to OpenAI is lighter than a chain. The Summarization Chain earns its place when the input is longer than a model can swallow in one go, because chunking and combining are exactly what it automates.
The limits are worth knowing before you build. The node summarizes, and nothing else: it does not extract fields, it does not answer questions about the document, and it does not store anything between executions. Quality and cost belong to the model provider you connect, not to n8n. And the version documented here is version 2 of the node, so an older workflow may show fewer options in the panel. For a wider look at the platform, the n8n review covers what it does well and where it hurts.
What do you plug into the Summarization Chain node?
This node is a root node: it sits on the canvas and receives workflow items on its main input, while sub-nodes attach underneath it, one type per port, and never run on their own.
Ports (what plugs in)
- Chat Model
ai_languageModelrequired - Document
ai_documentrequired - Text Splitter
ai_textSplitteroptional
01Chat Model
This is the port that does the writing. Every chunk of text and the final combination pass through the model connected here, so an empty port stops the node before it starts.
Key parameters
- Required: the chain cannot produce a summary without a chat model, meaning a sub-node that wraps a text generation model and carries the provider credential.
- OpenAI Chat Model and Anthropic Chat Model are the usual starting points, and both put the API key on the sub-node rather than on the chain.
- Ollama Chat Model keeps the text on your own machine, which matters when the documents are contracts or resumes.
02Document
The Document port carries the content to summarize when it does not come straight from the previous node's JSON. It is what documentLoader mode reads from.
Key parameters
- Required: the port is part of the node's shape, and the chain expects something on it rather than an empty socket.
- Default Data Loader is the sub-node the catalog offers here, and it is where binary files become text the model can read.
03Text Splitter
A text splitter decides where long content gets cut before the model sees it. This port only matters once you switch Chunking Strategy to advanced.
Key parameters
- Optional: leave it empty and the chain uses the simple settings defined in its own panel.
- Recursive Character Text Splitter cuts on structure first, which keeps paragraphs intact more often than a raw character count.
- Token Splitter counts in tokens, the units a model bills and reads in, rather than in characters.
- Character Text Splitter stays the blunt option when the input has no structure worth respecting.
Which parameters matter in the Summarization Chain node?
The Summarization Chain node has 5 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Data to Summarize
operationModeWhat you see in n8n
Notes & use cases
This selector decides where the text comes from, and the rest of the panel changes with it. Set it first, then configure the rest.
Key parameters
- Use Node Input (JSON) (
nodeInputJson): summarizes the JSON data coming into the node from the previous one, the mode to use after an HTTP Request or an HTML extraction. - Use Node Input (Binary) (
nodeInputBinary): summarizes the binary data coming in, for a file attached to the item rather than text in a field. - Use Document Loader (
documentLoader): hands the job to a loader sub-node with more configuration options.
Chunking Strategy
chunkingModeWhat you see in n8n
Notes & use cases
Long input never reaches the model in one piece. This parameter picks who decides the cut, the node itself or a dedicated sub-node.
Key parameters
- Simple (Define Below) (
simple): the two size fields appear right under it, and nothing else needs connecting. - Advanced (
advanced): connects a splitter sub-node with more configuration options, on the Text Splitter port.
Characters Per Chunk
chunkSizeWhat you see in n8n
Notes & use cases
Available under the simple strategy, this field controls the maximum size, in number of characters, of the final document chunk. Bigger chunks mean fewer calls to the model and more context in each one.
Key parameters
- Characters Per Chunk (
chunkSize): a number, so it accepts an expression such as{{ $json.chunkSize }}when the value depends on the document type flowing through.
Chunk Overlap (Characters)
chunkOverlapWhat you see in n8n
Notes & use cases
Cutting text cleanly in two loses whatever sentence sat on the seam. This field specifies how many characters overlap between chunks, so each piece starts with the tail of the previous one.
Key parameters
- Chunk Overlap (Characters) (
chunkOverlap): a number, kept well below Characters Per Chunk, since overlap is repeated text the model reads twice.
Options
optionsWhat you see in n8n
Notes & use cases
Everything that is not the data source or the chunk size sits behind Add Option. Three fields are available here.
Key parameters
- Input Data Field Name (
binaryDataKey): the name of the field in the chain's input that holds the binary file to process. - Summarization Method and Prompts: holds the summarization method, with Map Reduce recommended, plus Refine and Stuff, and the Individual Summary Prompts and Final Prompt to Combine you can customize, each of which must keep the
"{text}"placeholder. - Batch Processing (
batching): batch processing options for rate limiting, worth opening when a run pushes many documents at once.
Need help automating Summarization Chain with n8n?
A person reads every message.
Summarization Chain and n8n, the common questions
01Is the Summarization Chain node included in n8n?
02What do you need to run the n8n Summarization Chain node?
03What are the limits of the Summarization Chain node?
04What is the minimum to connect, and which sub-node should a beginner pick?
05n8n or Make for summarizing documents?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


