Publish a live calendar feed from Google Sheets to Google, Apple and Outlook
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Sheets.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Set Feed Config (Edit Fields (Set)): sets 15 fields: feed_token, feed_namespace, calendar_name…
- Check Feed Token (If): checks a condition and branches into true / false
- Read Feed Cache (Code): runs custom JavaScript code
- Deny Unknown Token (Edit Fields (Set)): sets 1 field: deny
- Check Cache Fresh (If): checks a condition and branches into true / false
- Finalize Calendar Response (Code): runs custom JavaScript code
- Read Events Sheet (Google Sheets): uses Google Sheets
- Return Calendar Feed (Respond to Webhook): sends the response back to the webhook caller
- Validate Event Rows (Code): runs custom JavaScript code
- Flag Sheet Failure (Edit Fields (Set)): sets 2 fields: read_failed, reason
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick Overview This workflow serves a token-protected iCalendar (.ics) feed from a Google Sheets “events” tab, so Google Calendar, Apple Calendar, and Outlook can subscribe to a live calendar URL. How it works 1. Receives an incoming webhook request for…