Free Intro Class
    Botspot Logo

    agenthub · output.outcome

    Outcome

    The run's outcome on a channel. Mirror replies where the message came from; naming a channel sends somewhere else.

    category Outputin contentout execution syncmodel cost none

    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

    1. 1
      Resolve the target: mirror uses the run's own channel, so a reply lands back where the message came from; an explicit channel overrides it.
    2. 2
      For a text outcome, interpolate {{placeholders}} in text, falling back to the wired content when blank.
    3. 3
      For a template send, use template_name with its ordered body params — text is ignored entirely.
    4. 4
      Emit the directive. The invoker performs the send.

    What you wire

    Inputs

    • content
      any

    Outputs

    Nothing handed onward.

    Configuration

    KeyTypeDefault & optionsWhat it does
    target_channelstringdefault "mirror" mirror · whatsappWhere the outcome goes. 'mirror' = the run's own channel (reply where the message came from). Otherwise an explicit channel to send on.
    textstringMessage 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_namestringApproved template (HSM) name for a template send (e.g. WhatsApp outbound). When set, this is a template outcome and `text` is ignored.
    languagestringdefault "en"Template language code (e.g. 'en'). Template sends only.
    body_paramsarrayOrdered template params filling {{1}}, {{2}}, …. Each supports {{context_key}} interpolation (e.g. '{{name}}').
    addressstringOverride recipient (E.164 phone / channel address). Defaults to the run channel's address (e.g. the caller's phone).
    channel_idstringOverride 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

    buildersChat & voice agents, Image workflows, Video workflows, Automations
    routesno
    side effectsnone — computes only
    replay safetynot applicable
    talks tonothing outside the run
    holdsno credentials