Complete workflow blueprint for the Website Team and WhatsApp API Backend Team to build the auto-reply consultation system.
Convert social media visitors → WhatsApp users → consultation leads → course students automatically, with zero manual effort for routine queries.
Users arrive from multiple platforms and click the WhatsApp CTA button.
Each traffic source opens WhatsApp with a pre-filled message via the wa.me link.
| Time Range | Greeting Sent | Emoji |
|---|---|---|
| 06:00 – 11:59 | Good Morning | 🌞 |
| 12:00 – 16:59 | Good Afternoon | ☀️ |
| 17:00 – 20:59 | Good Evening | 🌆 |
| 21:00 – 05:59 | Good Night | 🌙 |
📌 Developer Note: Store selection as user.language = "ta" or "en" in the users table. All subsequent messages must use this language.
Keywords also trigger this: alp what is alp astrology system
Keywords: consultation prediction service
Keywords: course learn class training
📌 Sub-flow on selecting Basic: Show batch options → Morning / Evening → Collect enrollment details → Confirm
Keywords: fees price cost
Keywords: book appointment
System asks user to submit birth details one by one, OR sends the website booking link.
📌 Developer Action: Forward chat to Admin WhatsApp number AND log in CRM dashboard. Mark user state as human_handover = true so bot does not auto-reply further.
When the bot receives a message it cannot recognize, it sends the fallback menu to re-engage.
| User Types | Bot Routes To | Priority |
|---|---|---|
| alp / what is alp / astrology | Flow 1 — About ALP | Medium |
| consultation / prediction / service | Flow 2 — Services | High |
| course / learn / class / training | Flow 3 — Courses | High |
| fees / price / cost / charge | Flow 4 — Pricing | Medium |
| book / appointment / schedule | Flow 5 — Appointment | High |
| support / help / talk / human | Flow 6 — Handover | Low |
Add WhatsApp click buttons on every page. Use these URLs:
Build an HTML form that POSTs data to the backend webhook and sends an email notification.
On submit → POST to webhook → Save to DB → Send email alert to admin
| Provider | Recommendation |
|---|---|
| Meta WhatsApp Cloud API | ✅ Recommended |
| WATI | Good |
| Twilio WhatsApp | Good |
| Gupshup | Alternative |
| 360Dialog | Alternative |
| Layer | Options |
|---|---|
| Backend Server | Node.js · Python Flask · Firebase Functions |
| Database | Supabase · MySQL · MongoDB · Firebase |
| Email Alerts | SendGrid · Nodemailer · SMTP |
| Hosting | Vercel · Railway · Render · AWS |