Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Overview

This node integrates with the Bitrix24 platform, specifically targeting its Smart Process Automation (SPA) feature. The "Delete Type" operation under the SPA resource allows users to delete a specific Smart Process type by its ID. This is useful for automating the management of custom business processes within Bitrix24, such as removing outdated or unused process types programmatically.

Practical scenarios include:

  • Automatically cleaning up SPA types that are no longer needed.
  • Managing lifecycle of custom business workflows in Bitrix24 via automation.
  • Integrating Bitrix24 SPA management into broader workflow orchestrations.

Properties

Name Meaning
Authentication Method to authenticate with Bitrix24: OAuth2 (recommended), Webhook (simpler), or API Key.
Type ID The identifier of the Smart Process type to delete. Selected from available SPA types list.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this will include confirmation of success or details about any error encountered during the deletion.

If an error occurs and the node is configured to continue on failure, the output JSON will contain an error field with the error message, along with the resource name and a timestamp.

No binary data output is involved in this operation.

Dependencies

  • Requires connection to Bitrix24 via one of the supported authentication methods:

    • OAuth2 authentication token
    • Webhook URL
    • API key credential
  • The node relies on Bitrix24's REST API endpoints related to Smart Process Automation types.

  • Proper permissions in Bitrix24 are necessary to delete SPA types.

Troubleshooting

  • Common Issues:

    • Invalid or missing Type ID: Ensure the selected SPA type exists and the ID is correct.
    • Insufficient permissions: The authenticated user must have rights to delete SPA types.
    • Authentication failures: Verify that the chosen authentication method is correctly configured and valid.
    • Network or API errors: Check connectivity and Bitrix24 service status.
  • Error Messages:

    • Errors returned from Bitrix24 API will be included in the output JSON under the error field if "Continue On Fail" is enabled.
    • Common messages might indicate authorization issues, invalid IDs, or API rate limits.
  • Resolution Tips:

    • Double-check the Type ID selection using the provided dropdown which loads current SPA types.
    • Confirm credentials and authentication setup in n8n.
    • Review Bitrix24 user permissions.
    • Enable detailed logging in n8n to capture API responses for debugging.

Links and References

Discussion