View as Markdown
Klenty icon

Klenty ACTION

Update Prospect

Updates an existing prospect's information in Klenty. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Klenty account once, then configure and run Update Prospect 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: "klenty-update-prospect",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    klenty: { authProvisionId: "apn_xxxxxxx" },
    list: "List",
    prospect: "Prospect",
  },
})

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 Prospect inputs
Property Type Description
list List string
The list you want to add the Prospect to.
Required Dynamic
prospect Prospect string
The prospect to interact.
Required Dynamic
email Email string
The prospect's email address.
Optional
firstName First Name string
The prospect's first name.
Optional
company Company string
The Prospect's company name.
Optional
fullName Full Name string
The Prospect's full name.
Optional
lastName Last Name string
The Prospect's last name.
Optional
middleName Middle Name string
The Prospect's middle name.
Optional
account Account string
The Prospect's Account field.
Optional
department Department string
The Prospect's Department field.
Optional
companyDomain Company Domain string
The Prospect's Company Domain field.
Optional
title Title string
The Prospect's Title field.
Optional
location Location string
The Prospect's Location field.
Optional
phone Phone string
The Prospect's Phone field.
Optional
twitterId Twitter Id string
The Prospect's Twitter Id field.
Optional
companyPhone Company Phone string
The Prospect's Company Phone field.
Optional
companyEmail Company Email string
The Prospect's Company Email field.
Optional
linkedinURL Linkedin URL string
The Prospect's Linkedin URL field.
Optional
city City string
The Prospect's City field.
Optional
country Country string
The Prospect's Country field.
Optional
newList New List string
The list where the prospect is going.
Optional Dynamic
tags Tags string[]
A list of tags.
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
klenty-update-prospect
Version
0.0.2
App
Klenty
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes