Connect the integration
Connecting your WhatsApp account to Relevance AI is a straightforward process:- Go to the “Integrations” page in the sidebar.
- Click on “WhatsApp”.
- Click on the “Add Integration” button.
- In the pop-up window, sign into your WhatsApp Business account.
- Follow the authorization steps to grant Relevance AI access to your WhatsApp account.
- Once connected, you’ll see your WhatsApp account listed under active integrations.
Setting up triggers
WhatsApp Integration can be configured as a trigger for your AI agents, allowing them to automatically respond when messages are received through WhatsApp.The WhatsApp Trigger is considered a Premium trigger, and is only available to Team plans and above. If you use this Trigger, you will incur an additional 5000 credits per month for each connected account in your organization.
- Create a new agent or edit an existing one.
- Navigate to the “Triggers” section in “Agent Profile”.
- Select “WhatsApp” from the available triggers.
- Choose the WhatsApp account you want to connect to this agent.
- Configure trigger conditions (optional):
- Respond to all incoming messages
- Respond only to specific contacts or groups
- Respond based on message content filters
- Save your trigger configuration.
Tools & Tool Steps
WhatsApp integration provides powerful tools and actions that your agents can use to engage with customers. These actions can be incorporated into your agent’s workflow at any point, not just as triggers. Here are some of the key WhatsApp actions available:Send WhatsApp Message
Send text messages to individual contacts or groups. Input parameters:- Recipient phone number or group ID
- Message content
- Optional: Attachments
Send WhatsApp Media
Share images, documents, or other media files with your contacts. Input parameters:- Recipient phone number or group ID
- Media type (image, document, audio, video)
- Media URL or file
- Optional: Caption
Send WhatsApp Template Message
Use pre-approved message templates for business communications. Input parameters:- Recipient phone number
- Template name
- Template parameters
Get WhatsApp Conversation History
Retrieve previous messages from a specific conversation. Input parameters:- Contact phone number
- Optional: Time range
Mark WhatsApp Message as Read
Update the read status of messages. Input parameters:- Message ID
Use the integration’s API tool step (advanced)
In addition to the tools and actions available in the directory, you can build custom tools that perform WhatsApp activities by using the WhatsApp API Call tool step:- Create a new tool.
- Scroll down to Tool-steps.
- Add WhatsApp API tool-step.
- Select your connected WhatsApp account in the dropdown.
Example API call:
Frequently asked questions (FAQs)
What types of WhatsApp accounts are supported?
What types of WhatsApp accounts are supported?
Relevance AI supports both WhatsApp Personal and Business accounts. To learn more about the Business accounts integration, head here.
Are there message volume limitations?
Are there message volume limitations?
Message volumes are subject to WhatsApp’s own policies and rate limits. The Relevance AI platform itself doesn’t impose additional limits beyond your plan’s credit allocation.
Can I use WhatsApp for bulk messaging?
Can I use WhatsApp for bulk messaging?
Yes, but you must comply with WhatsApp’s business policies regarding bulk messaging and ensure you have proper opt-ins from recipients.
How secure are WhatsApp conversations through Relevance AI?
How secure are WhatsApp conversations through Relevance AI?
All WhatsApp communications maintain end-to-end encryption. Relevance AI adheres to strict security protocols to ensure your conversation data remains protected.
Can multiple agents use the same WhatsApp account?
Can multiple agents use the same WhatsApp account?
Yes, you can connect multiple agents to the same WhatsApp account, but you should configure triggers carefully to avoid conflicts.