Summarization
Category: AI & ML
Node id: summarization
AI-powered text summarization with configurable type, length, and focus
What it does
- Abstractive and extractive summarization modes
- Configurable output length (short, medium, long)
- Multiple output formats (paragraph, bullet points, numbered list)
- Focus area selection (main points, key facts, action items, conclusions)
- Multi-provider support (OpenAI, Anthropic)
- Summary quality metrics (word count, sentence count, compression ratio)
Use cases
- Summarizing clinical documents and discharge notes
- Extracting key points from research papers
- Generating executive summaries from meeting transcripts
- Creating bullet-point summaries of patient histories
Runtime
- Performance tier:
variable
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
text | text | Yes | Text to summarize |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Main result containing summary, language, and key_points |
metadata | json | No | Execution metadata including tokens, original_length, summary_length, word_count, and sentence_count |
success | boolean | No | Whether summarization succeeded |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Provider | provider | enum | No | openai | openai, anthropic | LLM provider |
| Model | model | string | No | "" | Model name (auto-selected if empty) | |
| Summary Type | summary_type | enum | No | abstractive | extractive, abstractive, bullet_points | Type of summarization |
| Length | length | enum | No | medium | short, medium, long | Target summary length |
| Format | format | enum | No | paragraph | paragraph, bullet_points, numbered_list | Output format |
| Focus | focus | enum | No | main_points | main_points, key_facts, action_items, conclusions | Area to focus on |
Auth
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| API Key | api_key | secret | No | API key for the LLM provider |
Advanced
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Temperature | temperature | number | No | 0.3 | min 0; max 2 | Sampling temperature |
| Max Tokens | max_tokens | number | No | 500 | min 1 | Maximum tokens for summary |
Errors
| Code | Description |
|---|---|
TEXT_REQUIRED | No text input was provided for summarization |
SUMMARIZATION_FAILED | LLM call failed during summarization |
UNSUPPORTED_PROVIDER | Provider must be openai or anthropic |
Runtime notes
- result.key_points is always an empty array — extract key points from the summary text if needed
- Latency depends on LLM provider; treat as variable-time node when wiring timeouts
- If model is empty, auto-selects gpt-4 (openai) or claude-3-5-sonnet (anthropic)
- metadata.tokens shows actual API usage for cost tracking
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Quelque chose n'est pas clair ? Envoyez vos commentaires sur la documentation par courriel.