Overview
This node deletes a calendar event from the RFCALENDAR service using the event's unique identifier (UUID). It is useful in automation workflows where you need to programmatically remove specific events from a calendar, such as cleaning up outdated meetings, cancelling appointments, or managing event lifecycle automatically.
Practical examples include:
- Automatically deleting canceled meetings from your calendar.
- Removing test or placeholder events after certain conditions are met.
- Integrating with other systems that trigger event deletions based on external actions.
Properties
Name | Meaning |
---|---|
Operation Mode | Choose whether to use the API key stored in the node’s configured credential or provide a custom API key directly. Options: "Use Credential API Key", "Use Custom API Key". |
Custom API Key | A string input for a custom API key, used only if "Use Custom API Key" mode is selected. Useful for multi-calendar scenarios requiring different keys. |
Return All Data | Boolean flag indicating whether to return the full response data from the API or just a simplified success confirmation. |
Event ID | The UUID of the calendar event to delete. This is a required field and identifies which event will be removed. |
Output
The node outputs JSON data for each processed input item:
- If Return All Data is set to
true
, the output contains the full response from the RFCALENDAR API after attempting to delete the event. - If Return All Data is
false
, the output JSON includes a simplified object with:event_id
: The UUID of the deleted event.success
: A boolean valuetrue
indicating successful deletion.
If an error occurs and the node is configured to continue on failure, the output JSON will contain an error
field with the error message.
The node does not output any binary data.
Dependencies
- Requires an API key for authentication with the RFCALENDAR service. This can be provided either via a configured credential or as a custom API key input.
- The node makes HTTP DELETE requests to the RFCALENDAR API endpoint
/api/events/{eventId}
. - Requires network access to the RFCALENDAR base URL specified in the credentials.
Troubleshooting
Common issues:
- Invalid or missing API key: Ensure the API key is correctly set either in the credential or as a custom key.
- Incorrect Event ID: Verify that the UUID provided corresponds to an existing event.
- Network or permission errors: Confirm that the RFCALENDAR service is reachable and the API key has sufficient permissions to delete events.
Error messages:
- Errors thrown by the HTTP request (e.g., 401 Unauthorized, 404 Not Found) will appear in the node’s error output if "Continue On Fail" is enabled.
- To resolve authorization errors, check API key validity and permissions.
- For not found errors, verify the event ID correctness.
Links and References
- RFCALENDAR API Documentation (Replace with actual link if available)
- n8n HTTP Request Node documentation for understanding underlying HTTP calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/