UiPath Documentation
maestro
latest
false

Maestro user guide

Summarize

The Summarize node reads a document and returns a grounded answer to a task you describe, with citations back to the source. Use it when a step in your process needs a synthesized answer across a long document — not a fixed set of typed fields.

How it works

The node sends the document and the synthesis task to the underlying synthesis model, which reads across the content and returns the result with citations to the passages it relied on. The node handles up to 1,000 pages in a single call.

Unlike the Summarize agent tool, the Summarize node runs deterministically as a step in the flow. The flow always executes it at the point where you place it, without an agent deciding when to invoke it.

Configuration

Configure the Summarize node in the properties panel after adding it to the canvas.

FieldRequiredDefaultDescription
Summarize TaskYesNoneWhat to research across the document, what to synthesize, and how to present the result. Describe it in plain language.
Source (file)YesNoneDocument to synthesize. Bind it to a file produced earlier in the flow, such as an attachment from a trigger or a prior node output.
File extensionNopdfFormat of the source file. Supported values are pdf and txt.
Citation modeNoEnabledWhether the result includes inline citations back to the source. This field appears only when File extension is set to pdf.

Output

The Summarize node returns its result at $vars.<nodeName>.output.

VariableDescription
outputSynthesized result as a string, with citations when Citation mode is enabled.
errorError details when the node fails. Contains code, message, detail, category, and status. Available when the node's error handle is connected.

Reading the result

The result is a plain string at $vars.<nodeName>.output:

$vars.summarize1.output
// "The contract requires a 30-day notice period for termination (§ 12.1)..."
$vars.summarize1.output
// "The contract requires a 30-day notice period for termination (§ 12.1)..."

The string may include inline citation markers referencing the source document pages, depending on the Citation mode setting.

Error handling

The Summarize node supports an error handle. If synthesis fails and the error handle is connected, execution routes to the error path with the error object at $vars.<nodeName>.error. Refer to Error handling for more information.

Notes

  • The Summarize node and the Summarize agent tool use the same underlying synthesis capability. Choose the node when the step is deterministic; choose the agent tool when an Autonomous Agent should decide when to invoke it.
  • For pulling structured, typed fields from a document, use the Extract node instead.
  • How it works
  • Configuration
  • Output
  • Reading the result
  • Error handling
  • Notes

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated