n8n

How to Automate Slack Status and Lights from Calendar?

Keep your team in sync without extra clicks. When a meeting starts on your Google Calendar, your Slack status updates and your office light shows if you are busy, available, or on personal time. This helps teams reduce interruptions and share clear signals during the workday.

The flow checks Google Calendar for events that have just started every five minutes. It pulls the event details, reads the calendar color, and turns it into a simple label like leading, managing, or doing. Slack sets your status text to the event title and uses a matching emoji. A switch then routes to one of three HTTP requests that call your light webhooks to set busy, personal, or available. A manual trigger is also included for quick testing.

Setup is simple. Connect Google Calendar and Slack in n8n Cloud and paste your three webhook URLs for the light states. Expect fewer pings during focus time and more accurate presence across your team. This is helpful for shared offices, remote work, and managers who shift between meetings and deep work. You get clear availability without any extra effort after launch.

What are the key features?

  • Google Calendar event started trigger checks for new live events every five minutes.
  • Google Calendar get action pulls full event details using the event ID from the trigger.
  • Function maps the calendar color to simple labels used for routing and emoji names.
  • Slack user profile update sets status text to the event title and applies the matching emoji.
  • Switch routes by label to busy, personal, or available outputs.
  • Three HTTP requests call your webhook URLs to set the light state.
  • Manual trigger lets you test the flow on demand before turning it on.

What are the benefits?

  • Eliminate daily manual Slack status changes during meetings
  • Reduce interruptions by 20 to 40 percent with clear live availability
  • Connect two systems plus your light webhooks in one flow
  • Keep status accurate during events with near 100 percent reliability
  • Scale to any number of calendar events each day without extra work

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Calendar, Slack and Webhook.site. See the Tools Required section above for links to create accounts with these services.
  3. Open the Event Started node and connect Google Calendar: in Credential to connect with, click Create new credential, then follow the on screen steps to authorize your Google account.
  4. Open the Google Calendar node and use the same Google credential. Set Calendar to your work calendar. Keep the eventId expression as provided.
  5. Open the Slack Status node and connect Slack: in Credential to connect with, click Create new credential, authorize your workspace, and grant user profile permissions.
  6. Prepare three webhook URLs for your light system. For testing, you can create three endpoints in Webhook.site and copy each unique URL.
  7. Paste the Busy webhook URL into the Light - Busy HTTP Request node, set method to POST. Repeat for Light - Personal and Light - Available with their URLs.
  8. Open the Set CalColor function and review the color mapping. Adjust labels and emoji names to match your Slack custom emojis if needed.
  9. Check the Switch node rules so labels like 4dw_doing, 4dw_managing, and 4dw_leading route to the correct light endpoints. Update the startsWith values if you changed labels.
  10. Create a short test event on your calendar with the desired color. Click Execute on the manual trigger to run a test. Confirm your Slack status and that the correct webhook received a POST.
  11. If Slack does not update, verify the Slack credential has permission to update your user profile and that the emoji name exists. If webhooks fail, confirm each URL is correct and reachable.
  12. Turn on the workflow. The Google Calendar trigger will now check every five minutes and update your status and light when events start.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Calendar

Sign up

Free: $0; all Google Calendar API usage is at no additional cost; quota limits apply (no charges for overages).

Slack

Sign up

Free plan: $0 / mo; limited to 10 apps (third-party or custom) and usable via Slack API

Webhook.site

Sign up

Free tier: $0, public API available; free URLs expire after 7 days and accept up to 100 requests

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.