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. Specifically, the "Kalender" resource with the "Löschen" (Delete) operation allows users to delete an existing calendar from their Nextcloud instance.

Common scenarios for this node include:

  • Automating calendar cleanup by deleting obsolete or unused calendars.
  • Integrating calendar management into workflows that require dynamic calendar lifecycle handling.
  • Removing test or temporary calendars after automated processes complete.

Example use case:

  • A workflow that creates a calendar for a project and deletes it once the project is finished, keeping the user's calendar list tidy.

Properties

Name Meaning
Kalender Select a calendar from the list of available calendars or specify its ID manually to delete.

The "Kalender" property supports two input modes:

  • Liste: Choose from a searchable list of calendars fetched dynamically.
  • ID: Enter the calendar's unique identifier directly.

Output

The output is a JSON array where each item corresponds to one execution iteration. For the "Kalender Löschen" operation, each output item includes:

  • success: Boolean indicating if the deletion was successful.
  • operation: The string "delete".
  • resource: The string "calendar".
  • message: Confirmation message, e.g., "Kalender erfolgreich gelöscht".
  • data: Contains the response data from the deletion action (usually metadata or confirmation details).

No binary data output is produced by this operation.

Dependencies

  • Requires connection to a Nextcloud instance with CalDAV calendar support.
  • Needs an API authentication credential configured in n8n to authorize requests against the Nextcloud Calendar API.
  • The node depends on internal helper modules for calendar actions (./actions/calendar) and utilities (./helpers/nextcloud).

Troubleshooting

Common Issues

  • Invalid Calendar ID: If the specified calendar ID does not exist or is incorrect, the deletion will fail.
  • Authentication Errors: Missing or invalid API credentials will prevent communication with Nextcloud.
  • Permission Denied: The authenticated user may lack permission to delete the specified calendar.

Error Messages

  • Errors thrown during deletion are surfaced as node operation errors with messages like:
    • "Kalender konnte nicht gelöscht werden" (Calendar could not be deleted).
  • To resolve:
    • Verify the calendar ID or selection.
    • Check API credentials and permissions.
    • Ensure the calendar exists and is accessible.

Links and References

Discussion