Automating Document Exchange Between Bitrix24 and EDMS

Managers lose hours daily manually transferring documents from CRM to EDMS. According to our data, up to 75% of approval time is spent on file forwarding and status updates. We automate this exchange by integrating Bitrix24 with an electronic document management system. Result: documents are created

Our competencies:

Frequently Asked Questions

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1415
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    995
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    733
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    863
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    772
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    1134

Managers lose hours daily manually transferring documents from CRM to EDMS. According to our data, up to 75% of approval time is spent on file forwarding and status updates. We automate this exchange by integrating Bitrix24 with an electronic document management system. Result: documents are created and approved without a single copy-paste, the deal cycle is cut by 80%. In practice: for a company with 50 deals per month, the integration reduced the approval cycle from 3 days to 4 hours — saving 1.2 million rubles annually. Another client with 200 monthly deals saved over 4 million rubles per year using our Bitrix24 EDMS integration solution. A document is generated in the deal card, sent to the EDMS, goes through the route, and the status returns — all automatically. Our expertise includes over 10 integrations with Bitrix24 REST API and various EDMS (REST API). Typical issues: broken routes after CRM updates, lost statuses, duplicate documents. Integration eliminates these risks. With 10+ years of experience in CRM-EDMS integration and guaranteed data integrity, we provide a reliable solution. Request an engineer consultation for analysis of your process.

What We Integrate With

EDMS API Protocol Considerations
1C:Document Management HTTP services, OData REST / SOAP Tight coupling with the 1C ecosystem, complex authorization via 1C sessions
Directum RX Integration services REST API Good documentation, webhook notifications, stable API
ELMA365 Public REST API REST Low-code platform, flexible business processes, quick route setup
DocsVision Web services REST / SOAP Flexible routing, but documentation is scattered

How the Integration of Bitrix24 with Electronic Document Management Systems Is Done

Integration Points in Bitrix24

  • crm.documentgenerator.* — document generation based on templates.
  • Bitrix24.Drive — uploading and downloading signed files.
  • Business processes — automatic webhook trigger on stage change.

Step-by-step data exchange setup:

  1. Create a document template in the Bitrix24 generator, populating deal fields.
  2. Set up a business process: when a deal moves to the "Pending approval" stage, send a webhook with document data to the middleware.
  3. The middleware receives the request and sends the document to the EDMS via its API.
  4. The EDMS starts the approval route and sends a webhook back upon completion.
  5. The middleware updates the deal stage via crm.deal.update and uploads the signed file to the Drive.

This process cuts processing time by 80% compared to manual entry — 5 times faster than traditional methods. The official Bizproc documentation describes all available actions.

Why Choose Middleware for Bitrix24–EDMS Integration

A simple integration (one EDMS, linear route) can work without middleware. But middleware is 3 times more reliable in error handling — it unwinds and retries requests, logs everything, and prevents data loss. The cost of manual data entry is about 40,000 rubles per month for an average sales department. The integration pays for itself within half a year.

Architecture with middleware:

Bitrix24 -> Middleware -> EDMS 

Middleware is a separate service (Laravel or Node.js) that stores document_id↔deal_id mapping, processes queues via Redis/RabbitMQ, and logs every step.

Deep-dive: Approval Routes and Status Mapping — Integration Development

Approval is the central process. Routes are of three types: sequential, parallel, and conditional. In sequential, each next approver gets the document after the previous approves. In parallel, the document goes to several simultaneously, approval from all is required. Conditional routes depend on the contract amount or counterparty type.

Status mapping:

Status in EDMS Deal stage in Bitrix24 Middleware action
Created Documents pending approval crm.deal.update
Under review Update UF field
Comments Document revision Notify manager
Approved Documents approved Move stage
Signed Contract signed Upload file
Rejected Notify

Webhook from EDMS:

POST /api/sed-webhook { "document_id": "DOC-4521", "new_status": "approved", "approved_by": "[email protected]", "timestamp": "March 12, 11:45", "comments": "No comments", "signed_file_url": "https://sed.company.ru/files/DOC-4521-signed.pdf" } 

Conflicts and Locks

Scenario: a manager edits the contract while the document is being approved. Three strategies:

  • Lock — editing is forbidden (check UF field). The most reliable method.
  • Versioning — each change creates a new version, approval restarts.
  • Notification — warn the manager.

In practice, locking eliminates discrepancies.

Document Metadata and Legal Storage

The EDMS stores the document with metadata: number, date, counterparty, amount. Mapping deal fields:

Bitrix24 field EDMS field
TITLE Document subject
OPPORTUNITY Contract amount
COMPANY_ID Counterparty
ASSIGNED_BY_ID Initiator
UF_CRM_DOC_TYPE Document type

Signed copies are returned to Bitrix24, but the master copy lives in the EDMS.

Widget in the Deal Card

We embed a widget via REST placement CRM_DEAL_DETAIL_TAB: approval status, route, history. The manager sees everything in one window.

What the Work Includes

  • Configuration of approval routes in the EDMS
  • Setup of webhook notifications between systems
  • Middleware development (queues, logging, status mapping)
  • Widget in the deal card for tracking approval
  • Integration with Bitrix24 document generator
  • Documentation on architecture and settings
  • User training (2 hours)
  • 30 days of post-launch support

Stages and Timelines

Stage What we do Duration
Discovery API and route analysis 3–5 days
Design Middleware architecture 3–4 days
Middleware development Webhook handlers, queues 5–8 days
Bitrix24 integration Business processes, widget 3–5 days
EDMS integration Route configuration 3–5 days
Testing End-to-end scenarios 3–5 days
Pilot launch One department 5–10 days

Result

CRM–EDMS integration eliminates manual work at the systems' boundary. The manager works in Bitrix24 — generates a document, moves the deal. The lawyer and managers approve in the EDMS. The document goes through the route automatically, the status returns to the CRM, and the signed version is saved on the Drive. Contact us for a project evaluation — get an engineer consultation within a day. Fill out the form on the website — we'll select the optimal architecture in 1 day.