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

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

Ready for 3.0

by Anna Cole ✓ · 7 views · created 2026-10-10 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 58 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects WhatsApp Business Cloud, Telegram, Google Drive and OpenAI and 2 more. It also calls api.openai.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).

  1. Create Chats Data Table (Data table): create (table)
  2. Set Configuration Fields (Edit Fields (Set)): sets 15 fields: businessName, assistantName, driveFolderId…
  3. Create Messages Data Table (Data table): create (table)
  4. Route by Message Source (Switch): routes items into 2 branches
  5. Create Knowledge Data Table (Data table): create (table)
  6. Parse WhatsApp Messages (Code): runs custom JavaScript code
  7. Parse Team Telegram Reply (Code): runs custom JavaScript code
  8. List Google Drive Files (Google Drive): work with file folder
  9. Filter Seen Messages (Data table): row not exists
  10. Retrieve Customer Chat Details (Data table): get (row)

…plus 42 more steps. See the full node list below.

Services it uses

WhatsApp Business CloudTelegramGoogle DriveOpenAIOpenAI Chat ModelGoogle Sheets

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (20)

From the author

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.…

Excerpt from Anna Cole's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.