View as Markdown
ProdPad icon

ProdPad ACTION

Find or Create Contact

Finds or creates a contact. See the docs for find contact and create contact.
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ProdPad account once, then configure and run Find 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: "prodpad-find-or-create-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    prodpad: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    email: "Email",
  },
})

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.

Find or Create Contact inputs
Property Type Description
name Name string
Name of contact or partial name of contacts to filter the list by
Optional
email Email string
Filter the contacts by an email.
Optional
tagIds Tags string[]
ID of one or more tags to filter the contacts by.
Optional Dynamic
persona Persona string
ID of a persona to filter contacts by.
Optional Dynamic
company Company string
UUID of a company to filter contacts by.
Optional Dynamic
jobrole Job Role ID string
UUID of a job role to filter contacts by.
Optional Dynamic

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
prodpad-find-or-create-contact
Version
0.0.2
App
ProdPad
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes