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 CRM and business platform, allowing users to perform various operations on CRM entities. Specifically, for the CRM - Delete operation, it enables deleting a record of a specified entity type (such as Contact, Deal, Lead, etc.) by its unique ID.
Common scenarios where this node is beneficial include:
- Automating cleanup of outdated or invalid CRM records.
- Integrating with other systems to remove CRM entries when corresponding data is deleted elsewhere.
- Managing CRM data lifecycle programmatically within workflows.
For example, you might use this node to delete a contact after unsubscribing them from your mailing list or to remove a deal that was canceled.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method to authenticate with Bitrix24: OAuth2 (recommended), Webhook URL (simpler but less secure), or API Key authentication. |
| Entity | The type of CRM entity to operate on. Options include: Contact, Deal, Lead, Company, Quote, Invoice, Product, Activity. |
| Record ID | The unique identifier of the record to delete within the selected entity type. |
Output
The node outputs an array of items, each containing a json object representing the result of the delete operation. On success, the output typically confirms the deletion or returns relevant metadata from Bitrix24.
If the operation fails and "Continue On Fail" is enabled, the output will contain an error object with:
error: The error message describing what went wrong.resource: The resource name ("crm").timestamp: The ISO timestamp when the error occurred.
The node does not output binary data.
Dependencies
- Requires connection to a Bitrix24 instance.
- Needs one of the following authentication methods configured in n8n:
- OAuth2 credentials for Bitrix24.
- Bitrix24 webhook URL.
- Bitrix24 API key.
- The node uses Bitrix24's REST API endpoints internally to perform operations.
Troubleshooting
Common Issues
- Invalid Record ID: If the provided Record ID does not exist or is incorrect, the delete operation will fail.
- Insufficient Permissions: The authenticated user or API key may lack permissions to delete certain CRM entities.
- Authentication Errors: Misconfigured OAuth2 tokens, expired tokens, or invalid webhook URLs/API keys can cause authentication failures.
- Network or API Errors: Temporary network issues or Bitrix24 API downtime can interrupt the operation.
Error Messages and Resolutions
"Record not found": Verify the Record ID is correct and exists in the specified entity."Access denied"or"Permission denied": Check that the credentials used have sufficient rights to delete records."Authentication failed": Re-authenticate or verify the correctness of the OAuth2 token, webhook URL, or API key.- Other API errors: Review the error message details; consult Bitrix24 API documentation or support if needed.
Enabling "Continue On Fail" allows workflows to handle errors gracefully without stopping execution.