agenthub · output.outcome
The run's outcome on a channel. Mirror replies where the message came from; naming a channel sends somewhere else.
Why the node earns its place
Every run is an input and then an outcome on a channel, and this is the single terminal that expresses it. It is passive: it does not call any provider. It describes what to send and where, and whoever started the run dispatches it.
That is why adding a channel later is a new adapter and a new option here, never a new node.
How it works at run time
mirror uses the run's own channel, so a reply lands back where the message came from; an explicit channel overrides it.{{placeholders}} in text, falling back to the wired content when blank.template_name with its ordered body params — text is ignored entirely.What you wire
Nothing handed onward.
Configuration
| Key | Type | Default & options | What it does |
|---|---|---|---|
| target_channel | string | default "mirror" mirror · whatsapp | Where the outcome goes. 'mirror' = the run's own channel (reply where the message came from). Otherwise an explicit channel to send on. |
| text | string | — | Message body for a text outcome (mirror/chat, or a session-window message). Supports {{context_key}} interpolation. Falls back to a wired `content` input when blank. |
| template_name | string | — | Approved template (HSM) name for a template send (e.g. WhatsApp outbound). When set, this is a template outcome and `text` is ignored. |
| language | string | default "en" | Template language code (e.g. 'en'). Template sends only. |
| body_params | array | — | Ordered template params filling {{1}}, {{2}}, …. Each supports {{context_key}} interpolation (e.g. '{{name}}'). |
| address | string | — | Override recipient (E.164 phone / channel address). Defaults to the run channel's address (e.g. the caller's phone). |
| channel_id | string | — | Override the sending channel id. Defaults to the run channel's id. Set this for an outbound send on a specific channel. |
What usually goes wrong
Watch for this
Setting template_name silently disables text. If an outbound message is arriving as the wrong content, check whether a template name was left in the field.
Only mirror text and WhatsApp templates are wired end to end today. Channels whose adapters do not exist are deliberately absent from the dropdown rather than offered and failing.
Behaviour & provenance