تفاصيل العمل

2. Autonomous WhatsApp AI Customer Support Agent

An intelligent WhatsApp support agent utilizing WAHA (WhatsApp HTTP API), n8n, and LangChain to handle customer queries, maintain conversation memory, and pull live product pricing.

⚙️ Workflow Architecture & Node Breakdown

Webhook Node: Ingests live inbound WhatsApp message events dispatched from a local WAHA container.

AI Agent Node (LangChain): Serves as the central decision engine, applying system instructions to maintain a professional, business-focused tone and prevent off-topic responses.

Google Gemini Chat Model: Powers natural language processing, intent recognition, and contextual response generation.

Simple Memory (Window Buffer): Persists session dialogue history keyed by the user's phone number ($json.body.payload.from) to enable context-aware, multi-turn conversations.

get_latest_pricing (Google Sheets Tool): Custom LangChain tool allowing the AI agent to query live stock availability and package pricing from a connected Google Sheet.

HTTP Request Node: Posts generated AI text responses back to the customer via the WAHA API sendText endpoint.

ملفات مرفقة

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
تاريخ الإضافة