Skip to main content
The example below shows how to send a template message using Agno’s WhatsApp tools. For more complex use cases, check out the WhatsApp Cloud API documentation: here
whatsapp_tools.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as whatsapp_tools.py, then run:
Full source: cookbook/91_tools/whatsapp_tools.py