{"product_id":"ai-whatsapp-support-bot-workflow-google-drive-openai-telegram","title":"AI WhatsApp Support Bot Workflow: Google Drive + OpenAI + Telegram","description":"\u003ch3\u003eAI WhatsApp Support Bot Workflow with Google Drive Knowledge + OpenAI + Telegram Handoffs\u003c\/h3\u003e\n\u003cp\u003eTurn your WhatsApp customer questions into instant, accurate support replies—powered by OpenAI and your own Google Drive documents—while automatically escalating to your team via Telegram when a human is needed. This n8n workflow builds an AI knowledge base from Google Drive, answers from it, and logs every handoff to Google Sheets.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInitial setup (manual run):\u003c\/strong\u003e Creates n8n Data Tables for chat sessions, messages, and the knowledge base, then indexes documents from a \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e folder.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOngoing knowledge sync (hourly):\u003c\/strong\u003e Scans the Google Drive folder for \u003cem\u003enew, changed, or deleted\u003c\/em\u003e files and keeps the knowledge base table in sync.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWhatsApp message handling:\u003c\/strong\u003e Triggers on incoming WhatsApp messages, skips duplicates and old messages, transcribes \u003cstrong\u003evoice notes\u003c\/strong\u003e with \u003cstrong\u003eOpenAI\u003c\/strong\u003e when present, and stores customer messages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHuman vs AI routing:\u003c\/strong\u003e Checks whether the chat is currently assigned to a human; if not, it proceeds with AI.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI answer from your documents:\u003c\/strong\u003e Retrieves recent conversation history, creates OpenAI embeddings for the customer question, ranks the most relevant document passages from the knowledge base, and prompts an OpenAI chat model to answer \u003cem\u003eonly from those passages\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram handoff when needed:\u003c\/strong\u003e If the AI can’t answer or a human is requested, it pauses the bot for that chat, alerts a \u003cstrong\u003eTelegram\u003c\/strong\u003e group with context, logs the handoff to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and sends a handoff message back to the customer on WhatsApp.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCustomer support for SaaS products using policy, FAQ, and docs stored in Google Drive\u003c\/li\u003e\n  \u003cli\u003e24\/7 WhatsApp question answering with reliable document-grounded responses\u003c\/li\u003e\n  \u003cli\u003eAutomatic escalation to a human support team via Telegram with full conversation context\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e WhatsApp (triggering and replies), \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e, \u003cstrong\u003eOpenAI\u003c\/strong\u003e, \u003cstrong\u003eTelegram\u003c\/strong\u003e, \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/logic mentioned:\u003c\/strong\u003e if, set, code, filter, switch, telegram\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData storage:\u003c\/strong\u003e n8n Data Tables for chats, messages, and knowledge base\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46196306051251,"sku":"N8N-20732","price":16.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/PHmbMjRTlMqTvH9RLWXDv_zfAFv8Ym.png?v=1791622924","url":"https:\/\/buyflowscripts.com\/products\/ai-whatsapp-support-bot-workflow-google-drive-openai-telegram","provider":"N8N Commerce","version":"1.0","type":"link"}