Summary
The summary action node stores a markdown summary on the workflow run summary. Viewers open it from the workflow run page with View summary.
Each successful run of the node replaces the current summary. Port trims leading and trailing whitespace before saving. The trimmed text can be at most 10,000 characters, the same limit as the update workflow run API.
Add the node in the builder
- Open the workflow in the workflow builder.
- Click the + button on the node you want to continue from, or click Add node.
- Under Core actions, select Summary.
- Select the new node to open its form and enter the markdown summary.
Configuration
| Field | Type | Description |
|---|---|---|
type | "SUMMARY" | Required. Must be "SUMMARY" |
summary | string | Required. Markdown text to store on the run. Supports JQ expressions in {{ }}. The evaluated text is trimmed and can be at most 10,000 characters. Organization secrets are not available in this field. |
onFailure | 'continue' | 'terminate' | What happens if writing the summary fails. Default: 'continue'. |
timeoutMinutes | number | Optional node timeout in minutes. See node timeout. |
The node also supports the shared action node fields such as title, description, variables, and links.
Basic example
Write a deployment summary from trigger outputs:
{
"identifier": "write-summary",
"title": "Write run summary",
"config": {
"type": "SUMMARY",
"summary": "## Deployment\n\nService **{{ .outputs.trigger.service }}** deployed to **{{ .outputs.trigger.environment }}**."
}
}
Replace trigger with your trigger node's identifier. See workflow run context for other values you can reference.
Multiple summary nodes
A workflow can include more than one summary node. Each successful run overwrites the previous summary, so the last summary node that completes determines what viewers see on the run page.
When to use the API instead
Use a webhook node that calls the update workflow run API when an external system must set the summary, or when you already use that pattern.