← Philips Hue + Jobnimbus integrations

Create Contact with Jobnimbus API on New Light State from Philips Hue API

Pipedream makes it easy to connect APIs for Jobnimbus, Philips Hue and 2,700+ other apps remarkably fast.

Trigger workflow on
New Light State from the Philips Hue API
Next, do this
Create Contact with the Jobnimbus API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Philips Hue trigger and Jobnimbus action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Light State trigger
    1. Connect your Philips Hue account
    2. Configure timer
    3. Configure Username
    4. Optional- Select a Light ID
    5. Optional- Select a Group ID
  3. Configure the Create Contact action
    1. Connect your Jobnimbus account
    2. Configure First Name
    3. Configure Last Name
    4. Configure Display Name
    5. Configure Company Name
    6. Optional- Configure Number
    7. Optional- Configure Is Active
    8. Optional- Configure Is Archived
    9. Optional- Configure Tags
    10. Optional- Configure Description
    11. Optional- Configure Address Line 1
    12. Optional- Configure Address Line 2
    13. Optional- Configure City
    14. Optional- Configure State
    15. Optional- Configure Zip
    16. Optional- Configure Country
    17. Optional- Configure Geo Latitude
    18. Optional- Configure Geo Longitude
    19. Optional- Configure Estimated Time
    20. Optional- Configure Is Lead
    21. Optional- Configure Is Closed
    22. Optional- Configure Is Subcontractor
    23. Optional- Configure Email
    24. Optional- Configure Home Phone
    25. Optional- Configure Mobile Phone
    26. Optional- Configure Work Phone
    27. Optional- Configure Fax Number
    28. Optional- Configure Website
    29. Optional- Configure Additional Fields
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). [See the documentation](https://developers.meethue.com/develop/hue-api-v2/api-reference/#resource_light__id__put)
Version:0.0.1
Key:philips_hue-new-light-state

Philips Hue Overview

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.

Trigger Code

import common from "../common/base.mjs";
import { ConfigurationError } from "@pipedream/platform";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "philips_hue-new-light-state",
  name: "New Light State",
  description: "Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). [See the documentation](https://developers.meethue.com/develop/hue-api-v2/api-reference/#resource_light__id__put)",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    lightId: {
      propDefinition: [
        common.props.philipsHue,
        "lightId",
        (c) => ({
          username: c.username,
        }),
      ],
      optional: true,
    },
    groupId: {
      propDefinition: [
        common.props.philipsHue,
        "groupId",
        (c) => ({
          username: c.username,
        }),
      ],
      optional: true,
    },
  },
  hooks: {
    deploy() {
      if ((!this.lightId && !this.groupId) || (this.lightId && this.groupId)) {
        throw new ConfigurationError("Must specify exactly one of Light ID or Group ID");
      }
    },
  },
  methods: {
    ...common.methods,
    getSummary(item) {
      return `${this.lightId
        ? "Light"
        : "Group"} with ID ${item.id} changed ${item.propertyChanged} state`;
    },
  },
  async run() {
    const previousData = this._getPreviousData();
    const args = {
      username: this.username,
    };
    const { data } = this.lightId
      ? await this.philipsHue.getLight({
        ...args,
        lightId: this.lightId,
      })
      : await this.philipsHue.getGroup({
        ...args,
        groupId: this.groupId,
      });

    for (const item of data) {
      const itemData = {
        on: item?.on,
        brightness: item?.dimming?.brightness,
        color: item?.color?.xy,
      };
      if (
        previousData[item.id]
        && JSON.stringify(previousData[item.id]) === JSON.stringify(itemData)
      ) {
        continue;
      }
      item.propertyChanged = !previousData[item.id] || previousData[item.id].on !== itemData.on
        ? "on/off"
        : previousData[item.id].brightness !== itemData.brightness
          ? "brightness"
          : "color";

      this.emitEvent(item);

      previousData[item.id] = itemData;
    }

    this._setPreviousData(previousData);
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Philips HuephilipsHueappThis component uses the Philips Hue app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Usernameusernamestring

The username to use. See the documentation for information on how to create an authorized username

Light IDlightIdstringSelect a value from the drop down menu.
Group IDgroupIdstringSelect a value from the drop down menu.

Trigger Authentication

Philips Hue uses OAuth authentication. When you connect your Philips Hue account, Pipedream will open a popup window where you can sign into Philips Hue and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Philips Hue API.

Pipedream requests the following authorization scopes when you connect your account:

About Philips Hue

Smart light lets you do more. Whether that’s creating the perfect atmosphere for a relaxing night in or bringing the thrill of the theater into your living room, Philips Hue helps you think larger than light.

Action

Description:Creates a contact. [See the documentation](https://documenter.getpostman.com/view/3919598/S11PpG4x#7ec1541f-7241-4840-9322-0ed83c01d48e)
Version:0.0.1
Key:jobnimbus-create-contact

Jobnimbus Overview

The Jobnimbus API allows for the creation of complex workflows revolving around job and customer management within the construction and contracting industries. With this API, users can automate tasks such as updating job statuses, managing contacts, and creating tasks or appointments. This streamlines the process of moving a job from lead to completion, ensuring communication and record-keeping are seamless.

Action Code

/* eslint-disable pipedream/props-label */
/* eslint-disable pipedream/props-description */
import base from "../common/contact-base.mjs";

export default {
  key: "jobnimbus-create-contact",
  version: "0.0.1",
  type: "action",
  name: "Create Contact",
  description: "Creates a contact. [See the documentation](https://documenter.getpostman.com/view/3919598/S11PpG4x#7ec1541f-7241-4840-9322-0ed83c01d48e)",
  ...base,
  props: {
    ...base.props,
    firstName: {
      ...base.props.firstName,
      optional: false,
    },
    lastName: {
      ...base.props.lastName,
      optional: false,
    },
    displayName: {
      ...base.props.displayName,
      optional: false,
    },
    company: {
      ...base.props.company,
      optional: false,
    },
  },
  async run ({ $ }) {
    const data = this.prepareData();
    const resp = await this.app.createContact({
      $,
      data,
    });
    $.export("$summary", `Successfully created contact with ID ${resp.jnid}`);
    return resp;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
JobnimbusappappThis component uses the Jobnimbus app.
First NamefirstNamestring

The first name of the person this contact record is associated with.

Last NamelastNamestring

The last name of the person this contact record is associated with.

Display NamedisplayNamestring

The company name that this contact record is associated with.

Company Namecompanystring

Display name used mainly for QB syncing.

Numbernumberstring

The customer defined template generated number assigned to this record, based off of the record id.

Is ActiveisActiveboolean

Whether this record is active(true) or deleted(false).

Is ArchivedisArchivedboolean

Whether this record has been archived (true) or not (false).

Tagstagsstring[]

List of string tags

Descriptiondescriptionstring

The description of this record.

Address Line 1address1string

The line 1 portion of the physical address.

Address Line 2address2string

The line 2 portion of the physical address.

Citycitystring

The city portion of the physical address.

Statestatestring

The state text portion of the physical address.

Zipzipstring

The postal code portion of the physical address.

Countrycountrystring

The country portion of the physical address.

Geo LatitudegeoLatstring

The latitude of geo coordinates of the address associated with this record.

Geo LongitudegeoLongstring

The longitude of geo coordinates of the address associated with this record.

Estimated TimeestimatedTimeinteger

The number of minutes this record is estimated to take to complete.

Is LeadisLeadboolean

Whether this record is a lead or not.

Is ClosedisClosedboolean

Whether this record is closed or not.

Is SubcontractorisSubcontractorboolean

Whether this contact is a subcontractor or not for User.

Emailemailstring

The email address associated with the contact.

Home PhonehomePhonestring

The home phone number associated with this contact.

Mobile PhonemobilePhonestring

The mobile phone number associated with this contact.

Work PhoneworkPhonestring

The work phone number associated with this contact.

Fax NumberfaxNumberstring

The fax number associated with this contact.

Websitewebsitestring

Website

Additional FieldsadditionalFieldsobject

Additional fields that can be added according to API docs and custom fields.

Action Authentication

Jobnimbus uses API keys for authentication. When you connect your Jobnimbus account, Pipedream securely stores the keys so you can easily authenticate to Jobnimbus APIs in both code and no-code steps.

To retrieve your Jobnimbus API key and secret,
* Navigate to your Jobnimbus account and sign in
* Go to “Settings” > “API”

About Jobnimbus

JobNimbus saves you time and money with robust project, contact, and task management tools wrapped in a simple interface.

More Ways to Connect Jobnimbus + Philips Hue

Create Attachment with Jobnimbus API on New Light State from Philips Hue API
Philips Hue + Jobnimbus
 
Try it
Find Contact By Email with Jobnimbus API on New Light State from Philips Hue API
Philips Hue + Jobnimbus
 
Try it
Find Contact By ID with Jobnimbus API on New Light State from Philips Hue API
Philips Hue + Jobnimbus
 
Try it
Update Contact with Jobnimbus API on New Light State from Philips Hue API
Philips Hue + Jobnimbus
 
Try it
Create Attachment with Jobnimbus API on New Sensor Update from Philips Hue API
Philips Hue + Jobnimbus
 
Try it
New Light State from the Philips Hue API

Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). See the documentation

 
Try it
New Scene Activated from the Philips Hue API

Emit new event when a specific scene is activated. See the documentation

 
Try it
New Sensor Update from the Philips Hue API

Emit new event when a linked Hue sensor (e.g., motion, temperature, or ambient light) sends an update. See the documentation

 
Try it
New Activity Created Event from the Jobnimbus API

Emit new events when a new activity created. See the docs

 
Try it
New Contact Created Event from the Jobnimbus API

Emit new events when a new contact is created. See the docs

 
Try it
Activate Scene with the Philips Hue API

Activates a Philips Hue light scene. See the documentation

 
Try it
Set Light Color with the Philips Hue API

Sets the light color of a Philips Hue light. See the documentation

 
Try it
Turn Light On with the Philips Hue API

Turns on or off a Philips Hue light or group of lights. See the documentation

 
Try it
Create Attachment with the Jobnimbus API

Creates an attachment. See the documentation

 
Try it
Create Contact with the Jobnimbus API

Creates a contact. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.