Templates / Bitrix24 chatbot application workflow example with webhook integration

Bitrix24 chatbot application workflow example with webhook integration

Needs changes

by Ferenc Erb ✓ · 4,638 views · created 2025-02-17 · Support Chatbot

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 workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Credentials (Edit Fields (Set)): sets 5 fields: CLIENT_ID, CLIENT_SECRET, application_token…
  2. Validate Token (If): checks a condition and branches into true / false
  3. Route Event (Switch): routes items into 4 branches
  4. Error Response (Respond to Webhook): sends the response back to the webhook caller
  5. Process Message (Function): runs custom JavaScript (legacy Function node)
  6. Process Join (Function): runs custom JavaScript (legacy Function node)
  7. Process Install (Function): runs custom JavaScript (legacy Function node)
  8. Send Message (HTTP Request): calls an HTTP API (POST)
  9. Send Join Message (HTTP Request): calls an HTTP API (POST)
  10. Register Bot (HTTP Request): calls an HTTP API (POST)

…plus 1 more step. See the full node list below.

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 (8)

From the author

Use Case Automate chat interactions in Bitrix24 with a customizable bot that can handle various events and respond to user messages. What This Workflow Does - Processes incoming webhook requests from Bitrix24 - Handles authentication and token validation -…

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.