{
  "openruna_format": "flow-graph-v1",
  "title": "Bitrix24 Open Chanel RAG Chatbot Application Workflow example with Webhook Integration",
  "slug": "bitrix24-open-chanel-rag-chatbot-application-workflow-example-with-webhook-integration",
  "source_filename": "1355_Splitout_Webhook_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Bitrix24 Handler",
      "name": "Bitrix24 Handler",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Credentials",
      "name": "Credentials",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Validate Token",
      "name": "Validate Token",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Route Event",
      "name": "Route Event",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Process Message",
      "name": "Process Message",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Process Join",
      "name": "Process Join",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Process Install",
      "name": "Process Install",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Register Bot",
      "name": "Register Bot",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Send Message",
      "name": "Send Message",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Send Join Message",
      "name": "Send Join Message",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Process Delete",
      "name": "Process Delete",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Success Response",
      "name": "Success Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Error Response",
      "name": "Error Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Merge parameters for Subworkflow",
      "name": "Merge parameters for Subworkflow",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Get a list of available storages",
      "name": "Get a list of available storages",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get a list of List of Files and Folders",
      "name": "Get a list of List of Files and Folders",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get a list of Folders files",
      "name": "Get a list of Folders files",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Download file",
      "name": "Download file",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Default Data Loader",
      "name": "Default Data Loader",
      "integration": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "kind": "action"
    },
    {
      "id": "Recursive Character Text Splitter",
      "name": "Recursive Character Text Splitter",
      "integration": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "kind": "action"
    },
    {
      "id": "Split Out folder files and folders",
      "name": "Split Out folder files and folders",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Filter for files",
      "name": "Filter for files",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Move files to Vector stored folder",
      "name": "Move files to Vector stored folder",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Qdrant Vector Store",
      "name": "Qdrant Vector Store",
      "integration": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "kind": "action"
    },
    {
      "id": "Embeddings Ollama",
      "name": "Embeddings Ollama",
      "integration": "@n8n/n8n-nodes-langchain.embeddingsOllama",
      "kind": "action"
    },
    {
      "id": "Vector Store Retriever",
      "name": "Vector Store Retriever",
      "integration": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "kind": "action"
    },
    {
      "id": "Question and Answer Chain",
      "name": "Question and Answer Chain",
      "integration": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "kind": "action"
    },
    {
      "id": "Prepare output parameters",
      "name": "Prepare output parameters",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Embeddings Ollama1",
      "name": "Embeddings Ollama1",
      "integration": "@n8n/n8n-nodes-langchain.embeddingsOllama",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Qdrant Vector Store1",
      "name": "Qdrant Vector Store1",
      "integration": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "kind": "action"
    },
    {
      "id": "Execute subworkflow",
      "name": "Execute subworkflow",
      "integration": "executeWorkflow",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Credentials",
      "to": "Validate Token"
    },
    {
      "from": "Credentials",
      "to": "Merge parameters for Subworkflow"
    },
    {
      "from": "Route Event",
      "to": "Process Message"
    },
    {
      "from": "Route Event",
      "to": "Process Join"
    },
    {
      "from": "Route Event",
      "to": "Process Install"
    },
    {
      "from": "Route Event",
      "to": "Process Delete"
    },
    {
      "from": "Process Join",
      "to": "Send Join Message"
    },
    {
      "from": "Register Bot",
      "to": "Success Response"
    },
    {
      "from": "Register Bot",
      "to": "Merge parameters for Subworkflow"
    },
    {
      "from": "Send Message",
      "to": "Success Response"
    },
    {
      "from": "Download file",
      "to": "Move files to Vector stored folder"
    },
    {
      "from": "Download file",
      "to": "Qdrant Vector Store"
    },
    {
      "from": "Process Delete",
      "to": "Success Response"
    },
    {
      "from": "Validate Token",
      "to": "Route Event"
    },
    {
      "from": "Validate Token",
      "to": "Error Response"
    },
    {
      "from": "Process Install",
      "to": "Register Bot"
    },
    {
      "from": "Process Message",
      "to": "Question and Answer Chain"
    },
    {
      "from": "Bitrix24 Handler",
      "to": "Credentials"
    },
    {
      "from": "Filter for files",
      "to": "Download file"
    },
    {
      "from": "Send Join Message",
      "to": "Success Response"
    },
    {
      "from": "Execute subworkflow",
      "to": "Success Response"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Get a list of available storages"
    },
    {
      "from": "Prepare output parameters",
      "to": "Send Message"
    },
    {
      "from": "Question and Answer Chain",
      "to": "Prepare output parameters"
    },
    {
      "from": "Get a list of Folders files",
      "to": "Split Out folder files and folders"
    },
    {
      "from": "Get a list of available storages",
      "to": "Get a list of List of Files and Folders"
    },
    {
      "from": "Merge parameters for Subworkflow",
      "to": "Execute subworkflow"
    },
    {
      "from": "Split Out folder files and folders",
      "to": "Filter for files"
    },
    {
      "from": "Get a list of List of Files and Folders",
      "to": "Get a list of Folders files"
    }
  ]
}