# Run a WhatsApp AI support bot with Google Drive, OpenAI, and Telegram

> Quick overview This workflow runs an AI WhatsApp support bot that answers using Google Drive documents indexed into n8n Data Tables with OpenAI embeddings, and hands conversations to your team via Telegram when needed while logging handoffs to Google Sheets. How it works 1. Runs once manually to create n8n Data Tables for chats, messages, and the knowledge base, then indexes documents from a Google Drive folder. 2. Runs every hour to list supported files in the Google Drive folder, detect new/changed/deleted documents, and keep the knowledge base table in sync. 3. Triggers on incoming WhatsApp messages, skips duplicates and old messages, transcribes voice notes with OpenAI when present, and saves the customer message to the messages table. 4. Checks whether the chat is currently assigned to a human and either forwards the message to a Telegram group or proceeds with the AI response. 5. Retrieves recent conversation history, embeds the customer question with OpenAI, ranks the most relev

- **Domain**: `n8n-workflow-20732.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20732
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20732.n8n.io
- Documentation: https://n8n.io/workflows/20732
