Actions12
Overview
This node integrates with the Wortic CRM API to manage calendar events within the CRM system. Specifically, the "Delete" operation under the "Calendar" resource allows users to delete a calendar event by specifying its unique record ID. This is useful for automating the removal of outdated or canceled appointments and events from the CRM calendar.
Practical examples include:
- Automatically deleting calendar events when a related project or client is removed.
- Cleaning up past events that are no longer relevant.
- Integrating with other workflows to maintain an up-to-date calendar in the CRM.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the calendar event record to delete. This is required to specify which event should be removed. |
Output
The node outputs JSON data representing the response from the Wortic CRM API after attempting to delete the specified calendar event. The structure typically includes confirmation of deletion or error details if the operation failed.
No binary data output is produced by this operation.
Example output JSON might look like:
{
"success": true,
"message": "Calendar event deleted successfully",
"id": "event-id"
}
or in case of failure:
{
"error": "Record not found"
}
Dependencies
- Requires an API key credential for authenticating with the Wortic CRM API.
- The node expects the base URL of the Wortic API to be configured in the credentials.
- HTTP POST requests are made to the API endpoint with JSON payloads.
- Proper permissions on the API key to delete calendar events are necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent ID will result in an error from the API indicating the record was not found.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity issues can prevent the node from reaching the Wortic API.
Error messages:
"Record not found": Verify the ID is correct and the event exists."Unauthorized"or"Authentication failed": Check that the API key credential is valid and has the required permissions."Request failed"or timeout errors: Ensure network access to the API URL and retry.
To resolve errors, confirm the input ID, validate credentials, and check API availability.
Links and References
- Wortic CRM official API documentation (refer to their calendar events section)
- n8n documentation on creating custom nodes and handling HTTP requests