Tutorial: Setting Up WhatsApp AI Auto-Responder
Learn how to enable OpenRouter-powered automated customer replies on WhatsApp.
Tutorial Goals
- Configure .
OPENROUTER_API_KEY - Define tenant-specific knowledge base text.
- Enable vision AI for image attachments.
Step-by-Step Walkthrough
Step 1: Set API Key in Environment
Add your OpenRouter key in :
services/api/.envenv
OPENROUTER_API_KEY=sk-or-v1-...
WA_CHATBOT_ENABLED=True
WA_CHATBOT_TEXT_MODEL=stepfun/step-3.5-flash
WA_CHATBOT_VISION_MODEL=openai/gpt-4o
Step 2: Test AI Responses
Send a test question to to verify AI response generation.
/api/chatbot/test/