Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Actions290

Overview

The node integrates with the Bitrix24 platform, specifically enabling operations on files stored within Bitrix24. The "Move File" operation allows users to move a file from one folder to another within their Bitrix24 environment. This is useful for organizing files, managing document workflows, or automating file management tasks in business processes.

Practical examples include:

  • Automatically moving uploaded documents to specific project folders.
  • Organizing CRM-related files by moving them into client-specific directories.
  • Archiving old files by moving them to an archive folder based on certain triggers.

Properties

Name Meaning
Authentication Method of authenticating with Bitrix24: OAuth2 (recommended), Webhook (simpler), or API Key.
Target Folder ID The ID of the destination folder where the file will be moved.
New Name Optional new name for the file after it is moved.
Folder ID The ID of the current folder containing the file; leave empty if the file is in the root.
File ID The unique identifier of the file to be moved.
Options > Access Token Optional access token string for authentication override.

Output

The node outputs JSON data representing the result of the move operation. This typically includes details about the moved file such as its new location and metadata returned by Bitrix24. If the operation fails and "Continue On Fail" is enabled, the output will contain an error message along with the resource type and timestamp.

The node does not output binary data.

Dependencies

  • Requires connection to Bitrix24 via one of the supported authentication methods: OAuth2, webhook URL, or API key.
  • Needs proper configuration of credentials in n8n corresponding to the chosen authentication method.
  • Relies on Bitrix24 API endpoints to perform file operations.

Troubleshooting

  • Common issues:

    • Invalid or expired authentication tokens can cause authorization failures.
    • Incorrect folder or file IDs will result in errors indicating that the resource was not found.
    • Insufficient permissions in Bitrix24 may prevent moving files.
  • Error messages:

    • Errors returned from Bitrix24 API are surfaced in the node output when "Continue On Fail" is enabled.
    • Typical error messages include "File not found", "Access denied", or "Invalid token".
  • Resolutions:

    • Verify that the authentication credentials are valid and have not expired.
    • Double-check folder and file IDs for correctness.
    • Ensure the authenticated user has sufficient rights to move files in the target folders.

Links and References

Discussion