Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Actions290

Overview

This node interacts with the Bitrix24 platform, specifically supporting operations on various resources including files stored in Bitrix24's disk storage. The "Copy File" operation under the "Disk" resource allows users to copy a file from its current location to a specified destination folder within Bitrix24.

Common scenarios for this node include automating file management tasks such as duplicating important documents into backup folders, organizing files by copying them into project-specific directories, or preparing files for sharing by placing copies in shared folders.

For example, a user might automate copying a contract file into an archive folder after it is signed, or duplicate marketing materials into multiple campaign folders without manual intervention.

Properties

Name Meaning
Authentication Method used to authenticate with Bitrix24. Options: OAuth2 (recommended), Webhook (simpler), API Key.
File ID The unique identifier of the file to be copied.
Destination Folder ID The unique identifier of the folder where the file will be copied to.
Options Additional optional parameters:
- Filter: JSON criteria to filter results (not typically used here).
- Order: JSON defining sort order.
- Start: Number indicating pagination start position.

Output

The node outputs JSON data representing the result of the copy operation. This typically includes metadata about the newly copied file such as its new ID, name, path, and other relevant attributes returned by the Bitrix24 API.

If the node supports binary data output (e.g., file contents), it would provide the binary data accordingly, but for the Copy File operation, the output is primarily JSON metadata confirming the successful copy.

Dependencies

  • Requires access to Bitrix24 API via one of the supported authentication methods:
    • OAuth2 authentication token.
    • Bitrix24 webhook URL.
    • Bitrix24 API key.
  • Proper configuration of credentials in n8n is necessary to authenticate API calls.
  • Network connectivity to Bitrix24 services.

Troubleshooting

  • Common Issues:

    • Invalid or expired authentication credentials leading to authorization errors.
    • Incorrect File ID or Destination Folder ID causing "file not found" or "folder not found" errors.
    • Insufficient permissions to read the source file or write to the destination folder.
    • Network issues preventing API communication.
  • Error Messages:

    • Authorization errors: Check that the selected authentication method is correctly configured and tokens/keys are valid.
    • Not found errors: Verify that the File ID and Destination Folder ID exist and are accessible.
    • Permission denied: Ensure the authenticated user has rights to perform copy operations on the specified files/folders.
    • API rate limits or timeouts: Retry after some time or optimize usage.

Links and References

Discussion