Templates / Bitrix24 AI-Powered RAG Chatbot for Open Line Channels

Bitrix24 AI-Powered RAG Chatbot for Open Line Channels

Needs changes

by Ferenc Erb ✓ · 7,631 views · created 2025-03-06 · Support Chatbot, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. Credentials (Edit Fields (Set)): sets 7 fields: CLIENT_ID, CLIENT_SECRET, application_token…
  2. Get a list of available storages (HTTP Request): calls an HTTP API (POST)
  3. Validate Token (If): checks a condition and branches into true / false
  4. Merge: merges the data from its input branches
  5. Get a list of List of Files and Folders (HTTP Request): calls an HTTP API (POST)
  6. Route Event (Switch): routes items into 4 branches
  7. Error Response (Respond to Webhook): sends the response back to the webhook caller
  8. Execute Sub-workflow: calls another n8n workflow
  9. Get a list of Folders files (HTTP Request): calls an HTTP API (POST)
  10. Process Message (Function): runs custom JavaScript (legacy Function node)

…plus 13 more steps. See the full node list below.

Services it uses

Qdrant Vector StoreEmbeddings OllamaGoogle Gemini Chat Model

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.0Replace with
Function (legacy)
Process Message, Process Join, Process Install
Code node, mode 'Run Once for All Items'

Nodes used (20)

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…

Excerpt from Ferenc Erb's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.