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

# Respond.io

> Let your Oktivo AI agent send WhatsApp template messages and manage contacts in Respond.io

# Respond.io

Connect your Respond.io workspace from **Connecter > MCP**. Your AI agent can then look up contacts, update them and send WhatsApp template messages with details taken from the conversation, such as the customer's name or an order number.

> [!NOTE]
>
> Availability depends on your Oktivo plan. If you do not see **MCP** under **Connecter**, ask support to enable it.

## Before you start

* A Respond.io workspace with a WhatsApp channel connected.
* At least one **approved** WhatsApp template in Respond.io. Templates with variables such as `{{1}}` and `{{2}}` let the agent fill in details.
* A Respond.io API access token. Create it in Respond.io under **Settings > Integrations > Developer API**.

## Connect Respond.io

1. Open **Connecter > MCP** and click **Add integration tool**.
2. Choose **Respond.io**.
3. Paste your API access token. Oktivo checks it with Respond.io before saving.
4. Choose where it applies: **All agents** or only selected agents.
5. Turn on the tools you want the agent to use (see below), then save.

Only one Respond.io connection is allowed per account.

## Choose the tools

After connecting, every tool starts switched off. Turn on only what the agent needs.

To send a WhatsApp template, turn on these three:

* `list_channels` finds your WhatsApp channel.
* `list_templates` shows the approved templates for that channel.
* `send_message` sends the message.

> [!WARNING]
>
> Tools such as `send_message`, `create_contact`, `update_contact` and `delete_contact` change real data and send real messages to real customers. They are marked as write tools. Enable them only for agents you trust with that.

You can also set each tool to **all agents** or **selected agents**, switch the whole connection off with the **Active** toggle, and refresh the tool list if Respond.io adds new tools.

## Tell the agent which template to use

In the agent's prompt, name the template and say when to send it. For example:

> After the customer confirms their order, send the WhatsApp template `order_update` in English. Put the customer's first name in the first variable and the order number in the second.

The agent fills each variable in order (`{{1}}`, `{{2}}`, ...) with the details it has from the call.

## Things to know

* The templates come from your **Respond.io** workspace. They are not the templates in Oktivo's own WhatsApp page.
* Messages are sent and billed through your Respond.io and WhatsApp account. Respond.io's WhatsApp rules apply, including the 24-hour window and template approval.
* The customer's phone number must be in international format, for example `+919876543210`.

## Troubleshooting

| Message | What to do |
| - | - |
| Respond.io rejected this access token | Create a new token in Respond.io and paste it again. |
| Respond.io is not reachable right now | Wait a minute and try again. |
| Too many attempts | Wait about 10 minutes before trying again. |
| A Respond.io integration already exists | Edit the existing connection instead of adding a second one. |
| The agent does not send the message | Check that `send_message` is on and that the agent is included in the connection. |


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