YUNOVA · AI Agents

Module 10: A support agent, end to end

Notes for offline study · 30 November 2026

Scoping what the agent answers

Key points

  • Support agent बनाने से पहले तय करें कि वह किन सवालों का जवाब देगा, जैसे order status, delivery या return policy।
  • यह भी तय करें कि किन सवालों पर वह मना करेगा या human को भेजेगा।
  • छोटे और साफ़ scope से agent ज़्यादा सही जवाब देता है और गलती का खतरा कम होता है।
  • Agent को साफ़ नियम दें कि कब human को बात सौंपनी है: गुस्साया customer, refund, शिकायत या जवाब न मिलना।
  • Handover के समय बातचीत की summary human तक पहुँचाएँ, ताकि customer को सब दोबारा न बताना पड़े।
  • Customer को बताएँ कि उसकी बात एक इंसान तक भेजी जा रही है और लगभग कब जवाब मिलेगा।

Loading the business's FAQs and policies

Key points

  • Business के FAQs, policies और product जानकारी agent को knowledge base के रूप में दी जाती है।
  • छोटे data को सीधे system prompt में रखा जा सकता है; बड़े data के लिए RAG और vector store इस्तेमाल करें।
  • Policies बदलने पर knowledge base भी update करें, वरना agent पुरानी जानकारी देगा।

Connecting WhatsApp or a website chat

Key points

  • Website chat के लिए chat widget या webhook से messages agent तक पहुँचाए जाते हैं।
  • WhatsApp के लिए WhatsApp Business Platform (Meta का official API) या उसका कोई provider इस्तेमाल होता है।
  • हर customer के phone number या chat ID को session ID बनाकर उसकी बातचीत अलग रखें।
  • WhatsApp की messaging policies का पालन करें, जैसे customer की अनुमति और message templates के नियम।

Hosting and keeping it running

Key points

  • n8n को n8n Cloud पर या अपने server पर self-host करके चलाया जा सकता है।
  • Agent को 24 घंटे चलाने के लिए उसे अपने laptop के बजाय server या cloud पर रखें।
  • Errors पर alert, executions पर नज़र और नियमित backup रखें, ताकि कुछ टूटे तो तुरंत पता चले।

Reviewing conversations and improving the agent

Key points

  • असली बातचीत नियमित रूप से पढ़ें और देखें कि agent कहाँ गलत, अधूरा या धीमा रहा।
  • बार-बार आने वाले नए सवालों को FAQs या knowledge base में जोड़ें।
  • गलत जवाबों से system prompt या tool descriptions सुधारें और बदलाव के बाद दोबारा test करें।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.