{
  "openruna_format": "flow-graph-v1",
  "title": "Business WhatsApp AI RAG Chatbot",
  "slug": "business-whatsapp-ai-rag-chatbot",
  "source_filename": "1385_Webhook_Respondtowebhook_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Respond to Webhook",
      "name": "Respond to Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Qdrant Vector Store",
      "name": "Qdrant Vector Store",
      "integration": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "kind": "action"
    },
    {
      "id": "Create collection",
      "name": "Create collection",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Refresh collection",
      "name": "Refresh collection",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get folder",
      "name": "Get folder",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Download Files",
      "name": "Download Files",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Embeddings OpenAI",
      "name": "Embeddings OpenAI",
      "integration": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "kind": "action"
    },
    {
      "id": "Default Data Loader",
      "name": "Default Data Loader",
      "integration": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "kind": "action"
    },
    {
      "id": "Token Splitter",
      "name": "Token Splitter",
      "integration": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "kind": "action"
    },
    {
      "id": "Verify",
      "name": "Verify",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Respond",
      "name": "Respond",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "is Message?",
      "name": "is Message?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Only message",
      "name": "Only message",
      "integration": "whatsApp",
      "kind": "action"
    },
    {
      "id": "Send",
      "name": "Send",
      "integration": "whatsApp",
      "kind": "action"
    },
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Verify",
      "to": "Respond to Webhook"
    },
    {
      "from": "Respond",
      "to": "is Message?"
    },
    {
      "from": "AI Agent",
      "to": "Send"
    },
    {
      "from": "Get folder",
      "to": "Download Files"
    },
    {
      "from": "is Message?",
      "to": "AI Agent"
    },
    {
      "from": "is Message?",
      "to": "Only message"
    },
    {
      "from": "Download Files",
      "to": "Qdrant Vector Store"
    },
    {
      "from": "Refresh collection",
      "to": "Get folder"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Create collection"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Refresh collection"
    }
  ]
}