Templates / Google Calendar to Slack Status and Philips Hue

Google Calendar to Slack Status and Philips Hue

Needs changes

by TheUnknownEntity · 1,330 views · created 2022-02-01 · Personal Productivity

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Calendar and Slack.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Google Calendar: get
  2. Set CalColor (Function): runs custom JavaScript (legacy Function node)
  3. Slack: update (user profile)
  4. Switch: routes items into 4 branches
  5. Light - Busy (HTTP Request): calls an HTTP API
  6. Light - Personal (HTTP Request): calls an HTTP API
  7. Light - Available (HTTP Request): calls an HTTP API

Services it uses

Google CalendarSlack

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Set CalColor: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2022 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Set CalColor
Code node, mode 'Run Once for All Items'

Nodes used (7)

From the author

I'm currently trialing a 4 day work week for all staff at my company, and one of the major impacts on productivity is interruptions. As such, I opted to use N8N to create a workflow to monitor my Google Calendar and when an event starts, to update my Slack…

Excerpt from TheUnknownEntity's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.