Gmail & WhatsApp-ல் மெசேஜ் வருவதில் இருந்து, Google Gemini AI Tamil Voice Briefing, Naga-வின் குரல் பதில், மற்றும் Client-க்கு WhatsApp Auto Reply வரை முழுமையான விளக்கம்.
Clients send emails (Gmail) or WhatsApp messages regarding quotation approvals, payment terms, delivery inquiries, or urgent complaints.
Your n8n workflow triggers instantly on new Gmail/WhatsApp messages, standardizes the JSON payload, and securely POSTs to Arya's webhook with header authentication.
https://ai.tenkasidreams.com/backend/webhooks/n8n.php [x-n8n-secret]
Lightweight ultra-fast regex filter evaluates the message. OTPs, bank marketing, promotional spam, and trivial "thank you" messages are handled in 1ms without invoking Gemini API.
Gemini analyzes urgency, extracts the client's intent, decides if a phone call is mandatory, and creates a natural conversational spoken Tamil briefing with English business terms.
Arya calls Naga's phone via Telephony. Arya speaks in natural Chennai Tamil, briefs Naga in 30 seconds, and asks for instructions on what reply to send.
Naga answers naturally on the phone. The voice recognition engine transcribes Naga's words and triggers the post-call webhook.
Gemini AI receives Naga's rough verbal instruction and translates it into a polished, polite, and professional business reply tailored for WhatsApp.
The message is automatically dispatched back to the client's WhatsApp via WhatsApp Cloud API or n8n outbound webhook. A completed Action Task with full audit trail is saved in the dashboard!
| Service / Component | Method & Endpoint URL | Authentication / Headers | Role in Workflow |
|---|---|---|---|
| n8n Inbound Webhook | POST /backend/webhooks/n8n.php |
x-n8n-secret: dev_n8n_secret_token_12345 |
Receives new client emails/messages from n8n |
| WhatsApp Cloud API | GET/POST /backend/webhooks/whatsapp.php |
hub.verify_token: dev_whatsapp_verify_token_12345 |
Direct Meta WhatsApp Business webhook integration |
| Post-Call Webhook | POST /backend/webhooks/post-call.php |
Internal / Telephony bearer | Captures Naga's verbal reply & triggers auto-dispatch |
| Executive Simulation API | POST /backend/api/simulate.php |
Browser Session / REST | Simulates incoming messages directly from Dashboard |