Parse .ICS (icalendar) files

The idea is:

Using the Move Binary Data node or the Icalendar node, would love to be able to pass in the binary file and have it output the meeting details in JSON so I can pass them through an IF check.

My use case:

I am working on a Gmail workflow that checks for emails with an attached ICS file, and if they are past the event date, automatically archive the email.

I think it would be beneficial to add this because:

I had expected since there was an icalendar node there would be some support for parsing icalendar files. I think it would be very useful to be able to easily parse an ICS file.

Any resources to support this?

Looks like there is already a node.js solution for this here: GitHub - Christop406/ical-parser: JavaScript/Node library to parse iCal (.ics) files with few dependencies

Are you willing to work on this?

Sure! Not sure how but happy to!

This might also be useful for another feature request (seeing CalDAV uses the iCalendar format too):

Ah excellent! For now Iā€™m using a regular expression to capture the calendar time from the email subject but would prefer to have the full values that I can pass into the Date & Time Node to manipulate the time.

2 Likes