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 allows users to interact with Bitrix24's Smart Process Automation (SPA) entities, specifically enabling the deletion of SPA items. It is useful in scenarios where automated workflows need to remove specific SPA records based on business logic or external triggers.
For example, a user might want to delete a SPA item representing a completed task or an obsolete record automatically after certain conditions are met, such as after data synchronization or cleanup operations.
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 which the item belongs |
| Item ID | The unique identifier of the SPA item to be deleted |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of successful deletion or error details if the operation failed.
If the node encounters an error and "Continue On Fail" is enabled, it outputs an object containing the error message, the resource name ("spa"), and a timestamp.
No binary data output is produced by this node.
Dependencies
- Requires authentication credentials for Bitrix24 via one of the supported methods: OAuth2, webhook URL, or API key.
- Relies on Bitrix24 API endpoints to perform SPA item deletion.
- The node uses internal helper functions to make standardized API calls to Bitrix24.
Troubleshooting
Common Issues:
- Invalid or missing SPA Type ID or Item ID parameters will cause the deletion to fail.
- Authentication failures due to incorrect or expired credentials.
- Network or API rate limiting issues from Bitrix24.
Error Messages:
- Errors returned from Bitrix24 API will be propagated; typical messages include "Item not found" or "Access denied".
- If the node throws an error about missing parameters, ensure that both Type ID and Item ID are correctly set.
- For authentication errors, verify that the selected authentication method is properly configured in n8n.
Resolution Tips:
- Double-check the SPA Type ID corresponds to an existing Smart Process type.
- Confirm the Item ID exists and is accessible with the provided credentials.
- Use OAuth2 authentication for production environments to avoid security and permission issues.
- Enable "Continue On Fail" to handle errors gracefully within workflows.