View as Markdown
Connectwise PSA icon

Connectwise PSA ACTION

Create Contact

Creates a new contact in Connectwise. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Connectwise PSA 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: "connectwise_psa-create-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    connectwise_psa: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last 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.

Create Contact inputs
Property Type Description
firstName First Name string
First name of the contact
Required
lastName Last Name string
Last name of the contact
Required
email Email string
Email address of the contact
Optional
types Types integer[]
Select one or more contact types
Required Dynamic
company Company integer
The identifier of a company
Optional Dynamic
relationship Relationship integer
The relationship of the contact
Optional Dynamic
department Department integer
The department of the contact
Optional Dynamic
phone Phone string
Phone number of the contact
Optional
address1 Address Line 1 string
First line of the contact's address
Optional
address2 Address Line 2 string
Second line of the contact's address
Optional
city City string
City of the contact
Optional
state State string
State of the contact
Optional
zip Zip string
Zip code of the contact
Optional
country Country integer
The identifier of a country
Optional Dynamic
isDefault Primary Contact boolean
Whether the contact is the primary (default) contact for the company
Optional
additionalOptions Additional Options object
Additional parameters to send in the request. See the documentation for available parameters. Values will be parsed as JSON where applicable.
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
connectwise_psa-create-contact
Version
0.1.3
App
Connectwise PSA
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes