View as Markdown
Callingly icon

Callingly ACTION

Update Lead

Updates an existing lead in Callingly. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Callingly account once, then configure and run Update 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: "callingly-update-lead",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    callingly: { authProvisionId: "apn_xxxxxxx" },
    leadId: "Lead ID",
    firstName: "First 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.

Update Lead inputs
Property Type Description
leadId Lead ID string
The ID of the lead
Required Dynamic
firstName First Name string
Lead's first name
Optional
lastName Last Name string
Lead's last name
Optional
email Email string
Lead's email address
Optional
phoneNumber Phone Number string
Lead's phone number (E164 format preferred, e.g., +11234567890)
Optional
company Company string
Lead's company name
Optional
source Source string
Source of the lead
Optional
status Status string
Lead status (e.g., missed, contacted)
Optional
result Result string
Lead result
Optional
stage Stage string
Lead stage
Optional
isStopped Is Stopped boolean
Whether the lead is stopped
Optional
isBlocked Is Blocked boolean
Whether the lead is blocked
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
callingly-update-lead
Version
0.0.1
App
Callingly
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes