Templates / Handle WhatsApp customer chats with OpenAI and Data Tables

Handle WhatsApp customer chats with OpenAI and Data Tables

Ready for 3.0

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

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 34 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud, OpenAI, OpenAI Chat Model and Data table and 1 more.

How it runs

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

  1. Setup Conversation Table (Data table): create (table)
  2. Set Configuration Parameters (Edit Fields (Set)): sets 10 fields: businessName, assistantName, businessInfo…
  3. Setup FAQ Table (Data table): create (table)
  4. Parse WhatsApp Messages (Code): runs custom JavaScript code
  5. Filter Unread Messages (Data table): row not exists
  6. Log New Messages (Data table): insert (row)
  7. Route by Message Type (Switch): routes items into 3 branches
  8. Extract Media Link (WhatsApp Business Cloud): media url get
  9. Store Message Text (Data table): update (row)
  10. Verify File Accessibility (If): checks a condition and branches into true / false

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

Services it uses

WhatsApp Business CloudOpenAIOpenAI Chat ModelData tableTelegram

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 (16)

From the author

Quick overview This workflow creates Data Tables for message logging and FAQ, then runs a WhatsApp Cloud API assistant that can read text, voice notes, images, and PDFs, uses OpenAI to respond with conversation memory, and alerts via Telegram when failures…

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.