Handle after-hours WhatsApp support with NUACOM, OpenAI and Google Calendar
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
@nuacom/n8n-nodes-nuacom(WhatsApp Message Received)@nuacom/n8n-nodes-nuacom(assign_to_human_agent)@nuacom/n8n-nodes-nuacom(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
What it does
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 chats to a NUACOM human team. How it works 1. Triggers when NUACOM receives a WhatsApp message. 2. Filters messages to only process those sent to a specific WhatsApp number and normalizes key fields like sender number, message text, and message ID. 3. Checks the current time in Europe/Dublin against configured opening and closing times to decide whether it is outside business hours. 4. If outside business hours, assigns the conversation to a designated NUACOM AI user and sends the message (with recent conversation context) to an OpenAI chat model. 5. The AI agent answers business questions by querying an n8n Data Table knowledge base first, and it can check, book, reschedule, or cancel appointments by calling Google Calendar. 6. If the customer explicitly agrees to a handoff, the agent assigns the conversation to a NUACOM group for a human agent to follow up. 7. Sends the agent’s reply back to the customer over WhatsApp via NUACOM. Setup 1. Add NUACOM API credentials, ensure WhatsApp is enabled on your NUACOM number, and set the NUACOM assignees (AI user ID and human group) used for conversation assignment. 2. Update the allowed receiver number filter (or remove it) and confirm the business hours and timezone values match your organization. 3. Create and populate the n8n Data Table used as the WhatsApp chatbot knowledge base, and point the workflow to the correct table. 4. Add OpenAI credentials (or n8n AI Gateway access) and select the chat model you want the agent to use. 5. Connect Google Calendar OAuth2 credentials and select the target calendar where appointments are checked, booked, rescheduled, and cancelled.