> ## Documentation Index
> Fetch the complete documentation index at: https://cntillion.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp interactive messages

> Let your agent offer up to three reply buttons or a list of up to ten options in a WhatsApp conversation, and read back exactly which one the customer tapped.

Instead of asking the customer to type an answer, the agent can send a
WhatsApp **interactive message**: up to three tappable reply buttons, or a
list of up to ten options. The tap comes back as the customer's next message,
and the agent sees exactly which option was chosen.

Interactive messages work in live WhatsApp message conversations only. The
agent sends them with two tools:

* **Send interactive buttons**: one to three reply buttons, for a few choices.
* **Send interactive list**: options grouped into sections, for more than
  three.

Meta describes the formats in its
[guide to interactive messages](https://developers.facebook.com/docs/whatsapp/guides/interactive-messages/).

## Turn the tools on

**1. Import your WhatsApp account and assign the agent**

See [Getting started](https://cntillion.com/docs/channels/whatsapp/getting-started.md). The tools only
run in conversations on the number they are bound to, so the agent must be
the one assigned to that number.

**2. Add the tools**

On the agent's **Tools** page, choose **Add tool**, **New tool**, then **Integration**,
pick **WhatsApp**, and add **Send interactive buttons** and **Send
interactive list**. Under **WhatsApp account**, choose the number this
agent answers.

> [!WARNING]
>
> With more than one imported number, pick the account this agent answers.
> A tool bound to another account does nothing in this agent's
> conversations.

The tools always message the customer of the live conversation: the agent
chooses the content, never the recipient.

## Interactive buttons

**Send interactive buttons** shows one to three choices.

| Parameter | Required | What it is |
| - | - | - |
| `body_text` | Yes | The message above the buttons. Up to 1,024 characters. |
| `buttons` | Yes | One to three buttons, in display order. Titles must be different. |
| `footer_text` | No | Small print under the buttons. Up to 60 characters. |

Each button has:

| Field | Required | What it is |
| - | - | - |
| `id` | Yes | What comes back when the customer taps it. Up to 256 characters. |
| `title` | Yes | The button's label. Up to 20 characters. |

## Interactive list

**Send interactive list** shows options grouped into sections. The customer
opens the list and picks a row.

| Parameter | Required | What it is |
| - | - | - |
| `body_text` | Yes | The message above the list. Up to 4,096 characters. |
| `button_text` | Yes | The label of the button that opens the list. Up to 20 characters. |
| `sections` | Yes | One to 10 sections, with at most 10 rows across all of them. |
| `header_text` | No | A heading above the message. Up to 60 characters. |
| `footer_text` | No | Small print under the list. Up to 60 characters. |

Each section has a `title` (up to 24 characters) and `rows` (one to 10). Each
row has:

| Field | Required | What it is |
| - | - | - |
| `id` | Yes | What comes back when the customer picks it. Up to 200 characters. |
| `title` | Yes | The row's label. Up to 24 characters. |
| `description` | No | Text under the label. Up to 72 characters. |

Content over a limit fails the tool call, and the agent is told what to
shorten so it can try again.

## What the agent sees when the customer taps

The tap arrives as the customer's next message, with the option's title and
id, for example:

```text theme={null}
[Tapped the reply button "Tuesday 10:00" (id: slot_2026-08-20_10am)]
```

If the customer types an answer instead of tapping, the agent gets the text
as usual.

## Prompt the agent

Tell the agent in its system prompt when to offer choices:

```text theme={null}
When the customer must pick from a fixed set of options (appointment slots,
documents they have, yes or no), use Send interactive buttons for up to 3
options or Send interactive list for more. Keep titles short. Never use them
for open questions. After sending, add one short line of text and wait for
the customer's choice.
```

### Optional: a procedure for interactive messages

A [procedure](https://cntillion.com/docs/agents/procedures.md) can steer how the agent uses the tools.
Adapt this one to your flows and keep only the tools your agent has:

```markdown theme={null}
---
name: Offer choices with interactive messages
trigger: The customer must pick from a fixed set of known options in a WhatsApp conversation, such as appointment slots, document types or a yes/no confirmation.
---

Offer the options as an interactive message instead of asking the customer to
type an answer.

1. Use Send interactive buttons for 2 to 3 options and Send interactive list
   for 4 to 10. If only one of the two tools is available, use it when the
   options fit its limits; otherwise ask in plain text. Never offer more than
   10 options: narrow them down with a question first.
2. Write one clear question in body_text.
3. Give every option a stable id (for example slot_2026-08-20_10am) and a
   short title: 20 characters for buttons, 24 for list rows.
4. In a list, group related rows into titled sections, and add a description
   only when a title alone is ambiguous.
5. Send it, then wait for the reply. Don't send another interactive message
   before the customer answers.
6. Confirm the choice in one short line and continue.

Rules:
- Never use interactive messages for open-ended questions.
- When the options may not cover everyone, add a last option such as
  "Something else" and follow up with a question.
- If the tool says content is too long, shorten it and retry once.
- If the customer types an answer instead of tapping, accept it.
```

## Limits

* Interactive messages go only in **message** conversations: not during
  WhatsApp calls, and not on other channels.
* They are session messages: they can only be sent within 24 hours of the
  customer's last message, never as the first message. To start a
  conversation, send a [template](https://cntillion.com/docs/channels/whatsapp/outbound.md).
* WhatsApp Flows (interactive forms) are not supported. A Flow reply goes to
  your team instead of the agent.
* In Preview, the tools check the content and simulate the send; nothing goes
  to WhatsApp.

## Related

> [card] [WhatsApp tools](https://cntillion.com/docs/channels/whatsapp/tools.md)
>
> Send a template from any channel, calls included.

> [card] [Getting started](https://cntillion.com/docs/channels/whatsapp/getting-started.md)
>
> Import a number and have your first conversation.

> [card] [Troubleshooting and FAQ](https://cntillion.com/docs/channels/whatsapp/troubleshooting.md)
>
> When a message isn't delivered or the agent doesn't answer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.