My First Client. My First WhatsApp AI Agent. Countless Bugs. One Big Lesson.
๐Ÿš€ Just shipped my first WhatsApp AI Agent for a real client (a bicycle business) โ€” completely solo.
This project reminded me that real learning doesn't come from watching tutorials. It comes from solving problems that seem impossible at first.
Here's what I built:
โœ… WhatsApp Automation using n8n (self-hosted on Railway)
โœ… Meta WhatsApp Cloud API webhook integration
โœ… AI-powered conversations using Gemini
โœ… Conversation memory for each customer
โœ… Human-like automated replies in WhatsApp
It sounds simple when it's finished.
It wasn't.
Here are some of the challenges I had to overcome:
โ€ข Webhook verification kept failing because Meta uses GET requests for verification but POST requests for actual messages.
โ€ข "App ID already has a webhook subscription" errors caused by switching between Test mode and Published workflows.
โ€ข Even after webhook verification, messages never reached n8n because the WhatsApp Business Account wasn't actually subscribed to receive events through the Graph API.
โ€ข Tiny field-name mismatches between n8n nodes silently broke the AI Agent.
โ€ข Hit Gemini's free-tier rate limits right in the middle of testing.
The biggest lessons I learned:
1๏ธโƒฃ Debugging is a skillโ€”not proof that you're failing. Every error taught me something new about Meta's APIs, webhooks, and n8n.
2๏ธโƒฃ Read the error message carefully. Most breakthroughs came from understanding what the system was actually telling me instead of making assumptions.
3๏ธโƒฃ Separate verification logic from business logic. Handling Meta's GET verification separately from POST message processing made the workflow much easier to understand and maintain.
4๏ธโƒฃ Building solo forces you to truly understand your entire stack. From Meta's Graph API to webhook subscriptions and n8n's execution model, I had to learn every piece.
Next, I'm working on:
โ€ข Making the AI sound even more natural
โ€ข Adding FAQ handling
โ€ข Reusing this architecture for future client projects
A huge thank you to this community. Reading about other builders' debugging journeys kept me motivated when things weren't working.
If anyone is building with WhatsApp Cloud API + n8n and gets stuck, I'm happy to share what I learned. ๐Ÿ™Œ
๐Ÿ’ญ There were moments when I felt like saying, "This isn't for me."
Every error made me question myself.
But instead of giving up, I kept telling myself:
"Never give up. Keep building. Keep learning."
Then I realized something...
These weren't failures.
They were lessons.
This is not the hard part.
This is the learning phase.
And for me...
This is just the beginning.
๐Ÿš€ I won't quit. I will keep building. I will keep improving. And one day, I will win.
12
21 comments
Mohammed Risath
5
My First Client. My First WhatsApp AI Agent. Countless Bugs. One Big Lesson.
AI Automation Agency Hub
skool.com/learn-ai
Start & Scale your own AI Automation Agency. Learn to build AI solutions, land clients & get paid. From the creators of the AAA business model.
Leaderboard (30-day)
Powered by