Conversation sessions

Keep one workflow run per conversation, so a contact's messages, your agents, and the people on your side share one thread that stays open as long as you choose.

On this page

A conversation session keeps one run per conversation. The first message from a contact starts a run. Every later message from that contact joins the same run and goes to the step that is answering, instead of starting a new run. The run waits between messages and closes after a quiet period that you set.

Use sessions for anything that is a back-and-forth with one person: a WhatsApp support line, an order assistant, a booking flow, or a chat on your own app that you drive through the API.

Who this is for: people building a chat assistant (for example on WhatsApp) in Workflow Studio. You need a workflow with an agent step and a connection that can send messages. If you have not built a workflow before, start with Workflow Studio.

Without sessionsWith sessions
Every message starts a new runOne run holds the whole conversation
Each run starts with no memory of the last oneThe agent sees the conversation so far
Five quick messages make five runs and five repliesA burst of messages is answered together
A person can't take over mid-conversationA step can hand the conversation to a person and get it back
Note

Sessions are a workflow setting, not a separate workflow type. Your steps, agents, and human tasks work as usual. The session only decides which run a new message goes to and when that run ends.

How a session works

  1. The first message starts a run and binds it to the conversation, for example the contact's WhatsApp number.
  2. The step that owns the conversation answers. Usually that is the agent that talks to the contact. Its reply is sent back through the workflow's reply channel.
  3. The run waits. Nothing runs while the contact is quiet, and the Console shows Waiting for the next message.
  4. The next message wakes the run. The owning step runs again with the new message and the conversation so far. Messages that arrive while the agent is still working are delivered into its current turn, or it answers again straight after with them.
  5. The run closes when the conversation has been quiet for the idle timeout, when it reaches the longest session you allow, or when someone stops it. The next message from that contact starts a new session.

A closed session ends as Success. That means the run ended cleanly. It does not mean the contact's request was resolved. Closing is not announced to the contact; the run's event list shows a note such as Conversation closed after 30 min without messages.

Turn sessions on

  1. Open Workflow setup

    In Workflow Studio, open your workflow and go to Workflow setup → Sessions.

  2. Switch on one run per conversation

    Turn on One run per conversation.

  3. Choose how long a conversation stays open

    Set Close after idle (minutes) and, if you want a hard limit, Longest session (minutes, optional). See Session settings.

  4. Choose the reply channel

    Under Reply channel, pick the Connection and Send tool that deliver replies to the contact, for example your WhatsApp connection and whatsapp_send_message.

  5. Mark the steps that talk

    On each agent step that talks to the contact, turn on Talks in the conversation. On a human step that takes over the chat, turn on Hand off the conversation to a person. The Steps that talk in the conversation list in the Sessions tab shows which steps you have marked.

  6. Check which version runs

    Session settings are saved with your workflow and apply to your draft at once. New messages start sessions on your draft unless the webhook or channel route that receives them is set (under Runs) to Last published or a fixed version. In that case, publish the workflow so live messages use your changes. See Draft and published versions.

Then route messages to the workflow. For WhatsApp, follow WhatsApp customer chat. For any other source, start runs through the API with a conversation id.

Session settings

In the JSON editor, sessions live under settings.session. The Console's Sessions tab writes the same fields.

{
  "settings": {
    "session": {
      "idle_timeout_s": 1800,
      "max_duration_s": 86400,
      "outbound": {
        "type": "mcp",
        "instance_id": "<your WhatsApp MCP instance id>",
        "tool_name": "whatsapp_send_message",
        "tool_args": { "to": "{{input.from}}", "text": "{{message.text}}" },
        "media": {
          "tool_name": "whatsapp_send_media",
          "tool_args": {
            "to": "{{input.from}}",
            "type": "{{message.attachment.type}}",
            "media_url": "{{message.attachment.url}}",
            "caption": "{{message.attachment.caption}}",
            "filename": "{{message.attachment.filename}}"
          }
        },
        "choices": {
          "tool_name": "whatsapp_send_interactive_buttons",
          "max_choices": 3,
          "tool_args": { "to_number": "{{input.from}}", "body_text": "{{message.text}}", "buttons": "{{message.choice_buttons}}" },
          "more": {
            "tool_name": "whatsapp_send_interactive_list",
            "max_choices": 10,
            "tool_args": {
              "to_number": "{{input.from}}",
              "body_text": "{{message.text}}",
              "button_text": "Options",
              "sections": [{ "title": "Options", "rows": "{{message.choices}}" }]
            }
          }
        },
        "templates": {
          "list": { "tool_name": "whatsapp_list_message_templates", "tool_args": { "status": "APPROVED", "page_size": 100 } },
          "send": {
            "tool_name": "whatsapp_send_template_message",
            "tool_args": {
              "to": "{{input.from}}",
              "template_name": "{{message.template.name}}",
              "language_code": "{{message.template.language}}",
              "body_parameters": "{{message.template.text_parameters}}"
            }
          }
        }
      }
    }
  }
}
Console fieldJSONWhat it doesDefault
One run per conversationsettings.session presentTurns sessions on. Remove session (or switch it off) to go back to one run per message.Off
Close after idle (minutes)idle_timeout_s (seconds)Closes the session after it has been waiting this long with no new message. The timer restarts every time the run starts waiting again.30 minutes
Longest session (minutes, optional)max_duration_s (seconds)Closes the session this long after it started, however active it is. If a step is still working at that moment, the session closes at its next wait.No limit
Connection, Send tooloutbound.instance_id, outbound.tool_nameThe MCP tool that delivers every message the workflow sends to the contact. Choose None: post in the conversation only to record replies without sending them anywhere.WhatsApp send
Tool argumentsoutbound.tool_argsArguments for the send tool. {{message.text}} is the text being sent, and {{input.*}} reads the contact's latest message.to: {{input.from}}, text: {{message.text}}
Files → File send tool, File tool argumentsoutbound.media.tool_name, outbound.media.tool_argsThe MCP tool that delivers each file the workflow sends, called once per file after the text, on the same connection unless you set media.instance_id. Choose None: files are not sent to only record files. See Files, voice notes, and locations.whatsapp_send_media with WhatsApp replies
Choices → Choices tool, Up to (options), Choices tool argumentsoutbound.choices.tool_name, .max_choices, .tool_argsThe MCP tool that sends a question with options the contact can tap, for up to that many options. Choose None: list the options in the text to send them as numbered lines instead. See Choices.WhatsApp reply buttons, up to 3
Tool for more options, Up to (more options), More options tool argumentsoutbound.choices.moreThe tool for more options than the first one shows.WhatsApp list, up to 10
Templates → Template send tool, Template send tool arguments, Template list tool, Template list tool argumentsoutbound.templates.send, outbound.templates.listThe MCP tools that send an approved message template to the contact and list the templates a person can pick from. They let a person send a template from the Console. Choose None: no template sending to turn it off.whatsapp_list_message_templates and whatsapp_send_template_message with WhatsApp replies
Warning

Leaving Close after idle blank (or 0) means the 30-minute default, not "never". To keep conversations open for a long time, set a long idle timeout. See Recipes.

Steps that talk in the conversation

Agents

Turn on Talks in the conversation for every agent that answers the contact. When that agent finishes a turn, its reply is posted to the conversation and sent through the reply channel.

  • Reply field (optional): if the agent has an output schema, its message is often an internal summary. Set the field that holds the text for the contact, for example reply, and only that field is sent.
  • Back-office agents (order lookup, stock check, CRM update) leave the option off. They never message the contact, even while they work on the contact's request, and the agent that talks to the contact stays the one who answers.
  • An agent without a reply field that only hands work to a back-office agent sends nothing on that turn; its message is a note for the other agent. When the back-office agent hands back, the talking agent answers with the result.
Note

If no step has Talks in the conversation on, every agent step answers the contact. Turn it on explicitly for the agents that talk to the contact as soon as you add a back-office agent.

What the agent receives on each turn:

Template / inputContents
{{input.*}}The contact's latest message as it arrived, for example {{input.text}}, {{input.from}}, and {{input.contact_name}} for WhatsApp. It is replaced by each new message.
input.conversation.new_messagesEvery message that arrived since the agent's last turn, oldest first, each with text, type, received_at, and any attachments, location, or contacts. A burst of five messages arrives as one list.
Contact historyWith Remember each contact on, agent steps also see that contact's earlier messages and replies, including from previous sessions.

Write prompts against the latest message ({{input.text}}) and let the agent read the rest from its history. Avoid templates for fields that a message may not carry; an unfilled template is left out of the prompt and listed in the step result under unresolved_inputs.

Hand off to a person

A human step with Hand off the conversation to a person turned on takes over the chat while its task is open:

  • The task shows the messages the agent answered when it handed off under Before the hand-off, and the contact's messages since then under New since handoff (the newest four, with Show earlier for the rest), so the person sees everything without opening the chat. Files, voice notes, and locations show in place.
  • The person answers in the task's reply box, with text, files, or both. The reply is sent to the contact as the person who wrote it.
  • When the person replies, the messages that arrived meanwhile count as answered, and the session waits for the contact again.
  • Hand back to the agent gives the conversation back without replying. Nothing is sent to the contact, the conversation shows A team member handed the conversation back, and the agent answers the messages that arrived during the hand-off. Use it when the contact says they no longer need a person, or when the agent can handle what they asked next. If nothing arrived meanwhile, the session simply waits for the contact's next message.
  • Don't reply closes the task without sending anything, and the messages that arrived meanwhile are not answered: the agent only answers the contact's next message. Use it when a message needs no answer at all.
  • If the task times out instead (with Hand the conversation back as the timeout), the agent takes the conversation back and answers the messages that arrived meanwhile, the same as Hand back to the agent.

To give the person a reply box, add a response to the step's task_payload:

{
  "type": "human",
  "name": "Person reply",
  "timeout_s": 900,
  "timeout_policy": { "action": "return" },
  "task_payload": {
    "title": "Reply to {{input.contact_name}} on WhatsApp",
    "message": "{{input.contact_name}} needs a person: {{steps.assistant.result.reason}}",
    "response": { "field": "reply", "label": "Reply" }
  },
  "conversation": {
    "while_waiting": [
      { "on_message": 1, "reply": "Thanks! A member of our team will reply here shortly." },
      { "on_message": 4, "reply": "Sorry for the wait, our team is busy right now. We haven't forgotten you." }
    ],
    "return_to": "assistant"
  }
}
Console fieldJSONWhat it does
Replies while nobody has answeredconversation.while_waitingAutomatic replies, each sent once, on the Nth message from the contact after the hand-off. Use them so a waiting contact is never left in silence.
Give the conversation back to (optional)conversation.return_toThe step that takes the conversation back when the task is done. Default: the step that handed off.
If no response → Hand the conversation back (session workflows)timeout_policy.action: "return" with timeout_sWhen nobody replies within the timeout, the task closes as timed out and the agent takes the conversation back. Without it, the contact waits until someone answers.

The agent decides when to hand off. A common pattern is an agent with an output schema that returns action: "reply" or action: "human", and a human step after it with skip_when on action == "reply". The WhatsApp guide builds this end to end.

Files, voice notes, and locations

A message can carry more than text. When a contact sends a photo, video, voice note, audio file, document, or sticker, AgentRuntime stores the file in your workspace's file storage and the message carries it as an attachment. A shared location or contact cards come through too. A file that can't be fetched doesn't stop the message: its attachment carries an error instead of a file_id, and the text still arrives.

Receiving. Each attachment has these fields:

FieldExampleNotes
file_id3f9c…The stored file in your workspace
typeimage, video, audio, document, sticker
mime_type, filename, size_bytesimage/jpeg, image-AbC123.jpg, 284113Channels that send no file name get a generated one
captionmy cold pizzaAlso the message's text
voicetrueA recorded voice note, rather than an audio file
media_id, errorSet when the file could not be stored

Where the run sees them:

  • {{input.attachments}}, {{input.location}} (latitude, longitude, name, address), and {{input.shared_contacts}} on the latest WhatsApp message. Messages started from the API carry them in {{input.message.*}}.
  • input.conversation.new_messages: each message with its attachments, location, and contacts.
  • Agents read a placeholder in the conversation, for example [image: my cold pizza], [voice note], [document: menu.pdf], or [location: Galle Road], together with the caption.
Note

Agents read text. They know a file arrived and what it is called, but they don't see the picture or hear the voice note. Hand those messages to a person, or ask the contact to describe what they sent.

Sending. Files reach the contact through the File send tool, after the message's text:

  • A person's reply: attach files in the task's reply box. They are sent with the reply, or on their own if there is no text.
  • An agent's reply: an agent with an output schema can return an attachments field, a list of file ids (or objects with file_id and caption), next to its reply text.
  • The tool call: for each file, {{message.attachment.url}} is a short-lived link to the stored file, and {{message.attachment.type}}, .mime_type, .filename, .caption, and .file_id describe it. The type comes from the file's MIME type: image, video, audio, or document.

Each file's delivery is recorded on the message: sent, failed (with the error), or not sent when the File send tool is None. A file that fails doesn't stop the text or the other files.

From the API, send a message object with attachments that are already in your workspace's file storage:

"trigger_payload": {
  "conversation_id": "app-user-4821",
  "message": { "text": "Here is the receipt", "attachments": [{ "file_id": "3f9c…" }] }
}

Choices

An agent can ask the contact a question with a few options to pick from, the closest thing to a poll a business can send on WhatsApp. The contact taps an option instead of typing, and their pick comes back as their next message.

Offering choices. Give the agent an output schema with a choices field next to its reply text. The reply text is the question.

{
  "reply": "Which pizza would you like?",
  "choices": [
    { "id": "margherita", "title": "Margherita" },
    { "id": "pepperoni", "title": "Pepperoni", "description": "Spicy" },
    "Veggie"
  ]
}
  • Each option is a title, or an object with title, an optional id, and an optional description. The id defaults to the title.
  • An agent with a reply field keeps the question in that field; the choices field is always choices, or the step's conversation.choices_field if you set one.
  • Choices can come with files: the files are sent first and the question with its options last, so the options are what the contact sees at the bottom of the chat.

How they are sent. The Choices section of the Sessions tab picks the tool by how many options there are:

OptionsSent asTool
1 to 3Reply buttons under the questionChoices tool, whatsapp_send_interactive_buttons
4 to 10A list the contact opens with the Options buttonTool for more options, whatsapp_send_interactive_list
More than 10, or no toolThe question with the options as numbered linesThe reply channel's Send tool

If the choices tool fails, for example because WhatsApp rejects a button title that is too long, the question still goes out with the options as numbered lines, and the message records why.

The tool call. {{message.text}} is the question. {{message.choice_buttons}} is the options as [{id, title}], {{message.choices}} the same with each description, {{message.choices_text}} the numbered lines, and {{message.choices_count}} how many there are. Templates work inside nested arguments too, such as a list's sections[].rows.

The contact's pick arrives as an ordinary message. Its text is the title of the option they tapped, and type is interactive on WhatsApp. A contact can also ignore the options and type something else, so let the agent handle both.

Tip

WhatsApp limits button titles to 20 characters and list titles to 24 (descriptions to 72). Add "maxLength": 20 to title in the agent's output schema, so its options always fit.

In the Console, the conversation shows the options under the question, marked Sent as a numbered list in the text when they went out as text, and the run's events list them after the message.

Messages your workflow starts

A session starts with a message from the contact. Some conversations start with you: an order shipped, a booking reminder. A workflow sends those with an mcp step, on WhatsApp a template message, usually from a workflow that isn't a session.

By default that message is not part of the contact's conversation. When they reply ("yes, deliver it"), the agent answering them sees only the reply and doesn't know what it answers. To fix that, tell the step it is messaging a contact. The message is then recorded in their conversation, and the session their reply starts or joins sees it.

In Workflow Studio, open the step (for example whatsapp_send_template_message), turn on Record in the contact's conversation, and fill in:

FieldWhat to enter
ToThe contact's address. On WhatsApp it is their phone number, and Studio fills it from the tool's to argument. It can be a template such as {{input.customer_phone}}.
TextWhat the contact saw. A template's own wording is kept by Meta, so write it here, with the same values the template carries. It can use templates too.
TemplateOptional. The template's name, shown as a label. For whatsapp_send_template_message, Studio fills it from template_name.

In the workflow JSON it is the step's contact_message:

{
  "id": "notify-customer",
  "type": "mcp",
  "instance_id": "YOUR_WHATSAPP_INSTANCE_ID",
  "tool_name": "whatsapp_send_template_message",
  "tool_args": {
    "to": "{{input.customer_phone}}",
    "template_name": "order_shipped",
    "language_code": "en_US",
    "body_parameters": [{ "type": "text", "text": "{{input.order_id}}" }]
  },
  "contact_message": {
    "to": "{{input.customer_phone}}",
    "text": "Your order {{input.order_id}} has shipped. Reply here if you have questions.",
    "template": "order_shipped"
  }
}

What happens:

  • After the tool call succeeds, the message is added to the contact's conversation as a message from the workflow. If the call fails, nothing is recorded.
  • If recording fails, the step still succeeds, because the message was already sent. The failure is logged.
  • The message does not start a session. The contact's reply does, as usual, and the agent then sees your message in the conversation so far.
  • In the Console, Open the conversation shows the message with a Template: order_shipped label and its delivery state.
  • A step in a loop records one message per item.

Studio warns when To or Text is empty, because nothing is recorded without both.

Note

The conversation is the one between the contact and the number your connection sends from, so the step needs a connection that names its sending number. The contact's number is read as digits: +94 71 228 0951 and 94712280951 are the same contact. If WhatsApp later reports the contact under a different number than the one you sent to, their reply opens a separate conversation.

Send a template to a contact

Some channels only let you send free-form messages for a limited time after the contact's last message. On WhatsApp it is 24 hours. A reply from a person after that is accepted and then reported as not delivered (the message shows Not delivered, and the hand-off comes back in Command Center → Missed). What does reach the contact is a message template the channel has approved.

Send template lets a person do that from the Console, through the same reply channel as every other message in the session:

  1. Click Send template on a Reply not delivered row in Command Center → Missed, or in the bar above the reply box in the conversation view (Open the conversation) of a run in a workflow that has templates set up.
  2. Pick one in Template. Each option shows the template's name, language and category, and only templates the channel has approved are listed.
  3. Fill in a Value for each numbered placeholder. Preview shows the message as the contact will read it.
  4. Click Send template.

The message is recorded in the contact's conversation as sent by that person, with a Template: name label and its delivery state. From Missed, sending also marks the task followed up. When the contact replies, the session picks the conversation up with the template in its history.

If the channel refuses the template (for example the name is not approved, or a value is not allowed), the dialog shows the reason and nothing is recorded, so you can correct it and send again. If the channel accepts it and reports a failure later, the message shows Not delivered like any other.

Set it up. Open Workflow setup → Sessions → Templates. The WhatsApp defaults are filled in when you turn sessions on with a WhatsApp connection, and Reset templates to WhatsApp defaults brings them back. None: no template sending turns the action off, and in a workflow without it the dialog says so instead of listing templates.

FieldJSONNotes
Template list tool, Template list tool argumentsoutbound.templates.listReturns the templates. The default asks WhatsApp for the first 100 APPROVED templates.
Template send tool, Template send tool argumentsoutbound.templates.sendSends one template to the contact. It runs on the same connection as the reply channel unless you set instance_id.

The send tool's arguments can use {{message.template.name}}, {{message.template.language}}, {{message.template.parameters}} (the values, in order), {{message.template.text_parameters}} (the same values as a list of {text} objects, which is what WhatsApp's body_parameters takes), {{message.template.parameter_count}}, and {{message.template.text}} (the message as the person saw it in the preview). The recipient is the contact the session is with, so a value in the arguments cannot send to anyone else.

Note

Only the values in a template's body are filled in. Templates whose header is an image, video or document, whose header has a placeholder, or whose buttons take a value from the message (such as a one-time code) are not offered. The dialog tells you how many templates it left out. The channel may charge for template messages, and a business-initiated template needs the contact's opt-in. The list shows up to 100 templates.

Recipes

Each recipe is a combination of the settings above. Durations are in minutes in the Console and seconds in JSON.

You wantClose after idleLongest sessionNotes
A quick support chat30 (default)–The contact comes back later and starts fresh. With Remember each contact, the agent still sees their history.
One conversation per order or booking, open all day1440 (1 day)–Good for delivery updates and follow-up questions.
An ongoing relationship, open for a month43200 (30 days)–One run per contact for the month. Changes you make only reach new sessions (see below).
Never close on its ownA very long value, for example 525600 (1 year)–There is no "never" setting. Close sessions yourself with Stop when you need to.
A fixed window, for example a 2-hour booking session30120Closes after 2 hours even if the contact is still writing; their next message starts a new session.
Close soon after the conversation goes quiet5 to 10–Keeps runs short when each conversation is one question.
A person takes over, but a contact is never left strandedAny–Human step with Hand the conversation back and a timeout, plus Replies while nobody has answered.
A front-desk agent with back-office helpersAny–Turn on Talks in the conversation only for the front-desk agent; route work to helpers with handoffs.
Record replies without sending themAny–Connection: None: post in the conversation only. Read replies from the run (see API).
Note

For WhatsApp, Meta only allows free-form messages within 24 hours of the contact's last message. A long session is fine, because the agent answers right after a contact writes. A reply from a person sent more than a day after the contact's last message is reported as not delivered. Use Send template to reach the contact with an approved template.

Ending a session

How it endsRun statusWhat happens next
Quiet for the idle timeoutSuccessThe next message starts a new session.
Reached the longest sessionSuccessSame. If a step was working, the session closes at its next wait.
Someone clicks Stop in the Console (or the API stop command)StoppedSame.
An episode closes (done, or a terminal step completes)SuccessSame.

Watching sessions in the Console

Open the workflow in Workflow Studio and expand Run logs and metrics.

  • One row per conversation. A session shows Running while it waits for the contact. While a hand-off task is open, the row may show Paused; that is the wait for a person, and it continues on its own when they reply or the task times out.
  • Events list each message as a line: Contact: …, Agent → contact: …, Workflow → contact: … for automatic replies, Ada → contact: … for a person's reply, and notes such as Waiting for a person to reply or No reply in time; the conversation is handed back. Files show as [image: …], [voice note], [document: …], or [location: …], and a question's options follow it.
  • Each turn of a step is listed separately (Pizza assistant · turn 2), and Timeline shows the steps and messages on one time axis.
  • The Open the conversation button opens the whole thread with that contact, across sessions, with images, audio, and video playable in place and other files as downloads.
  • Hand-off tasks appear in Command Center and in the run panel, with the reply box and the messages since the hand-off.

Sessions from the API

Any source can use sessions, not only WhatsApp. Start the workflow with a conversation id in the trigger payload. The first start for that id creates the session; later starts with the same id add the message to it.

POST /v1/workflows/{id}/command
{
  "command": "start",
  "params": {
    "trigger_payload": {
      "conversation_id": "app-user-4821",
      "text": "Hi, where is my order?"
    }
  }
}
  • Use one stable conversation_id per conversation, for example your own user or ticket id.
  • The message text is read from text, or from message (a string, or an object with text).
  • The response's run_id is the conversation's run, so later messages return the same run_id while the session is open.
  • Every message the workflow sends is recorded on the run as a conversation_message_sent event. Read them with GET /v1/workflows/{id}/runs/{runID}/events, or set a reply channel that delivers them, for example Slack or email.
  • Sessions are kept per workflow: two workflows that receive the same conversation id each keep their own session.

Things to know

  • Which version runs. A session keeps the version it started with. Edits you make later (and versions you publish later) apply to sessions that start afterwards. To move an open conversation onto the new version, stop its run; the contact's next message starts a new session.
  • Bursts and order. Messages from one conversation are recorded in the order they arrive, even when they arrive at the same moment, and a burst is answered together rather than message by message.
  • What runs while waiting. Nothing. A waiting session holds no worker and runs no steps until the next message or its timer.

Common problems

ProblemWhat to try
The contact gets no replyCheck Reply channel: the Connection and Send tool must be set. With None: post in the conversation only, replies are recorded but not sent. Check that at least one agent has Talks in the conversation turned on.
Every agent answers the contactNo step has Talks in the conversation on. Turn it on for the front-desk agent only.
The conversation closed too soonClose after idle is blank or 0, which means the default of 30 minutes. Set a longer value (see Recipes).
A person's reply shows Not deliveredMore than 24 hours passed since the contact's last message. Use Send template (see Send a template to a contact).
Send template says the workflow's session has no template sending set upSet Workflow setup → Sessions → Templates, or choose Reset templates to WhatsApp defaults.
Send template lists no templatesThe channel has no approved templates, or only ones this dialog can't fill (see the note under Send a template to a contact).
The agent doesn't know what the contact is replying toYour workflow sent them a template or other message first, and the step doesn't record it. Turn on Record in the contact's conversation (see Messages your workflow starts).
A template value is missing from the agent's promptAn unfilled template is left out and listed under unresolved_inputs in the step result. Write prompts against {{input.text}} and fields every message carries.
Edit this pageagentruntime-io/agentruntime-docs