Actions89
- Direct API Actions
- CRM Actions
- Task Actions
- User Actions
- SPA Actions
- Activity Actions
- Automation Actions
- Document Generator Actions
- Data Storage Actions
- Chat Actions
Overview
The Bitrix24 node allows users to interact with the Bitrix24 CRM and business platform. Specifically, for the Automation resource with the Delete Rule operation, this node enables users to delete an existing automation rule by specifying its unique ID. This is useful in scenarios where automation workflows or rules need to be programmatically removed, such as cleaning up outdated automations, managing workflow lifecycle, or integrating Bitrix24 automation management into larger automated processes.
Practical examples include:
- Automatically deleting a specific automation rule when a related project or deal is closed.
- Cleaning up test automation rules created during development or testing phases.
- Managing automation rules dynamically based on external triggers or conditions.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authenticating with Bitrix24: OAuth2 (recommended), Webhook URL (simpler), or API Key authentication. |
| Code | The ID of the automation rule to delete. This is a required string input identifying which rule to remove. |
Output
The node outputs JSON data representing the result of the deletion operation. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
If the node encounters an error and "Continue On Fail" is enabled, it outputs a JSON object containing:
error: The error message describing what went wrong.resource: The resource name ("automation" in this case).timestamp: The ISO timestamp when 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).
- Relies on Bitrix24's API endpoints to perform operations on automation rules.
- No additional external services are required beyond Bitrix24 itself.
Troubleshooting
Common Issues:
- Invalid or missing automation rule ID (
Codeproperty) will cause the deletion to fail. - Authentication failures due to incorrect or expired credentials.
- Insufficient permissions in Bitrix24 to delete automation rules.
- Network connectivity issues preventing API calls.
- Invalid or missing automation rule ID (
Error Messages:
- Errors returned from Bitrix24 API will be propagated. For example, "Rule not found" if the specified ID does not exist.
- Authentication errors indicating invalid tokens or keys.
Resolutions:
- Verify the automation rule ID is correct and exists.
- Ensure the selected authentication method is properly configured and authorized.
- Check user permissions in Bitrix24 to allow rule deletion.
- Enable "Continue On Fail" to handle errors gracefully within workflows.