Bitrix24 chatbot application workflow example with webhook integration
Needs changesWhat 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.
- Credentials (Edit Fields (Set)): sets 5 fields: CLIENT_ID, CLIENT_SECRET, application_token…
- Validate Token (If): checks a condition and branches into true / false
- Route Event (Switch): routes items into 4 branches
- Error Response (Respond to Webhook): sends the response back to the webhook caller
- Process Message (Function): runs custom JavaScript (legacy Function node)
- Process Join (Function): runs custom JavaScript (legacy Function node)
- Process Install (Function): runs custom JavaScript (legacy Function node)
- Send Message (HTTP Request): calls an HTTP API (POST)
- Send Join Message (HTTP Request): calls an HTTP API (POST)
- 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.0 | Replace with |
|---|---|
| Function (legacy) Process Message, Process Join, Process Install | Code node, mode 'Run Once for All Items' |
Nodes used (8)
- 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
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 -…