View as Markdown
Jobnimbus icon

Jobnimbus ACTION

Update Contact

Updates a contact. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Jobnimbus account once, then configure and run Update Contact from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "jobnimbus-update-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    jobnimbus: { authProvisionId: "apn_xxxxxxx" },
    contactId: "Contact ID",
    firstName: "First Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Contact inputs
Property Type Description
contactId Contact ID string
JNID of the contact.
Required Dynamic
firstName First Name string
The first name of the person this contact record is associated with.
Optional
lastName Last Name string
The last name of the person this contact record is associated with.
Optional
displayName Display Name string
The company name that this contact record is associated with.
Optional
company Company Name string
Display name used mainly for QB syncing.
Optional
number Number string
The customer defined template generated number assigned to this record, based off of the record id.
Optional
isActive Is Active boolean
Whether this record is active(true) or deleted(false).
Optional
isArchived Is Archived boolean
Whether this record has been archived (true) or not (false).
Optional
tags Tags string[]
List of string tags
Optional
description Description string
The description of this record.
Optional
address1 Address Line 1 string
The line 1 portion of the physical address.
Optional
address2 Address Line 2 string
The line 2 portion of the physical address.
Optional
city City string
The city portion of the physical address.
Optional
state State string
The state text portion of the physical address.
Optional
zip Zip string
The postal code portion of the physical address.
Optional
country Country string
The country portion of the physical address.
Optional
geoLat Geo Latitude string
The latitude of geo coordinates of the address associated with this record.
Optional
geoLong Geo Longitude string
The longitude of geo coordinates of the address associated with this record.
Optional
estimatedTime Estimated Time integer
The number of minutes this record is estimated to take to complete.
Optional
isLead Is Lead boolean
Whether this record is a lead or not.
Optional
isClosed Is Closed boolean
Whether this record is closed or not.
Optional
isSubcontractor Is Subcontractor boolean
Whether this contact is a subcontractor or not for User.
Optional
email Email string
The email address associated with the contact.
Optional
homePhone Home Phone string
The home phone number associated with this contact.
Optional
mobilePhone Mobile Phone string
The mobile phone number associated with this contact.
Optional
workPhone Work Phone string
The work phone number associated with this contact.
Optional
faxNumber Fax Number string
The fax number associated with this contact.
Optional
website Website string
Website
Optional
additionalFields Additional Fields object
Additional fields that can be added according to API docs and custom fields.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
jobnimbus-update-contact
Version
0.0.2
App
Jobnimbus
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes