Handle after-hours WhatsApp support with NUACOM, OpenAI and Google Calendar
UnknownWhat this workflow does
This AI workflow has 17 nodes and runs on Nuacom events (message received). Along the way it connects OpenAI Chat Model, Data table, Google Calendar and Nuacom (community).
How it runs
Trigger: On Nuacom events (message received).
- Only Messages from a specific number (Filter): keeps only the items that match a condition
- Normalize Message (Edit Fields (Set)): sets 4 fields: contactNumber, messageText, messageId…
- Business Hours Settings (Edit Fields (Set)): sets 3 fields: openTime, closeTime, timezone
- Is it outside business hours? (If): checks a condition and branches into true / false
- Assign Chat to AI Chatbot (Nuacom): assign conversation (messages)
- AI Chatbot Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 6 tools (check_calendar, book_appointment, cancel_appointment, assign_to_human_agent…); memory: Conversation Memory
- Send WhatsApp Reply (Nuacom): send whatsapp message (messages)
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 3 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @nuacom/n8n-nodes-nuacom is verified or supports 3.0 (used in WhatsApp Message Received).
- Check that @nuacom/n8n-nodes-nuacom is verified or supports 3.0 (used in assign_to_human_agent).
- Check that @nuacom/n8n-nodes-nuacom is verified or supports 3.0 (used in Send WhatsApp Reply, Assign Chat to AI Chatbot).
Nodes used (12)
- Nuacom Trigger
@nuacom/n8n-nodes-nuacom.nuacomTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Data Table Tool
n8n-nodes-base.dataTableTool - Nuacom Tool
@nuacom/n8n-nodes-nuacom.nuacomTool - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Nuacom
@nuacom/n8n-nodes-nuacom.nuacom - No Operation, do nothing
n8n-nodes-base.noOp - Filter
n8n-nodes-base.filter
From the author
Quick overview This workflow triggers on incoming NUACOM WhatsApp messages, only responds after hours, and uses an OpenAI-powered agent with an n8n Data Table knowledge base plus Google Calendar tools to answer questions, manage appointments, or hand off…