Bitrix24 Open Chanel RAG Chatbot Application Workflow example with Webhook Integration

For Bitrix24, this automated workflow utilizes webhook integration to manage chatbot interactions, enabling seamless message processing, user engagement, and bot registration. It efficiently validates tokens, routes events, and responds to user queries, enhancing communication and operational efficiency. With 34 nodes, it supports advanced features like file handling and AI-driven responses, ensuring a robust and responsive chatbot experience.

7/8/2025
34 nodes
Complex
2ziilylz4ibtkff5bedob2irpkr26bczdvshjwhwuobn0cxxyjcjkobrfn1hxh5ewebhookcomplexnooprespondtowebhooklangchainsplitoutfilterexecuteworkflowtriggersticky noteexecuteworkflowadvancedintegrationapilogicconditionalroutingcodecustom
Categories:
Complex WorkflowWebhook TriggeredBusiness Process Automation
Integrations:
NoOpRespondToWebhookLangChainSplitOutFilterExecuteWorkflowTriggerSticky NoteExecuteWorkflow

Target Audience

  • Developers looking to integrate chatbot functionalities with Bitrix24.
    - Business Owners who want to automate customer interactions through chatbots.
    - Customer Support Teams aiming to enhance their communication with users via automated responses.
    - IT Professionals interested in implementing webhook integrations for real-time processing.
    - Data Scientists exploring ways to utilize RAG (Retrieval-Augmented Generation) systems for document-based queries.
  • Problem Solved

    This workflow addresses the challenge of automating customer interactions within Bitrix24 by integrating a chatbot that can handle various events like messages, joins, and installations. It ensures seamless communication, reduces response times, and provides users with relevant information based on their queries, enhancing overall customer satisfaction.

    Workflow Steps

  • Webhook Trigger: The workflow begins with a webhook that listens for incoming events from Bitrix24.
    - Credential Setup: It sets up necessary credentials such as CLIENT_ID, CLIENT_SECRET, and access_token for authentication.
    - Token Validation: The workflow validates the provided application token to ensure its legitimacy.
    - Event Routing: Depending on the type of event received (message, join, install, delete), the workflow routes the event to the appropriate processing node.
    - Message Processing: For message events, it processes the message content, determines if a predefined response is needed, and prepares the response payload.
    - Join Processing: If a user joins the chat, it sends a welcome message with options for further interaction.
    - Installation Handling: Upon installation, it registers the bot with Bitrix24, providing necessary configurations and event handlers.
    - File Management: The workflow includes steps to manage files and folders, including downloading, filtering, and moving files to a vector-stored folder for further processing.
    - AI Integration: It utilizes LangChain components for document loading, text splitting, and vector storage for advanced query handling.
    - Response Handling: Finally, it sends responses back to the user based on the processed information, ensuring a smooth user experience.
  • Customization Guide

  • Changing Event Handlers: Users can modify the event routing logic to add or remove event types based on their requirements.
    - Custom Responses: Users can customize the responses sent by the chatbot by modifying the Process Message and Process Join nodes.
    - Integrating Additional APIs: Users can integrate other APIs by adding new HTTP request nodes for additional functionalities.
    - Adjusting Storage Settings: The settings for file storage and management can be adjusted according to the user's preferred storage solutions.
    - Modifying AI Models: Users can change the AI models used for processing queries by updating the parameters in the LangChain components, allowing for tailored responses based on specific needs.