Resources · n8n integration

Philips Hue n8n integrationAutomate Philips Hue with n8n.

Your bulbs can react to anything a workflow already knows. The Philips Hue n8n integration exposes 4 operations on one resource, Light. There is no Hue trigger, the node type that starts a workflow, so the run begins elsewhere: a schedule, or a webhook, the URL n8n exposes for another service to call.

Verified Trustpilot reviews · AI, automation & growth agency

Why automate

What does the Philips Hue n8n integration actually do?

The Philips Hue node talks to the Hue API and works on a single object: the bulb. Four operations cover its whole life in a workflow, retrieve one light, retrieve all lights, update a light, delete a light. Everything else, the timing, the data, the condition that decides on a color, comes from the nodes around it.

Take a retail floor first. A Schedule Trigger fires at opening time, an OpenWeatherMap call reads the sky, and light.update sets Brightness higher on a grey morning than on a clear one. One workflow, one numeric field, no one touching a switch.

Second case, an on-call signal. The error branch of a workflow you already run ends on a Hue update that pushes Hue to red, and posts the same alert to Slack. The lamp says something broke before anyone opens the channel.

Third case, a listening room. When a track starts in Spotify, the workflow reads the current state with light.get, applies a Dynamic Effect, then writes the old values back. Bulbs rarely live alone, and that is usually where Home Assistant sits next to them.

Where the node stops is easy to state: the Light resource, nothing else. Groups, scenes, sensors and rooms have no operation here. For those, the HTTP Request node calls the Hue CLIP API directly and reuses the same credential, the stored connection you save once in n8n, through its predefined authentication. Paging follows the usual pattern too. Return All walks every page of the API, and with it off, Limit caps how many bulbs come back.

The last limit shapes the design more than the rest. n8n ships no Philips Hue trigger node, so nothing here listens for a switch being pressed or a bulb going offline. Lights are always the end of a chain someone else starts. If you are still comparing platforms before building that chain, the n8n review covers hosting and cost in detail.

Connect

How do you connect Philips Hue to n8n?

  1. 01

    Create the Philips Hue credential

    The node authenticates with OAuth2, and that is the only supported method. In n8n, open Credentials, pick Philips Hue, and sign in with a Philips Hue account. With the built-in OAuth connection you leave APP ID empty: n8n already carries the app registration, so there is nothing to fill in beyond the login itself.

  2. 02

    Register your own Hue remote app, if you need one

    Configuring OAuth2 from scratch takes a Philips Hue developer account. Create a new remote app on the Add new Hue Remote API app page, then copy the OAuth Callback URL that n8n shows on the credential screen and paste it as the app's Callback URL. The two values have to match character for character, or the sign-in loop never comes back to n8n.

  3. 03

    Paste the app keys and connect

    Your remote app gives you an AppId, a ClientId and a ClientSecret. Copy the three into the matching fields in n8n, save, and run the OAuth sign-in. Once the credential is green it is reusable: every Philips Hue node in every workflow picks it from a dropdown, and you never paste those keys again.

Actions

What the Philips Hue node can do

The Philips Hue node exposes 4 operations across 1 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.

Resources × operations matrix
ResourceGetGet ManyUpdateDelete
Light✓✓✓✓

Light

4 operations
01

Delete a light

light.delete

What you see in n8n

Notes & use cases

Removes a bulb from the bridge, which also removes it from every later listing. Nothing on the light is preserved, so the operation belongs at the end of a cleanup run, not in the middle of a daily workflow.

Key parameters

  • Light ID: the identifier of the bulb to drop, as a string; taking it from a previous listing with {{ $json.id }} avoids deleting the wrong one by hand.
Use cases
retiring a bulb you unscrewed for good, or clearing test entries left over from a first setup.
02

Get a light

light.get

What you see in n8n

Notes & use cases

Reads one bulb and returns its current state, which makes it the natural step before and after a change: store what you found, apply the update, then put the original values back.

Key parameters

  • Light ID: a string identifying the single bulb to read, either typed once for a fixed lamp or passed along from an earlier node.
Use cases
checking whether the desk lamp is already on before a workflow bothers to switch it, or snapshotting a color you intend to restore.
03

Get many lights

light.getAll

What you see in n8n

Notes & use cases

Lists the bulbs known to the bridge, one item per light, which is how most workflows discover the identifiers they will feed to the other three operations.

Key parameters

  • Return All: on, n8n walks the pages of the API and hands back every bulb.
  • Limit: the maximum number of bulbs returned while Return All stays off, useful when a test run should touch 2 lamps and not the whole house.
Use cases
building the loop that turns off every light at closing time.
04

Update a light

light.update

What you see in n8n

Notes & use cases

Writes a new state to one bulb: power, brightness, color, effect, and how long the change takes.

Key parameters

  • Light Name or ID: picked from the dropdown n8n loads from your bridge, or given as an ID through an expression such as {{ $json.id }}.
  • On: the on or off state, required on every call, so a color change still needs it set.
  • Additional Fields: 13 optional fields, among them Brightness on a scale of 1 to 254, Color Temperature from 153 to 500 mireds on 2012 compatible lights, Hue between 0 and 65535, with 25500 landing on green, and Transition Time in seconds.
Use cases
dimming a meeting room when a calendar event starts.
Need help

Need help automating Philips Hue with n8n?

A person reads every message.

FAQ

Philips Hue and n8n, answered

01Is the Philips Hue n8n integration free?
Yes. The node ships inside n8n, so there is nothing to install and nothing extra to pay on the n8n side. It behaves the same on n8n Cloud, the hosted offer run by n8n, and on an instance you host yourself with Docker or npm under the Community Edition and its Sustainable Use license. A workflow built in one place runs in the other without edits. What the lights and the Hue account cost you is a separate question this page does not cover. The only real budget item is your time setting up the OAuth2 credential once.
02What credentials does the Philips Hue node need in n8n?
One OAuth2 credential, which is the only authentication method the node supports, plus a Philips Hue account. With the built-in OAuth connection you sign in and leave APP ID empty. If you would rather run your own app registration, you need a Philips Hue developer account, then create a remote app on the Add new Hue Remote API app page. Copy the OAuth Callback URL out of n8n into the app's Callback URL field, and copy the AppId, ClientId and ClientSecret back into n8n. Saved once, the credential appears in the dropdown of every Philips Hue node you add later.
03What are the limits of the Philips Hue node?
The node covers 1 resource, Light, with 4 operations: get one, get many, update, delete. Groups, scenes, sensors and rooms have no operation, so anything about them goes through the HTTP Request node against the Hue CLIP API, reusing the same credential through predefined authentication. On listings, Return All pages through the API while Limit caps the result count when it is off. And the update is a write, not a subscription: the node reports what the API returned, it does not keep watching the bulb afterwards.
04Does Philips Hue react in real time in n8n?
Not on its own. n8n has no Philips Hue trigger node, so nothing in the integration listens for a switch being pressed or a scene changing. The workflow has to be started by something else: a Schedule Trigger running at a fixed interval, an n8n Webhook that a third-party service calls, or the trigger of another tool you already automate. In practice that covers most lighting scenarios, since the event worth reacting to usually lives in a calendar, an alert or a sensor feed rather than in the bulb itself.
05n8n or Make for Philips Hue?
It depends on where you want your automations to live. Make is hosted only, with billing counted per operation, which suits a team that wants nothing to maintain and runs a predictable volume. n8n can be self-hosted, so the credential and the execution data stay on infrastructure you control, which matters more than usual when the workflow reaches into a home or an office. Both build visually. The honest test is to count the operations a lighting workflow fires in a month, then check whether you want to own the server that fires them.