View as Markdown
Teamleader Focus icon

Teamleader Focus ACTION

Update Company

Update a company. 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 Company 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-company",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    teamleader_focus: { authProvisionId: "apn_xxxxxxx" },
    companyId: "Company",
    name: "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 Company inputs
Property Type Description
companyId Company string
Identifier of a company
Required Dynamic
name Name string
Name of the company
Optional
email Email string
Email of the company
Optional
phone Phone string
Phone number of the company
Optional
website Website string
Website of the company
Optional
businessTypeId Business Type string
Business type of the company
Optional Dynamic
vatNumber VAT Number string
VAT number of the company
Optional
nationalIdentificationNumber National Identification Number string
National identification number of the company
Optional
iban IBAN string
IBAN of the company
Optional
bic BIC string
BIC of the company
Optional
language Language string
Language of the company. Example: en
Optional
responsibleUserId Responsible User ID string
ID of the user responsible for the company
Optional Dynamic
remarks Remarks string
Remarks about the company
Optional
tags Tags string[]
Tags of the company. Note: This will overwrite existing tags.
Optional
marketingMailsConsent Marketing Mails Consent boolean
Whether the company has consented to receive marketing emails
Optional
preferredCurrency Preferred Currency string
Preferred currency of the company
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-company
Version
0.0.3
App
Teamleader Focus
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes