Nextcloud Calendar icon

Nextcloud Calendar

Verwalten Sie Ihre Kalender und Termine mit Nextcloud CalDAV

Overview

This node integrates with Nextcloud Calendar via CalDAV to manage calendars and events. It allows users to create, retrieve, update, delete, and search calendar events as well as manage entire calendars. The "Termin Löschen" (Delete Event) operation specifically deletes an event from a specified calendar by its event ID.

Common scenarios where this node is beneficial include:

  • Automating calendar event management in workflows.
  • Synchronizing events between Nextcloud and other systems.
  • Cleaning up outdated or canceled events automatically.
  • Integrating event deletion into broader business processes.

Practical example: Automatically deleting a meeting event from a Nextcloud calendar when a related task is marked complete in another system.

Properties

Name Meaning
Kalender Select a calendar from the list or specify its ID. This determines which calendar to operate on. Options: List of available calendars fetched dynamically or manual input of calendar ID.
Termin ID The unique identifier of the event to delete within the selected calendar. Required to specify which event to remove.

Output

The output JSON contains an array of objects representing the result of the delete operation for each input item. Each object includes:

  • success: Boolean indicating if the deletion was successful.
  • operation: The operation performed, here always "delete".
  • resource: The resource type, here "event".
  • message: A success message confirming the event was deleted.
  • data: The raw response data from the API about the deletion operation, typically including a success flag.

No binary data output is produced by this operation.

Example output JSON snippet:

[
  {
    "success": true,
    "operation": "delete",
    "resource": "event",
    "message": "Termin erfolgreich gelöscht",
    "data": {
      "success": true
    }
  }
]

Dependencies

  • Requires connection to a Nextcloud instance with CalDAV calendar support.
  • Needs an API authentication credential configured in n8n to access the Nextcloud Calendar API.
  • Relies on internal helper modules for calendar and event actions (./actions/calendar and ./actions/event) and response parsing.
  • No additional external services beyond Nextcloud are required.

Troubleshooting

  • Common issues:

    • Invalid or missing calendar ID: Ensure the calendar exists and the correct ID or name is provided.
    • Invalid event ID: The event to delete must exist in the specified calendar.
    • Authentication errors: Verify that the API credentials are correctly set and have sufficient permissions.
    • Network or server errors: Check connectivity to the Nextcloud server.
  • Error messages:

    • "Termin konnte nicht gelöscht werden" ("Event could not be deleted"): Indicates failure in the deletion request; verify event ID and calendar.
    • Validation errors if required parameters are missing.
    • If the node throws errors about invalid email addresses or date ranges, those relate to other operations but can hint at input validation practices.
  • To resolve errors, confirm all inputs, check API credentials, and ensure the Nextcloud server is reachable and responsive.

Links and References

Discussion