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, allowing users to interact with various Bitrix24 resources such as CRM entities and automation rules. Specifically, for the Automation - Delete Rule operation, it enables users to delete an existing automation rule by specifying its unique ID.
Common scenarios where this node is beneficial include:
- Automating cleanup of outdated or obsolete automation rules in Bitrix24.
- Managing automation workflows programmatically as part of larger integration processes.
- Maintaining synchronization between external systems and Bitrix24 by removing rules that are no longer relevant.
For example, a user might set up a workflow that deletes specific automation rules after certain conditions are met, such as when a deal reaches a final stage or a project is completed.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate with Bitrix24. Options: - OAuth2 (recommended for production) - Webhook (simpler but less secure) - API Key |
| Code | The ID of the automation rule to delete. This is a required string input identifying the rule. |
Output
The node outputs JSON data representing the result of the deletion operation. In case of success, the output typically contains confirmation details from Bitrix24 about the deleted rule. If an error occurs, the output JSON includes an error field with the error message, the resource involved, and a timestamp.
No binary data output is produced by this operation.
Example output on failure:
{
"error": "Rule not found",
"resource": "automation",
"timestamp": "2024-06-01T12:00:00.000Z"
}
Dependencies
- Requires valid authentication credentials for Bitrix24, which can be provided via OAuth2, webhook URL, or API key.
- The node depends on Bitrix24's REST API endpoints to perform operations.
- No additional external services are required beyond Bitrix24 itself.
- Proper configuration of authentication credentials within n8n is necessary.
Troubleshooting
Common Issues:
- Invalid or missing rule ID: Ensure the
Codeproperty is correctly set to the ID of an existing automation rule. - Authentication failures: Verify that the selected authentication method is properly configured and authorized.
- Network or API errors: Check connectivity to Bitrix24 and ensure API limits are not exceeded.
- Invalid or missing rule ID: Ensure the
Error Messages:
"Rule not found": The specified rule ID does not exist. Confirm the ID is correct.- Authentication errors: Usually indicate invalid credentials or expired tokens. Re-authenticate or update credentials.
- Generic API errors: May require checking Bitrix24 API status or reviewing request parameters.
Resolution Tips:
- Double-check the rule ID before running the node.
- Use OAuth2 authentication for more reliable and secure access.
- Enable "Continue On Fail" in the node settings if you want the workflow to proceed despite errors.