π€ Build Your Own WhatsApp AI Assistant with Twilio + Make.com + OpenAI π

Want to respond to WhatsApp messages automatically with AI-generated replies? π€© In this blog, I'll walk you through the exact steps I followed using Make.com, OpenAI or Together AI, and Twilio to create an intelligent WhatsApp chatbot β no coding required! π
π Tools Youβll Need:
π Make.com
π§ OpenAI or Together AI
π» Postman (optional for testing)
π οΈ Step 1: Setup Twilio WhatsApp Sandbox
Go to Twilio Console
Navigate to Messaging β Try it out β Send a WhatsApp Message
Register your personal WhatsApp number.
Save the From Number (
whatsapp:+14155238886) and Sandbox credentials (Account SID & Auth Token).
π§© Step 2: Create Scenario in Make.com
Go to Make.com and click Create a new Scenario
Add the first module β Webhooks β Custom Webhook
Click on the module β Add a new webhook β Copy the generated URL.
π² Step 3: Test Webhook Trigger
Open Postman or any webhook testing tool
Send a POST request to your webhook URL with this JSON:
{
"from": "91970017XXXX",
"message": "Hi AI"
}
β Once it captures, click OK on Make.com.
π€ Step 4: Add OpenAI or Together AI API Call
Add HTTP β Make a Request module
Use the following setup:
Method:
POSTURL:
https://api.together.xyz/v1/chat/completionsor OpenAI URLHeaders:
Authorization: Bearer YOUR_API_KEYContent-Type:
application/jsonBody (Raw JSON):
{
"model": "mistralai/Mistral-7B-Instruct-v0.1",
"messages": [
{ "role": "user", "content": "{{1.message}}" }
]
}
π¬ Step 5: Send Reply via Twilio
Add another HTTP β Make a Request module
Set:
Method:
POSTURL:
https://api.twilio.com/2010-04-01/Accounts/YOUR_SID/Messages.jsonAuth: Basic (Username = Account SID, Password = Auth Token)
Body Type:
x-www-form-urlencodedFields:
To:whatsapp:+91970017xxxxFrom:whatsapp:+14155238886Body:{{2.choices[0].message.content}}
β Final Result
Now, when someone sends a message to your WhatsApp sandbox number, they will receive a smart AI-generated reply! π―
π‘ Tips
Add logging with Google Sheets or Airtable
Use Make.com filters to control responses
Upgrade to production WhatsApp after testing
π Wrap-up
You've just created an intelligent WhatsApp AI Assistant using no-code tools! π§ π¬ If you liked this tutorial, follow me for more AI + automation ideas.

