I do not have or want Google Calendar, I use a self-hosted email system with a calendar built-in. How do I trigger if an event starts or ends or something like that? Is there not something that could access my CALDAV or any workaround for this? While I am at it, I also need something when I enter a contact into my address book. How would I do that?
You need some kind of API not sure if it’s for your service but have a look: CalDAV API Developer's Guide | Google Developers
Thank you for your answer, but is there any way to do it without using a Google account?
So I am not familiar with caldav since them please let me know how this data is saved, maybe it’s in some kinda popular calendar file what we could easily process
As far as I know (which is not much), CalDAV and CardDAV are extensions of WebDAV. CalDAV models calendar events as HTTP resources in iCalendar formats, and models calendars containing events as WebDAV collections. Anything technical about it, I do not know.
Hi @superdarius, welcome to the community!
I am afraid we don’t currently have a designated CalDAV node and I believe working around this limitation manually would be very cumbersome. WebDAV (which would be the basis for CalDAV as you have mentioned) uses HTTP verbs which are not supported by the HTTP Request node. So you would need to manually build the respective requests through the Function node and then still parse the XML and iCalendar objects used by CalDAV.
So unless someone has some example workflow ready, I think the best course of action would be to treat this as a feature request. I’ll convert the thread, so you and other community members can vote on it (and thus help our team prioritize the request).
Hi @MutedJam, thank you for your answer and explanation. I am not very sufficient in this stuff, and would appreciate an example workflow if someone has one ready? Otherwise, I would also appreciate a conversion to a feature request.
Thank you and all for the answers so far!
+1 for CARDDAV and CALDAV support
+1 for CALDAV support
I came here for this exact feature. Good to know it’s not possible (So I should keep using Google Calendar for now) but that it is in the backlog.
+1. Google Calendar notably lacks authentication for external CalDAV servers, which means that one cannot use the GCal web application with external, private calendars. Zapier does not support CalDAV either, so having it in n8n would be a huge win, especially for folks trying to migrate off Google.
+1 This software would definitly need a CalDAV support, for interacting with Nextcloud Calendar for example.
Yep, a CalDav node would definitely be needed ! Thanks
+1 for CALDAV
One more + for CALDAV
WebDAV/CardDAV/CalDAV Is very useful i try to sync my app to Synology Contacts.
ok there is no node for calendar in NextCloud, but is there someone who is able to use http-node to create envent in a NextCloud Calendar ?
I would be very interested !
Hi everybody !
I have been able to create and update an event in NextCloud calendars with API CALDAV and a http node :
Now i need to transform this in a json :
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//example.fr //NONSGML My Product//FR BEGIN:VEVENT UID:Z2HOOON14VOH09RIACY3IL3C SUMMARY:Test API NextCloud LOCATION:Paris DTSTART:20230108T200000Z DTEND:20230108T210000Z DTSTAMP:20230108T110000Z DESCRIPTION:Ceci est un test ! ...
How can i do that ?
Note : my version of n8n is actually only 0.136
EDIT : i will split in 2 posts : one for the CALDAV subject (here) and another one for transform string in json
Do you mind sharing the parameters (anonymized) to create an event. I would really need the same node.
you can have a look on the previous screenshot and parameters are :
url : https://yournextcloudinstance/remote.php/dav/calendars/user/namecalendar/hashevent.ics
body needs to be like that :
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//youyinstance //NONSGML My Product//FR BEGIN:VEVENT UID:hashevent SUMMARY:Test EVENT API NextCloud LOCATION:Paris DTSTART:20230114T100000Z DTEND:20230114T110000Z DTSTAMP:20230114T110000Z DESCRIPTION:Ceci est un test ! COLOR:#006D77 END:VEVENT END:VCALENDAR