Documentation Index
Fetch the complete documentation index at: https://arivu.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What the backend needs
The WhatsApp adapter inintegrations/whatsapp_adapter.py runs as a FastAPI webhook server backed by Twilio.
Required values:
TWILIO_ACCOUNT_SIDoraccount_sidTWILIO_AUTH_TOKENorauth_tokenTWILIO_WHATSAPP_FROMorfrom_number- Optional
admin_numbersfor approval control - A public webhook URL if you are using Twilio outside local development
What WhatsApp users can do
Text Queries
Send a message and Arivu will run the query pipeline.
Voice Messages
Send a voice note and Arivu will transcribe it before querying.
Image Messages
Send an image or screenshot and Arivu will OCR the text.
Keyword Actions
Reply with APPROVE, REJECT, GOOD, or BAD for approvals and feedback.
Setup steps
Create a Twilio account
Enable the WhatsApp sandbox or connect a production WhatsApp sender in Twilio.
Add admin numbers
Pass E.164 phone numbers in
admin_numbers so approval messages go to the right people.Example
Backend behavior
- Session IDs are mapped as
whatsapp:{E164_number}. - APPROVE / REJECT replies resolve pending SQL approvals.
- GOOD / BAD replies store RLHF feedback.
- Voice and image attachments are optional extensions; if dependencies are missing, install the extra packages from the adapter docstring.
- Twilio signature validation is enabled by default and can be skipped locally with
TWILIO_SKIP_VALIDATION=1.
WhatsApp is webhook-based. You need a reachable URL for Twilio to call in production.

