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
This node interacts with the Bitrix24 platform, specifically focusing on the "Disk" resource and the "Get Files" operation. It allows users to retrieve files from a specified folder within Bitrix24's file storage system. This is useful for automating workflows that require access to documents or media stored in Bitrix24, such as syncing files to other services, processing attachments, or backing up data.
Practical examples include:
- Automatically fetching all files from a project folder to process or archive them.
- Integrating Bitrix24 file storage with external document management systems.
- Triggering downstream automation based on files retrieved from a specific folder.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authenticating with Bitrix24: OAuth2 (recommended), Webhook (simpler but less secure), or API Key authentication. |
| Folder ID | The unique identifier of the folder in Bitrix24 Disk from which to retrieve files. |
| Options | Additional optional parameters: - Filter: JSON object specifying criteria to filter files. - Order: JSON object defining sorting order. - Start: Number indicating the start position for pagination (offset). |
Output
The node outputs an array of items where each item's json property contains metadata about a file retrieved from the specified folder. Typical fields may include file identifiers, names, sizes, creation/modification dates, and other relevant attributes provided by Bitrix24's API.
If the node supports binary data output (not explicitly shown in the code snippet), it would represent the actual file content, enabling further processing or saving of the files.
Dependencies
- Requires valid authentication credentials for Bitrix24, which can be configured using OAuth2, webhook URL, or API key methods.
- Relies on Bitrix24's REST API endpoints to fetch file information.
- No additional external libraries beyond those bundled with the node are required.
Troubleshooting
Common Issues:
- Invalid or expired authentication credentials will cause API calls to fail.
- Incorrect Folder ID may result in empty results or errors.
- Improperly formatted JSON in Filter or Order options can cause parsing errors.
Error Messages:
- Errors returned from Bitrix24 API will be surfaced with their message in the output if "Continue On Fail" is enabled.
- Network or permission errors typically indicate issues with authentication setup or API access rights.
Resolutions:
- Verify and refresh authentication credentials.
- Double-check the Folder ID exists and is accessible.
- Validate JSON syntax in filter/order inputs before execution.
Links and References
- Bitrix24 REST API Documentation
- Bitrix24 Disk API Reference
- n8n documentation on Creating Custom Nodes