Actions290
- Task Actions
- Direct API Actions
- CRM Actions
- User Actions
- SPA Actions
- Activity Actions
- Automation Actions
- Document Generator Actions
- Data Storage Actions
- Get Entity
- Add Entity
- Update Entity
- Delete Entity
- Get Entity Rights
- Get Entity Sections
- Add Entity Section
- Update Entity Section
- Delete Entity Section
- Get Entity Item
- Add Entity Item
- Update Entity Item
- Delete Entity Item
- Get Entity Item Properties
- Add Entity Item Property
- Update Entity Item Property
- Delete Entity Item Property
- Chat Actions
- User Field Actions
- File Actions
- User Field Config Actions
- Duplicate Actions
- Timeline Actions
- Disk Actions
- Upload File
- Download File
- Delete File
- Get File Info
- List Files
- Create Folder
- Delete Folder
- Get Storage Info
- Get Storages
- Get Storage
- Get Folders
- Get Folder
- Add Folder
- Update Folder
- Copy Folder
- Move Folder
- Rename Folder
- Get Files
- Get File
- Copy File
- Move File
- Rename File
- Share Item
- Get Shared Items
- Get Sharing Rights
- Update Sharing Rights
- Workflow Actions
- Status Actions
- Calendar Actions
- Chatbot Actions
- Events Actions
- Lists Actions
- Product Actions
- Open Lines Actions
- Telephony Actions
- Register External Call
- Finish External Call
- Hide External Call
- Show External Call
- Search CRM Entities
- Attach Call Record
- Get External Line
- Add External Line
- Update External Line
- Delete External Line
- Get Voximplant Statistics
- Get Voximplant Line
- Get Voximplant SIP Connector
- Get Voximplant SIP Line
- Add Voximplant SIP Line
- Update Voximplant SIP Line
- Delete Voximplant SIP Line
- Message Service Actions
- Notify Actions
Overview
The Bitrix24 node integrates with the Bitrix24 CRM and business platform, enabling users to interact programmatically with various Bitrix24 resources. Specifically, the Document Generator - Get Documents operation allows retrieving documents from Bitrix24, which can be useful for automating workflows that involve document management, such as fetching contracts, invoices, or reports stored in Bitrix24.
Common scenarios include:
- Automatically retrieving generated documents related to CRM entities (e.g., deals, contacts).
- Integrating document retrieval into larger automation workflows for processing or archiving.
- Using different authentication methods to securely access Bitrix24 data.
Example: A user might configure this node to fetch all documents associated with a particular deal after it reaches a certain stage, then send those documents via email or store them in another system.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate with Bitrix24. Options: - OAuth2 (recommended for production) - Webhook (simpler but less secure) - API Key |
Note: The node also supports selecting other resources and operations, but for the "Document Generator - Get Documents" operation, the key input is the authentication method.
Output
The node outputs an array of items where each item contains a json property representing the retrieved document data from Bitrix24. The exact structure depends on the Bitrix24 API response for documents but typically includes metadata and content references for each document.
If the node supports binary data output (not explicitly shown in the provided code), it would represent actual document files (e.g., PDFs) in the binary property of the output items.
Dependencies
Requires valid Bitrix24 credentials depending on the chosen authentication method:
- An OAuth2 token credential
- A webhook URL credential
- An API key credential
The node relies on internal helper functions (
makeStandardBitrix24Call) to communicate with Bitrix24's REST API.No additional external dependencies are indicated beyond standard n8n environment setup.
Troubleshooting
Authentication errors: Ensure the selected authentication method is correctly configured with valid credentials. OAuth2 tokens must be current; webhooks and API keys must be correct and have sufficient permissions.
API call failures: Network issues or incorrect resource/operation parameters may cause errors. Check the error message returned in the output JSON under the
errorfield.Empty or missing results: This could indicate no documents exist for the specified criteria or insufficient permissions. Verify the Bitrix24 account has access to the requested documents.
Continue On Fail behavior: If enabled, the node returns error details in the output JSON instead of failing the workflow, allowing graceful error handling.
Links and References
- Bitrix24 Official API Documentation
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication Overview
This summary is based solely on static analysis of the provided source code and property definitions.