Lifx

Wi-Fi enabled LED smart lights

Go to site

Integrate the Lifx API with the Discord Webhook API

Setup the Lifx API trigger to run a workflow which integrates with the Discord Webhook API. Pipedream's integration platform allows you to integrate Lifx and Discord Webhook remarkably fast. Free for developers.

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it

Connect Lifx

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.lifx.com/v1/lights/all`,
  headers: {
    Authorization: `Bearer ${auths.lifx.oauth_access_token}`,
  },
})

Connect Discord Webhook

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord_webhook.oauth_access_token}`,
  },
})