Prerequisites
This cookbook demonstrates how to use WhatsApp integration with Agno. Before running this example, you'''ll need to complete these setup steps:-
Create Meta Developer Account
- Go to Meta Developer Portal and create a new account
- Create a new app at Meta Apps Dashboard
- Enable WhatsApp integration for your app here
- Set Up WhatsApp Business API You can get your WhatsApp Business Account ID from Business Settings
-
Configure Environment
- Set these environment variables:
- Set these environment variables:
- For first-time outreach, you must use pre-approved message templates here
- Test messages can only be sent to numbers that are registered in your test environment
Example
The following agent will send a template message using WhatsApp:cookbook/14_tools/whatsapp_tool.py
Toolkit Params
Toolkit Functions
Developer Resources
- View Tools