Google Calendar to Slack Status & Philips Hue

For Google Calendar, this workflow automatically updates your Slack status and Philips Hue lights based on your calendar events. It detects when an event starts, sets your status to reflect your availability, and adjusts lighting to indicate whether you're busy or available. This integration enhances communication and visibility, ensuring your team knows your current status without manual updates.

7/8/2025
9 nodes
Complex
manualcomplexgooglecalendargooglecalendartriggerslackapiintegrationlogicroutingcommunicationnotificationcodecustom
Categories:
Communication & MessagingComplex WorkflowManual TriggeredBusiness Process Automation
Integrations:
GoogleCalendarGoogleCalendarTriggerSlack

Target Audience

  • Professionals: Those who frequently use Google Calendar and Slack for scheduling and communication.
    - Teams: Groups that need to synchronize their calendar events with their Slack status and Philips Hue lights.
    - Remote Workers: Individuals working from home who want to automate their availability status based on calendar events.
    - Developers: Tech-savvy users who want to integrate different platforms and customize workflows to enhance productivity.
  • Problem Solved

  • This workflow automates the process of updating a user’s Slack status based on their Google Calendar events, ensuring that team members are aware of their availability.
    - It also controls Philips Hue lights, changing their colors based on the user's current status (e.g., busy, available, personal), which adds a visual cue to their working environment.
    - By automating these tasks, it saves time and reduces the need for manual updates, leading to improved communication and productivity.
  • Workflow Steps

  • Step 1: The workflow is manually triggered by clicking 'execute'.
    - Step 2: It listens for an event to start from Google Calendar every 5 minutes.
    - Step 3: Upon detecting a new event, it retrieves the event details, including the event ID and summary.
    - Step 4: The Set CalColor function assigns a color based on the event's colorId, which will be used to set the Slack status emoji.
    - Step 5: The workflow then checks the event's color and routes the flow to the appropriate light control (Busy, Personal, Available).
    - Step 6: It updates the user’s Slack status with the event summary and corresponding emoji.
    - Step 7: Finally, it sends a request to the Philips Hue API to change the light color based on the status determined in the previous step.
  • Customization Guide

  • Change Calendar ID: Update the calendarId parameter in the Google Calendar node to use a different calendar.
    - Modify Light Webhooks: Adjust the url parameters in the Light - Busy, Light - Personal, and Light - Available nodes to connect to different Philips Hue webhooks.
    - Adjust Event Filters: Modify the rules in the Switch node to include additional conditions or different statuses that correspond to your workflow needs.
    - Customize Status Messages: Edit the status_text in the Slack - Status node to reflect personal preferences or additional information related to the calendar events.
    - Change Polling Frequency: Alter the pollTimes in the Event Started node to change how frequently the workflow checks for new events.
  • Google Calendar to Slack Status & Philips Hue - N8N Workflow Directory