Lifx

Wi-Fi enabled LED smart lights

Go to site

Integrate the Lifx API with the Mailgun API

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

Send Mail

Sends an email

 
Try it
Add Member To List

Adds a new member to a mail list

 
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 Mailgun

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.mailgun.region && auths.mailgun.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
  auth: {
    username: `api`,
    password: `${auths.mailgun.api_key}`,
  },
})