- Home
- Resources
- Integrations
- Default Data Loader
n8n Default Data Loader nodeConfigure Default Data Loader in n8n.
Everything an AI node reads has to become a document first, and that is this node's whole job. The n8n Default Data Loader node takes JSON or a binary file from the previous step, cuts it through a text splitter, and hands the pieces to a summarization chain. Six parameters, one required port.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Default Data Loader node do in a workflow?
The Default Data Loader is a sub-node, meaning it never runs on its own: you drag it onto a port of a root node and it feeds that node. It reads data from the previous step in the workflow, either the JSON of the incoming item or a binary file attached to it, and converts it into documents, the chunked text format AI nodes expect. Its description in n8n says exactly that: load data from previous step in the workflow.
First scenario, a support knowledge base. A PDF lands in the workflow, Type of Data is set to Binary, Data Format to PDF, and Split Pages in PDF turns each page into its own document so an answer can point at one page instead of a whole manual. The loader passes the result on through its Document output.
Second scenario, records instead of files. Rows pulled from Google Sheets or messages fetched from Gmail arrive as plain JSON. Type of Data stays on JSON, Mode on Load Specific Data, and JSON Pointers keeps only the fields worth indexing, so the body of a ticket gets loaded and the internal identifiers do not.
Third scenario, a spreadsheet export. With Data Format on CSV, CSV Separator matches whatever the export actually used and CSV Column picks the one column that carries the text. Everything else in the file stays out of the index. Add a couple of Metadata properties and retrieval can later filter on them.
When to reach for something else. This node prepares documents, it does not query them and it does not talk to a model. A chat that answers questions needs a root node like AI Agent with a chat model such as OpenAI branched onto it, and the loader only appears on the indexing side of that setup. If your text is already sitting in a field and needs no file parsing at all, the loader in JSON mode with Load All Input Data is the short path.
Known limits. The node exposes six parameters and no more: no chunk inspection, no cleanup step, no deduplication. A text splitter is required, so the chunking decision belongs to the sub-node you connect, not here. And if you set a specific Data Format while the incoming file is something else, the node errors instead of guessing. Teams who want to work through a full pipeline rather than read about it can start with the n8n training, and the n8n review covers how the platform compares on hosting and cost.
What do you plug into the Default Data Loader ?
n8n splits AI work between root nodes, which sit in the main flow, and sub-nodes, which hang off their ports; the loader takes one sub-node below it and attaches itself to one root node above.
Ports (what plugs in)
- Text Splitter
ai_textSplitterrequired
Output (what it plugs into)
- Document
ai_document
01Text Splitter
The splitter decides how a long text is cut into chunks before it becomes documents. Without one connected, the loader has nothing to hand the chunking to and the execution stops.
Key parameters
- Required: the port has to carry a sub-node for the loader to run.
- Recursive Character Text Splitter: the usual starting point, it cuts on paragraph and sentence boundaries before falling back to raw characters.
- Character Text Splitter: cuts on one separator you choose, predictable on structured text.
- Token Splitter: cuts by tokens, the units a model counts its input in.
02Document
This is the output side. The loader does not sit in the main flow; it connects upward, and the documents it produces are consumed by the root node above it.
Key parameters
- Required: the loader only does something once a root node accepts its documents.
- Summarization Chain: the root node that takes this output, reading the documents and producing a summary of them.
Which parameter does what?
The Default Data Loader node has 6 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Type of Data
dataTypeWhat you see in n8n
Notes & use cases
This first choice changes every field below it.
Key parameters
- Type of Data:
jsonprocesses JSON from the previous step,binarya file attached to it. - Mode:
allInputDatauses everything flowing into the parent agent or chain,expressionDataloads a subset,specificFieldone named binary field. - Data Format:
autodetects by mime type, or pickpdfLoader,csvLoader,docxLoader,epubLoader,jsonLoaderortextLoader. - Data: the JSON content, dragged from the input pane or written as
{{ $json.body }}. - Input Data Field Name: the field holding the binary file.
JSON Pointers
options.pointersWhat you see in n8n
Notes & use cases
Loading a whole JSON object usually drags in noise. This option narrows the load to named paths inside the object, so only the parts you point at become document text.
Key parameters
- JSON Pointers: pointers to extract from JSON, written as
/text, or several at once as/text, /meta/title.
CSV Separator
options.separatorWhat you see in n8n
Notes & use cases
CSV files are only nominally standard. Exports built in a European locale often use a semicolon where the loader expects a comma, and every row then collapses into a single unreadable cell.
Key parameters
- CSV Separator: the separator to use for CSV, set to whatever character the file actually uses.
CSV Column
options.columnWhat you see in n8n
Notes & use cases
Most spreadsheets hold one column of prose and a dozen columns of identifiers, dates and totals. Naming that one column keeps the numbers out of the documents.
Key parameters
- CSV Column: the column to extract from the CSV, given by its header name.
Split Pages in PDF
options.splitPagesWhat you see in n8n
Notes & use cases
A PDF can arrive as one long block of text or as one document per page. This toggle decides which, and it changes how precise anything reading the result can be.
Key parameters
- Split Pages in PDF: whether to split PDF pages into separate documents.
Metadata
options.metadataWhat you see in n8n
Notes & use cases
Documents on their own carry no context about where they came from. Metadata attaches properties to each one, and those properties are what filtering during retrieval works on later.
Key parameters
- Metadata: metadata to add to each document, added property by property with the Add property button.
- Name: the property name, required for each entry.
- Value: the property value, often an expression such as
{{ $json.source }}.
Need help automating Default Data Loader with n8n?
A person reads every message.
Default Data Loader and n8n, common questions
01Is the n8n Default Data Loader node included for free?
02What credentials does the Default Data Loader need?
03What are the limits of this node?
04What has to be connected at minimum, and which sub-node comes first?
05n8n or Make for loading documents into an AI workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


