Skip to content

Summarize File Node

AI/Processing

Summarizes a document (PDF, DOCX, PPTX, XLSX, HTML, images, etc.) straight from the file: the model reads every page (text, page images, figures) and writes a summary, key points with page citations and short notes per page. Pages are read, never transcribed, so it is much faster and cheaper than extracting the document first and summarizing the text afterwards.

ai_processing_summarize_fileprocessingLong running
Inputs13
Outputs6
Security exposure5/10
Packageprocessing

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
5/10Medium
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
7/10High
GovernancePolicy, audit, or compliance impact.
5/10Medium
ReliabilityOperational stability considerations.
7/10High
CostExternal or compute cost impact.
6/10Medium

Input Pins

13

Input

Execution
exec_in

Execution trigger to start summarization.

File

Struct
file

Document to summarize (PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, etc.).

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Model

Struct
model

Vision-capable model. Scanned pages, slides and figures are sent as images; a text-only model only works for documents with a text layer and Include Images turned off.

BitBit19 fields
idstring
default ""
typeBitTypes
enum "Llm", "Vlm", "SystemOne", "Tts"...default "Other"
metaMap<string, Metadata>
default {}
*Metadatamap value
namestringrequired
descriptionstringrequired
long_descriptionstring | null
release_notesstring | null
tagsArray<string>required
itemsstringarray item
+11 more fields
authorsArray<string>
default []
itemsstringarray item
repositorystring | null
default null
download_linkstring | null
default null
file_namestring | null
default null
hashstring
default ""
sizeinteger | null
format uint64default nullmin 0
hubstring
default ""
parametersvalue
default null
versionstring | null
default null
licensestring | null
default null
dependenciesArray<string>
default []
itemsstringarray item
dependency_tree_hashstring
default ""
createdstring
default ""
updatedstring
default ""
model_slugstring | null
default null
+1 more fields
Schema enforced

Focus

String
focus

What the summary should concentrate on, e.g. "financial risks" or a question. Leave empty for a general summary.

Language

String
language

Language of the summary and notes, e.g. "English". Leave empty to write in the document's language.

Strategy

String
strategy

How long documents are read: • MapReduce — page windows are read in parallel, fastest • Sequential — windows are read in order with a running summary, so notes can resolve references to earlier pages (narratives, contracts, documents that build on themselves) Short documents are always read and summarized in a single request.

Default MapReduce
MapReduceSequential

Summary Words

Integer
summary_words

Target length of the summary in words (at least 20).

Default 250

Max Key Points

Integer
max_key_points

Maximum number of key points. 0 disables them.

Default 8

Include Images

Boolean
include_images

Send embedded images (figures, photos, slide graphics) to the model. Rendered pages of scanned or image-heavy PDFs are always sent.

Default true

Parallel Requests

Integer
parallel_requests

Maximum number of concurrent model requests.

Default 4

Temperature

Float
temperature

Model temperature. Models that only accept their default temperature are retried without one automatically.

Default 0.2

Max Tokens

Integer
max_tokens

Maximum output tokens per model request. Leave at 0 for the model default; leave headroom for reasoning models, whose thinking counts as output.

Default 0

Thinking

String
thinking

Reasoning effort of models that think before they answer: off, low, mid or high. Reading pages rarely needs deep reasoning and thinking is billed as output, so low keeps runs fast and cheap. A level the model rejects is left out with a warning; models without a reasoning setting ignore it.

Default low
offlowmidhigh

Output Pins

6

Output

Execution
exec_out

Execution output after summarization completes.

Summary

String
summary

The document summary as markdown prose.

Key Points

String Array
key_points

The most important points, each citing its pages.

Page Notes

Struct Array
notes

Concise notes for every page that was read, in document order.

DocumentPageDocumentPage3 fields
page_numberinteger:uint32required
format uint32min 0
contentstringrequired
imagesArray<NodeImage>required
itemsNodeImagearray item
image_refstringrequired
Schema enforced

Markdown

String
markdown

Summary, key points and page notes rendered as one markdown document.

Failed Pages

Integer Array
failed_pages

Pages that could not be read completely, so the summary may not cover them. Empty when every page was read.

Node Info

Internal name
ai_processing_summarize_file
Category
AI/Processing
Version
1