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 integrates with the Bitrix24 platform, specifically allowing users to update sharing rights for files or folders stored in Bitrix24's Disk resource. It is useful when you want to programmatically modify access permissions on shared items within Bitrix24, such as granting or revoking user or group access to specific files or folders.
Practical scenarios include:
- Automating permission updates after uploading or modifying documents.
- Synchronizing sharing settings based on external workflows or triggers.
- Managing collaborative access control in business processes.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authenticating with Bitrix24: OAuth2 (recommended), Webhook (simpler), or API Key. |
| Item ID | The unique identifier of the file or folder whose sharing rights are to be updated. |
| Sharing Data | JSON object specifying the new sharing configuration (e.g., users, groups, and their rights). |
| Options | Additional optional parameters: β’ Filter: JSON criteria to filter results. β’ Order: JSON defining sort order. β’ Start: Number indicating pagination start position. |
Output
The node outputs an array of items where each item contains a json field representing the response from Bitrix24 after updating sharing rights. This typically includes confirmation of the update or details about the current sharing state of the specified item.
If an error occurs and "Continue On Fail" is enabled, the output will contain an error object with:
error: The error message.resource: The resource name ("disk").timestamp: The time the error occurred.
No binary data output is indicated 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 related to Disk resource sharing management.
- Proper configuration of authentication credentials in n8n is necessary before use.
Troubleshooting
Common Issues:
- Invalid or expired authentication tokens can cause authorization failures.
- Incorrect or missing
Item IDwill result in errors as the target file/folder cannot be found. - Malformed JSON in the
Sharing Dataproperty may cause request failures.
Error Messages:
- Authorization errors: Check that the selected authentication method is correctly configured and valid.
- "Item not found": Verify the
Item IDcorresponds to an existing file or folder in Bitrix24 Disk. - JSON parsing errors: Ensure the
Sharing DataJSON is well-formed and matches Bitrix24 API expectations.
Resolution Tips:
- Refresh or reconfigure authentication credentials if authorization fails.
- Double-check the
Item IDvalue for correctness. - Validate JSON syntax using online tools before inputting into the node.