Actions12
Overview
This node integrates with the Wortic CRM API to manage various CRM entities such as leads, clients, projects, invoices, support tickets, and calendar events. Specifically for the Lead - Delete operation, it allows users to delete a lead record from their Wortic CRM by specifying the lead's unique ID.
Common scenarios where this node is beneficial include:
- Automating cleanup of outdated or invalid lead records.
- Integrating with other workflows that require removing leads after certain conditions are met (e.g., lead conversion or disqualification).
- Synchronizing lead data between Wortic CRM and other systems by deleting leads no longer present elsewhere.
Example: Automatically delete a lead when a deal is lost in another system, ensuring your CRM stays up-to-date without manual intervention.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the lead record to delete. This is required to specify which lead should be removed from the CRM. |
Output
The node outputs JSON data representing the response from the Wortic CRM API after attempting to delete the lead. This typically includes confirmation of deletion or error details if the operation failed.
The output structure is:
{
"json": {
// API response fields confirming deletion or error information
},
"pairedItem": {
"item": <index_of_input_item>
}
}
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Wortic CRM API.
- Needs an API key credential configured in n8n for authentication.
- The node sends HTTP POST requests to the API URL specified in the credentials.
- Proper permissions on the API key to perform delete operations on leads.
Troubleshooting
Common issues:
- Invalid or missing lead ID will cause the API to reject the request.
- Insufficient API permissions may result in authorization errors.
- Network connectivity problems can prevent communication with the Wortic API.
Error messages:
"error": "Record not found"— The specified lead ID does not exist; verify the ID."error": "Unauthorized"— Check that the API key is valid and has delete permissions."error": "Invalid request"— Ensure the ID parameter is correctly provided and formatted.
To resolve errors, confirm the input ID is correct, verify API credentials, and check network access.
Links and References
- Wortic CRM API documentation (refer to official Wortic resources for detailed API specs)
- n8n HTTP Request node documentation for understanding request/response handling
- General CRM data management best practices