Bitrix24 icon

Bitrix24

Работа с Bitrix24 API

Lead → Delete

AI-generated

Overview

This node deletes a Lead record in Bitrix24 using the Bitrix24 API. It is useful for automating the removal of outdated or unwanted lead entries from the CRM system. For example, it can be used in workflows that clean up leads after a certain condition is met or when leads are no longer relevant.

Use Case Examples

  1. Deleting a lead by specifying its ID to keep the CRM data clean.
  2. Automating lead removal after a sales process is completed or a lead is disqualified.

Properties

Name Meaning
ID The unique identifier of the Lead record to delete. This is a required field when performing the delete operation.

Output

JSON

  • id - The ID of the deleted Lead record, confirming successful deletion.
  • error - Error message if the deletion failed (only present if an error occurred).

Dependencies

  • Requires Bitrix24 API credentials with a webhook URL for authentication.

Troubleshooting

  • Common issues include missing or invalid credentials, resulting in errors like 'No credentials got returned!' or 'Webhook URL is required!'
  • Errors from the Bitrix24 API such as invalid ID or permission issues may occur; these are returned in the error field in the output.
  • If 'continueOnFail' is enabled, errors will be captured in the output instead of stopping execution.

Links

Discussion