View as Markdown
CINC icon

CINC ACTION

Create New Lead

This component creates a new lead in Cinc. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's CINC account once, then configure and run Create New Lead 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: "cinc-create-lead",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cinc: { 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 New Lead inputs
Property Type Description
firstName First Name string
First name of the lead
Required
lastName Last Name string
Last name of the lead
Required
email Email string
Email address of the lead
Required
cellphone Cellphone string
Cellphone number of the lead
Required
status Status string
Status of the lead
Optional
source Source string
Source of the lead
Optional
medianListingPrice Median Listing Price string
Median listing price of the lead
Optional
averageListingPrice Average Listing Price string
Average listing price of the lead
Optional
isBuyerLead Is Buyer Lead boolean
Whether the lead is a buyer lead or not
Optional
isSellerLead Is Seller Lead boolean
Whether the lead is a seller lead or not
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
cinc-create-lead
Version
0.0.2
App
CINC
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes