{
  "name": "Automate FAQ responses with WhatsApp keyword detection bot",
  "nodes": [
    {
      "id": "c9cbc315-75dd-4ca4-875c-b9a22fba03d7",
      "name": "Incoming WhatsApp Messages",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -1820,
        120
      ]
    },
    {
      "id": "b1a466e1-3d1b-4494-a7d9-0cc2ee1e8202",
      "name": "Filter Text Messages Only",
      "type": "n8n-nodes-base.if",
      "position": [
        -1520,
        120
      ]
    },
    {
      "id": "298eccc9-0b1a-477f-a153-074972098072",
      "name": "Extract Message Content",
      "type": "n8n-nodes-base.set",
      "position": [
        -1260,
        20
      ]
    },
    {
      "id": "8ac8d5d8-d328-4809-b85e-dd954a1bf307",
      "name": "FAQ Keyword Detection",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1020,
        20
      ]
    },
    {
      "id": "2463ba09-2047-4f09-bd95-9fd22e18d6c6",
      "name": "Business Hours Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        -200
      ]
    },
    {
      "id": "a6d20145-ed74-40b4-bb4d-f51c1d9e8d79",
      "name": "Pricing Information Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        -100
      ]
    },
    {
      "id": "44f08566-7f73-4596-b51e-4b877a18b283",
      "name": "Location Information Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        20
      ]
    },
    {
      "id": "ab28d851-6e0f-482b-8588-ddebddc232d7",
      "name": "Contact Information Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        120
      ]
    },
    {
      "id": "d0544cdd-210a-4041-9955-cfb421e80a8b",
      "name": "Welcome Menu Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        220
      ]
    },
    {
      "id": "e08b7a63-c334-44cb-bf93-f876fe0dfe2e",
      "name": "Helpful Fallback Response",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        320
      ]
    },
    {
      "id": "5c1d8fdc-df5d-4f7e-97f6-357538b6080d",
      "name": "Send WhatsApp Reply",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        -420,
        60
      ]
    },
    {
      "id": "240af2fb-c864-4d2e-883b-57a5a04c9589",
      "name": "Handle Unsupported Message Types",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        -1260,
        220
      ]
    },
    {
      "id": "ce073ef5-4d57-4601-863a-542f489da17e",
      "name": "Main Workflow Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2320,
        -160
      ],
      "parameters": {
        "width": 450,
        "height": 1140,
        "content": "# 📱 WhatsApp Customer Support Bot\n\n## What This Workflow Does\nAutomated WhatsApp chatbot that provides instant customer support by responding to common questions with pre-defined answers based on keyw"
      }
    },
    {
      "id": "00ea9ba6-8b6e-4535-bc96-3d4900849a36",
      "name": "Step 1 - Message Reception",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2120,
        -500
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Step 1: Message Reception\n\n**WhatsApp Trigger** receives all incoming messages from customers 24/7\n\n**Setup**: Requires WhatsApp Business API\n**Webhook**: Automatically configured\n\n*Listens constan"
      }
    },
    {
      "id": "cac18dfa-16c6-4db6-996c-c0823981d15a",
      "name": "Step 2 - Message Type Filter",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1740,
        -500
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Step 2: Message Type Filter\n\n**IF Node** ensures we only process text messages\n\n✅ **Text Messages**: Continue to processing\n❌ **Other Types**: Send friendly error message\n\n*Keeps bot focused and re"
      }
    },
    {
      "id": "ffc8672d-1bb8-445b-9a45-6f856a0e532b",
      "name": "Step 3 - Data Extraction",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -480
      ],
      "parameters": {
        "width": 300,
        "height": 240,
        "content": "## Step 3: Data Extraction\n\n**Set Node** extracts and cleans message data:\n• Message text (lowercase, trimmed)\n• Sender phone number\n• Message ID\n\n*Prepares data for keyword matching*"
      }
    },
    {
      "id": "1aedc060-7858-4a40-910e-c779c6cd9363",
      "name": "Step 4 - Keyword Detection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1020,
        -480
      ],
      "parameters": {
        "width": 300,
        "height": 260,
        "content": "## Step 4: Keyword Detection\n\n**Switch Node** analyzes message content:\n• Multiple keywords per category\n• Case-insensitive matching\n• Natural language friendly\n• Fallback for unknown queries\n\n*Intell"
      }
    },
    {
      "id": "4a0bd23c-4e6d-4bda-b985-86e970107632",
      "name": "Step 5 - Response Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        -480
      ],
      "parameters": {
        "width": 350,
        "height": 300,
        "content": "## Step 5: Response Generation\n\n**Set Nodes** create professional responses:\n• Business hours with real-time status\n• Detailed pricing information\n• Complete location details\n• Contact information\n• W"
      }
    },
    {
      "id": "01fe32eb-6a51-4837-9323-9ec4d86579e5",
      "name": "Step 6 - Message Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -120
      ],
      "parameters": {
        "width": 300,
        "height": 280,
        "content": "## Step 6: Message Delivery\n\n**WhatsApp Node** sends formatted response back to customer\n\n• Instant delivery\n• Professional formatting\n• Emoji enhancement\n\n*Complete the customer service loop*"
      }
    }
  ],
  "connections": {
    "FAQ Keyword Detection": {
      "main": [
        [
          {
            "node": "Business Hours Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Pricing Information Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Location Information Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Contact Information Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Welcome Menu Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Welcome Menu Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Business Hours Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Message Content": {
      "main": [
        [
          {
            "node": "FAQ Keyword Detection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Text Messages Only": {
      "main": [
        [
          {
            "node": "Extract Message Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Handle Unsupported Message Types",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Helpful Fallback Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Incoming WhatsApp Messages": {
      "main": [
        [
          {
            "node": "Filter Text Messages Only",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Contact Information Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pricing Information Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Location Information Response": {
      "main": [
        [
          {
            "node": "Send WhatsApp Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}