Receive every inbound message as a webhook. Reply via REST API. Plug in GPT, Claude, or any AI model — WABridges handles the WhatsApp connection, you handle the logic.
WhatsApp is where your users already are. Building a bot for it shouldn't require a business account approval, a 90-day review process, or per-message billing that scales against you.
WABridges gives you a real WhatsApp number under full API control. Inbound messages arrive as webhooks. Replies go out as REST calls. Everything between is yours to build.
I want to build a WhatsApp chatbot using WABridges for the WhatsApp connection and an AI model to generate replies. My stack: [Node.js — update this] My setup: - WA_API_KEY: my WABridges API key - OPENAI_API_KEY: my OpenAI key (or tell me how to swap for another model) - Bridge customer_ref: "my-bot" I need: 1. A webhook endpoint that receives inbound messages from WABridges 2. Conversation history tracked per chat_id (in-memory is fine to start) 3. Each message sent to gpt-4o-mini with a system prompt I can customize 4. The AI reply sent back via the WABridges send API 5. The webhook must respond quickly — process the AI call asynchronously Please read the WABridges API docs before writing: https://wabridges.com/llms-full.txt Keep it under 60 lines if possible. Add a comment where I should customize the system prompt.