Jobnimbus ACTION
Create Contact
Creates a contact. See the documentation
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Jobnimbus account once, then configure and run Create 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-create-contact",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
jobnimbus: { authProvisionId: "apn_xxxxxxx" },
firstName: "First Name",
lastName: "Last Name",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "jobnimbus-create-contact",
"configured_props": {
"jobnimbus": { "authProvisionId": "apn_xxxxxxx" },
"firstName": "First Name",
"lastName": "Last Name"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "jobnimbus",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "jobnimbus-create-contact",
arguments: {
firstName: "First Name",
lastName: "Last Name",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
firstName First Name | string | The first name of the person this contact record is associated with. Required |
lastName Last Name | string | The last name of the person this contact record is associated with. Required |
displayName Display Name | string | The company name that this contact record is associated with. Required |
company Company Name | string | Display name used mainly for QB syncing. Required |
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-create-contact
- Version
- 0.0.2
- App
- Jobnimbus
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗