Bitrix24 AI-Powered RAG Chatbot for Open Line Channels
Needs changesWhat this workflow does
This AI workflow has 33 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Qdrant Vector Store, Embeddings Ollama and Google Gemini Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Credentials (Edit Fields (Set)): sets 7 fields: CLIENT_ID, CLIENT_SECRET, application_token…
- Get a list of available storages (HTTP Request): calls an HTTP API (POST)
- Validate Token (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Get a list of List of Files and Folders (HTTP Request): calls an HTTP API (POST)
- Route Event (Switch): routes items into 4 branches
- Error Response (Respond to Webhook): sends the response back to the webhook caller
- Execute Sub-workflow: calls another n8n workflow
- Get a list of Folders files (HTTP Request): calls an HTTP API (POST)
- Process Message (Function): runs custom JavaScript (legacy Function node)
…plus 13 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Process Message, Process Join, Process Install: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Process Message, Process Join, Process Install | Code node, mode 'Run Once for All Items' |
Nodes used (20)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Function
n8n-nodes-base.function - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp - Respond to Webhook
n8n-nodes-base.respondToWebhook - Merge
n8n-nodes-base.merge - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Ollama
@n8n/n8n-nodes-langchain.embeddingsOllama - Vector Store Retriever
@n8n/n8n-nodes-langchain.retrieverVectorStore - Question and Answer Chain
@n8n/n8n-nodes-langchain.chainRetrievalQa - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
Overview Transform your Bitrix24 Open Line channels with an intelligent chatbot that leverages Retrieval-Augmented Generation (RAG) technology to provide accurate, document-based responses to customer inquiries in real-time. Use Case This workflow is designed…