AutomationFlowsAI & RAG › Automatic Whatsapp Response with Groq LLM and Conversation Memory

Automatic Whatsapp Response with Groq LLM and Conversation Memory

ByGhufran Ridhawi @ghufran-ridhawi on n8n.io

This workflow is intended for individual users or teams who want to automate their small business on WhatsApp practically by automatically replying about your business products or services using the groq model. Based on small businesses, there is a task to answer many customers…

Event trigger★★★☆☆ complexityAI-powered13 nodesAgentGroq ChatMemory Buffer WindowWhatsAppWhatsApp Trigger
AI & RAG Trigger: Event Nodes: 13 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #3707 — we link there as the canonical source.

This workflow follows the Agent → Groq Chat recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "e1kaHRmj9xd4n9Wa",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "WhatsApp Assistant AI Agent Small Business",
  "tags": [],
  "nodes": [
    {
      "id": "ed6f6f8b-6009-4c2e-89ad-29016149cc07",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        180,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "f02335c3-c09e-4408-a409-7cf905d32521",
      "name": "Groq Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "position": [
        160,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9fb63d68-c966-42a6-a948-d78bbc6d7d51",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        360,
        120
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "fe7973ff-3f7f-4406-b4f7-067a14440475",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3d6c3777-a36f-4123-a0fe-efdab2f39208",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "28d6cc5c-1842-4db3-8a1f-1ad96c67a797",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4144e721-23d5-42f7-83a2-30cc17439b6f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d62c10eb-e957-470d-ac18-649700cd9287",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "508bcd49-0f70-41c0-9d65-48a4a24bd7ea",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bcd60f25-2b14-43a7-947f-ecb69006421c",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9ebe709e-261a-44ec-8b25-8ef35d84cf2d",
      "name": "Output",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        640,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aa449ae1-8498-48c1-b810-d190c6e84041",
      "name": "Input Submissions",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -280,
        -60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "18fd38c2-ca44-4fe0-99cc-5b2212dd42e2",
      "name": "Signpost",
      "type": "n8n-nodes-base.if",
      "position": [
        -60,
        -60
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0aa1beab-f36d-4c7a-a197-e8654fab222f",
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signpost": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Input Submissions": {
      "main": [
        [
          {
            "node": "Signpost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow is intended for individual users or teams who want to automate their small business on WhatsApp practically by automatically replying about your business products or services using the groq model. Based on small businesses, there is a task to answer many customers…

Source: https://n8n.io/workflows/3707/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow is built for sales teams, agencies, and small businesses that receive inbound leads via WhatsApp and want to automate their first response, lead qualification, and CRM logging — without

Agent, Google Sheets, Google Calendar +4
AI & RAG

This workflow is for healthcare professionals, consultants, coaches, and service businesses who want to completely automate their appointment booking system via WhatsApp — without manual intervention

WhatsApp, OpenAI, HTTP Request +6
AI & RAG

Main. Uses whatsApp, agent, httpRequest, memoryBufferWindow. Event-driven trigger; 25 nodes.

WhatsApp, Agent, HTTP Request +7
AI & RAG

This workflow turns WhatsApp into a smart email command center using AI.

Agent, Gmail Tool, OpenAI Chat +6
AI & RAG

Whatsapp Ai Agent. Uses whatsAppTrigger, whatsApp, httpRequest, openAi. Event-driven trigger; 23 nodes.

WhatsApp Trigger, WhatsApp, HTTP Request +7