View as Markdown
Specific icon

Specific ACTION

Update or Create Contact

Modify an existing contact's details or create a new one if the specified contact does not exist. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Specific account once, then configure and run Update or 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: "specific-update-create-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    specific: { authProvisionId: "apn_xxxxxxx" },
    contactEmail: "Contact Email",
    companyId: "Company ID",
  },
})

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 or Create Contact inputs
Property Type Description
contactEmail Contact Email string
The email of the contact
Required Dynamic
companyId Company ID string
The ID of the company to retrieve details for
Optional Dynamic
name Name string
Contact's name.
Optional
email New Email string
New email to update
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
specific-update-create-contact
Version
0.0.2
App
Specific
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes