Templates / Handle WhatsApp event bookings with OpenAI and Google Sheets

Handle WhatsApp event bookings with OpenAI and Google Sheets

Ready for 3.0

by isaWOW ✓ · 39 views · created 2026-09-04 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 22 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenAI Chat Model, Google Sheets and Postgres Chat Memory.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Set config (Edit Fields (Set)): sets 4 fields: waha_api_url, waha_api_key, waha_session…
  2. Load the system prompt (Data table): get
  3. Message to our number? (If): checks a condition and branches into true / false
  4. Prepare customer message (Edit Fields (Set)): sets 4 fields: session, prompt, user_message…
  5. Sent by us? (If): checks a condition and branches into true / false
  6. Not our own chat? (If): checks a condition and branches into true / false
  7. Prepare our own message (Edit Fields (Set)): sets 3 fields: session, prompt, our_message
  8. Reply agent (AI Agent): runs an AI agent, with model: Chat model - Agent; 5 tools (All events tool, Save booking tool, Events by date tool, Image analysis tool…); memory: Conversation memory; output parser: Output Parser - Reply fields
  9. Should we reply? (If): checks a condition and branches into true / false
  10. Has an image? (If): checks a condition and branches into true / false

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

Services it uses

OpenAI Chat ModelGoogle SheetsPostgres Chat Memory

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

From the author

Quick overview This workflow receives inbound WhatsApp messages via a WAHA webhook, uses OpenAI with Postgres chat memory and Google Sheets tools to answer event and booking questions, and replies back over the WAHA API with either text or an image caption.…

Excerpt from isaWOW'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.