Blocks

Summarize

The AI Agent's summarize task: condense the input to the essentials at your chosen length — the standard last step before a send.

Condense the input to the essentials. Summarize is text-in, prose-out — the standard last step before a send email or send text.

Config

The summarize task in the Inspector Length, and optionally what to read and extra guidance.

  • Lengthshort (a sentence or two), medium (one paragraph, the default), long (a structured multi-paragraph digest).
  • Input — optional template picking what to read. Blank reads the whole upstream payload.
  • Extra instructions — optional guidance: "bullet points, lead with any deadline".

Output

Text mode — the summary lands at payload.text:

{ "ok": true, "text": "Three customers reported checkout failures…", "": "…" }

Downstream references {{ payload.text }} — there are no named fields to pluck.

Patterns

  • Digest pipeline — watch/schedule → gather items → aggregate → summarize → send email.
  • Long-thing-to-short-thing — a webhook delivers a full document; summarize before posting to chat.

Gotchas

  • Summarize is terminal-shaped: downstream steps can only reference the one payload.text string. If a later step needs fields (a title AND a body), use a custom prompt with a schema instead.
  • Point Input at the actual content ({{ payload.body }}) when the payload carries metadata too — summarizing raw JSON envelopes wastes the model's attention on plumbing.