with Philips Hue and Mojo Helpdesk?
Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). See the documentation
Emit new event when a specific scene is activated. See the documentation
Emit new event when a new ticket is created. See the docs here
Emit new event when a linked Hue sensor (e.g., motion, temperature, or ambient light) sends an update. See the documentation
Emit new event when a new unassigned ticket with a due date is created. See the docs
Sets the light color of a Philips Hue light. See the documentation
Turns on or off a Philips Hue light or group of lights. See the documentation
The Philips Hue API offers rich control over Philips Hue smart lighting systems. Via Pipedream, you can automate your lighting based on various triggers – think syncing lights with the sun's cycle, changing color to indicate new emails, or even integrating with motion sensors for a smart-home experience. With Pipedream's capabilities to connect to countless services, the possibilities of creating personalized lighting scenarios are vast, limited only by your imagination and the availability of triggers or events from other services and devices.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
philips_hue: {
type: "app",
app: "philips_hue",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.meethue.com/v2/api/resource`,
headers: {
Authorization: `Bearer ${this.philips_hue.$auth.oauth_access_token}`,
},
})
},
})
Mojo Helpdesk API lets you seamlessly integrate your customer support system into your business workflow. With this API, you can automate ticket creation, update statuses, track ticket progress, manage user accounts, and extract ticket data for analysis. Take advantage of Pipedream's capabilities to connect Mojo Helpdesk with various services, triggering actions based on customer interactions, automating responses, and synchronizing data across platforms to streamline your customer support and enhance the user experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mojo_helpdesk: {
type: "app",
app: "mojo_helpdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mojohelpdesk.com/api/v2/users`,
params: {
access_key: `${this.mojo_helpdesk.$auth.access_key}`,
},
})
},
})