Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Actions290

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 error field.

  • 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


This summary is based solely on static analysis of the provided source code and property definitions.

Discussion