WhatsApp tools

Let your agent send messages on WhatsApp with tools

Overview

You can give your agent a tool to send messages on WhatsApp, even during conversations on another channel (e.g. phone).

Setup

1

Import your account

Follow the instructions here to import your WhatsApp business account.

2

Add an integration

Go to the Integrations page, click the Add integration button, select WhatsApp and connect your account:

WhatsApp integration
3

Add a tool

Go to the Tools page, click the Add integration tool button, select the WhatsApp integration and the Send Message tool:

WhatsApp tool

Using the tool

1

Create a message template

Go to WhatsApp Manager, open the Manage templates page and create a message template:

WhatsApp message template
The tool currently only supports parameters in message body.
2

Configure your agent

Go to your agent configuration and add the tool:

Agent configuration: tools

In the system prompt, tell the agent: - when to use the tool - what template name and language code to use - what parameters to pass

Agent configuration: prompt
3

Test

Finally, it’s time to test the tool configuration:

Test conversation
Test message received