← All N8N workflows
AI & researchAgentCodeIfOpenAI Chat ModelMemory Postgres Chat

AI Customer-Support Assistant · WhatsApp Ready · Works for Any Business

Configured with Agent, OpenAI Chat Model, Memory Postgres Chat, Tool Http Request, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
AI & modelsAI AgentAgentWeb / APIlist_linksTool Http RequestAI & modelsOpenAI Chat ModelOpenAI Chat ModelTriggerWhatsApp TriggerWhats App TriggerCodecleanAnswerCodeWeb / APIget_pageTool Http RequestCode24-hour window checkCodeRoutingIfIfMessagingSend Pre-approvedTemplate Message to…Whats AppMessagingSend AI Agent's AnswerWhats AppData storePostgres Users MemoryMemory Postgres Chat

Node categories in this workflow

  • AI & models
  • Web / API
  • Trigger
  • Code
  • Routing
  • Messaging
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
AI AgentAI & modelsAgentSee node parameters
list_linksWeb / APITool Http RequestPOST
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
WhatsApp TriggerTriggerWhats App TriggerSee node parameters
cleanAnswerCodeCodeSee node parameters
get_pageWeb / APITool Http RequestPOST
24-hour window checkCodeCodeSee node parameters
IfRoutingIfSee node parameters
Send Pre-approved Template Message to Reopen the ConversationMessagingWhats AppSee node parameters
Send AI Agent's AnswerMessagingWhats Appsend
Postgres Users MemoryData storeMemory Postgres ChatSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • openAiApi
  • postgres
  • whatsAppApi
  • whatsAppTriggerApi

Workflow notes

Step by Step Setup Guide

Step by Step Setup Guide

The technology that powers this AI Agent—continuously crawling, extracting, and generating answers—incurs real operating costs to stay online.

That’s why the workflow requires an active membership, priced at only $29 per month. Comparable AI-support platforms charge $150 – $500 each month, so with this template you either save a large chunk of that expense for your own business or earn the same amount by reselling the chatbot to clients—while paying just $29 yourself. And because the bot pulls fresh information from the site in real time, you never have to “re-train” a model, saving you even more time and money.

Activate your membership here: https://lemolex.gumroad.com/l/ejsnx

Let's start setting this up step by step:

Total hands-on time: ≈ 15 minutes

  1. Activate the tools with the membership generated key:
  • Go to the membership link to get your key.
  • Copy the key (e.g 6F0E4C97-B72A4E69-A11BF6C4-AF123456) and paste it in the body parameters of list_links and get_page (tools): Name: auth-token Value: 6F0E4C97-B72A4E69-A11BF6C4-AF123456 (example)
  1. Customize for Your Company:
  • Copy the Root URL of your company's website (Home Page).
  • Open the AI Agent node and inside the System Message, change the following values: [Company Name] with your company name (e.g [Company Name] -> Facebook) [https://www.your-company-url.com] with your company Root URL that you copied before. Check for these 2 values along the entire text.
  • Go back to the tools list_links and get_page and paste the Root URL inside the body parameters, specifically: Name: url *Value: https://www.your-company-url.com (e.g https://www.facebook.com)
  1. Connect your credentials:
  • Go to the OpenAI Chat Model node and connect your OpenAI credentials.
  • Go to the Postgres Users Memory node and connect your Supabase credentials. A tutorial for this: https://youtu.be/6w5f_jsPYSQ?si=MPdXYUjxv3fghQPj&t=105 (Minute 1:45 to 5:00)
  • Go to the WhatsApp nodes "WhatsApp Trigger", "Send Pre-approved Template Message to Reopen the Conversation" and "Send AI Agent's Answer" to connect your credentials. A tutorial for this: https://youtu.be/ZrhTQle55LQ?si=MO_leooogO9KchCV
  • Go to the "Send Pre-approved Template Message to Reopen the Conversation" and select the template message under the "Template" parameter. If you don't want to use this feature (not recommended) delete the nodes "24-hour window check", "If" and "Send Pre-approved Template Message to Reopen the Conversation". Then connect the AI Agent node to the "cleanAnswer" node.

You are ready

AI Customer-Support Assistant · WhatsApp Ready · Works for Any Business

AI Customer-Support Assistant · WhatsApp Ready · Works for Any Business

Purpose and structure

This folder contains the AI Customer-Support Assistant · WhatsApp Ready · Works for Any Business workflow. Its executable nodes use agent, code, if, lmChatOpenAi, memoryPostgresChat, toolHttpRequest, whatsApp, whatsAppTrigger. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

WhatsApp Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Whatsapp/1521_Whatsapp_Stickynote_Automation_Webhook.json MIT; preserve source notices.

More in AI & research