Skip to product information

24/7 Website Chatbot Workflow (n8n) with OpenAI, Sheets & Gmail

24/7 Website Chatbot Workflow (n8n) with OpenAI, Sheets & Gmail

 (200+Reviews)
Regular price £14.99
Regular price £14.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
24/7 Website Chatbot Workflow (n8n) with OpenAI, Sheets & Gmail

24/7 Website Chatbot Workflow (n8n) with OpenAI, Sheets & Gmail

Regular price £14.99
Regular price £14.99 Sale price
SAVE Sold out

Answer website questions 24/7 with an n8n chatbot—grounded in your Data Table, capturing leads only with consent

This 24/7 Website Chatbot Workflow (n8n) powers your @n8n/chat widget to respond to visitors using an OpenAI-powered agent grounded in your n8n Data Table knowledge base, while managing per-session memory, collecting leads in Google Sheets only after explicit consent, notifying you via Gmail, and logging unanswered questions for follow-up.

What this workflow does

  • Receives visitor messages from the @n8n/chat widget trigger.
  • Cleans and validates input; if the message is empty, it returns a prompt to the visitor.
  • Uses an OpenAI-powered agent with session memory to search the n8n Data Table knowledge_base and generate a structured, grounded reply.
  • Captures leads with consent: when the visitor explicitly consents and provides a name and a valid email, it appends the lead to a Google Sheets “Leads” tab and sends you a Gmail notification.
  • Handles unsupported answers: if the answer isn’t supported, it logs the question to the n8n Data Table unanswered_questions (including missing info) and returns a fallback response offering human follow-up.

Use cases

  • SaaS sites that want instant, accurate support using a curated knowledge_base.
  • Teams that need lead capture from chat, but only after explicit consent.
  • Operators who want unanswered questions logged for later follow-up instead of lost conversations.

Technical details

  • OpenAI (or n8n AI Gateway) for the chat agent.
  • n8n Data Tables: knowledge_base and unanswered_questions with the expected string columns.
  • Google Sheets: OAuth integration, write to a Leads sheet.
  • Gmail: OAuth integration to email you notifications.
  • Includes workflow logic nodes such as if, set, and supporting nodes used in the flow (e.g., sticky note).
View full details