View as Markdown
Teamleader Focus icon

Teamleader Focus ACTION

Update Contact

Update a contact. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Teamleader Focus account once, then configure and run Update 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: "teamleader_focus-update-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    teamleader_focus: { authProvisionId: "apn_xxxxxxx" },
    contactId: "Contact",
    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 Contact inputs
Property Type Description
contactId Contact string
Identifier of a contact lead
Required Dynamic
firstName First Name string
First name of the contact
Optional
lastName Last Name string
Last name of the contact
Optional
email Email string
Email address of the contact
Optional
website Website string
Website of the contact
Optional
phone Phone string
Phone number of the contact
Optional
iban IBAN string
IBAN of the contact
Optional
bic BIC string
BIC of the contact
Optional
language Language string
Language of the contact. Example: en
Optional
remarks Remarks string
Remarks about the contact
Optional
tags Tags string[]
Tags of the contact
Optional
marketingMailsConsent Marketing Mails Consent boolean
Whether the contact has consented to receive marketing emails
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
teamleader_focus-update-contact
Version
0.0.3
App
Teamleader Focus
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes