Skip to content
Customer support

WhatsApp chatbot with your knowledge base

Answers FAQs and hands off to a person when needed.

Request sign-upDownload JSON15 min to set up≈ 4 credits per run

How the flow works

  1. WhatsApp Business

    Trigger

    Incoming WhatsApp message

    WhatsApp Business·new_incoming_message

  2. Notion

    Step 1

    Search the answer in the knowledge base

    Notion·notion-find-database-item

  3. OpenAI

    Step 2

    Write the answer (or hand over to a person)

    OpenAI·ask_chatgpt

  4. WhatsApp Business

    Step 3

    Send the answer

    WhatsApp Business·sendMessage

Set it up in 4 steps

  1. 1

    Import the template

    In the platform, go to Flows → Import and upload the JSON.

  2. 2

    Connect your accounts

    Each component asks for its connection (WhatsApp Business, Notion, OpenAI). Credentials are stored encrypted.

  3. 3

    Review the highlighted fields

    Pick the channel, sheet, calendar or pipeline. Missing fields are shown in red.

  4. 4

    Test and turn it on

    Run a test with real data, check each step’s output and publish the flow.

View the template JSON
{
  "name": "WhatsApp chatbot with your knowledge base",
  "description": "Answers FAQs and hands off to a person when needed.",
  "tags": [
    "Customer support"
  ],
  "pieces": [
    "@flooows/component-whatsapp",
    "@flooows/component-notion",
    "@flooows/component-openai"
  ],
  "template": {
    "displayName": "WhatsApp chatbot with your knowledge base",
    "trigger": {
      "name": "trigger",
      "type": "PIECE_TRIGGER",
      "valid": false,
      "displayName": "Incoming WhatsApp message",
      "settings": {
        "pieceName": "@flooows/component-whatsapp",
        "pieceVersion": "~1.0.1",
        "pieceType": "OFFICIAL",
        "packageType": "REGISTRY",
        "triggerName": "new_incoming_message",
        "input": {},
        "inputUiInfo": {},
        "propertySettings": {}
      },
      "nextAction": {
        "name": "step_1",
        "type": "PIECE",
        "valid": false,
        "skip": false,
        "displayName": "Search the answer in the knowledge base",
        "settings": {
          "pieceName": "@flooows/component-notion",
          "pieceVersion": "~0.8.3",
          "pieceType": "OFFICIAL",
          "packageType": "REGISTRY",
          "actionName": "notion-find-database-item",
          "input": {
            "filterDatabaseFields": {
              "Pregunta": "{{trigger.text}}"
            }
          },
          "inputUiInfo": {},
          "propertySettings": {},
          "errorHandlingOptions": {
            "retryOnFailure": {
              "value": true
            },
            "continueOnFailure": {
              "value": false
            }
          }
        },
        "nextAction": {
          "name": "step_2",
          "type": "PIECE",
          "valid": false,
          "skip": false,
          "displayName": "Write the answer (or hand over to a person)",
          "settings": {
            "pieceName": "@flooows/component-openai",
            "pieceVersion": "~0.13.2",
            "pieceType": "OFFICIAL",
            "packageType": "REGISTRY",
            "actionName": "ask_chatgpt",
            "input": {
              "model": "gpt-4o-mini",
              "maxTokens": 800,
              "prompt": "Responde al cliente usando solo esta información. Si no basta, di que le atiende una persona.\n\nInformación: {{step_1}}\nPregunta: {{trigger.text}}"
            },
            "inputUiInfo": {},
            "propertySettings": {},
            "errorHandlingOptions": {
              "retryOnFailure": {
                "value": true
              },
              "continueOnFailure": {
                "value": false
              }
            }
          },
          "nextAction": {
            "name": "step_3",
            "type": "PIECE",
            "valid": false,
            "skip": false,
            "displayName": "Send the answer",
            "settings": {
              "pieceName": "@flooows/component-whatsapp",
              "pieceVersion": "~1.0.1",
              "pieceType": "OFFICIAL",
              "packageType": "REGISTRY",
              "actionName": "sendMessage",
              "input": {
                "to": "{{trigger.from}}",
                "text": "{{step_2.choices[0].message.content}}"
              },
              "inputUiInfo": {},
              "propertySettings": {},
              "errorHandlingOptions": {
                "retryOnFailure": {
                  "value": true
                },
                "continueOnFailure": {
                  "value": false
                }
              }
            }
          }
        }
      }
    },
    "valid": false,
    "schemaVersion": "1"
  },
  "blogUrl": "https://flooows.com/en/templates/whatsapp-chatbot-knowledge-base",
  "metadata": {
    "publisher": "flooows",
    "lang": "en",
    "setupMinutes": 15,
    "creditsPerRun": 4
  }
}

More templates

Your first floow, running today.

Work out the price of your plan in a minute and request your sign-up, or book a demo and we will help your team design its first flows.

✓ No credit card✓ Human support✓ Data hosted in Spain