Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Actions290

Overview

This node interacts with the Bitrix24 platform, specifically allowing operations on various resources such as CRM entities and disk storage. For the Disk resource with the Delete Folder operation, it enables users to delete a folder identified by its ID from their Bitrix24 disk storage.

Common scenarios where this node is beneficial include:

  • Automating cleanup of unused or temporary folders in Bitrix24 disk storage.
  • Integrating folder management into workflows that synchronize or archive data.
  • Managing disk space by programmatically removing obsolete folders.

Practical example:

  • A workflow that deletes project folders after project completion to keep the Bitrix24 disk organized.
  • Automatically deleting folders created for temporary file uploads once processing is done.

Properties

Name Meaning
Authentication Method to authenticate with Bitrix24: OAuth2 (recommended), Webhook (simpler but less secure), or API Key authentication.
Folder ID The unique identifier of the folder to be deleted.
Options Additional optional parameters:
- Filter: JSON object to filter results (not typically used for delete).
- Order: JSON object to specify sort order.
- Start: Number indicating pagination start position.

Output

The node outputs an array of items corresponding to the result of the delete operation. Each item contains a json field with the response from Bitrix24 API regarding the deletion status.

If an error occurs and "Continue On Fail" is enabled, the output will contain an item with an error message, the resource name, and a timestamp.

No binary data output is expected for this operation.

Dependencies

  • Requires valid authentication credentials for Bitrix24 via one of the supported methods (OAuth2, Webhook URL, or API Key).
  • The node depends on Bitrix24's API endpoints for disk operations.
  • No additional external services are required beyond Bitrix24 itself.
  • Proper configuration of credentials in n8n is necessary for successful API calls.

Troubleshooting

  • Common issues:

    • Invalid or expired authentication credentials leading to authorization errors.
    • Providing an incorrect or non-existent Folder ID causing the API to return not found errors.
    • Insufficient permissions in Bitrix24 account to delete folders.
  • Error messages:

    • "error": "Folder not found": Verify the Folder ID is correct and exists.
    • "error": "Access denied": Check that the authentication method has sufficient rights.
    • Network or timeout errors: Ensure stable internet connection and Bitrix24 service availability.
  • Resolution tips:

    • Double-check the Folder ID input.
    • Confirm the authentication credentials are valid and have appropriate scopes/permissions.
    • Enable "Continue On Fail" to handle errors gracefully within workflows.

Links and References

Discussion