View as Markdown
Attio icon

Attio ACTION

Update Person

Update an existing person record by its ID; only the fields you set are changed. Use Get Record (object people) or the Person ID lookup to find the Person ID first. Example: Person ID 891dcbfc-9141-415d-9b2a-2238a6cc012d, Job Title VP Sales, Email ada@example.com. Returns the updated person record. See the documentation.
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Attio account once, then configure and run Update Person 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: "attio-update-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    attio: { authProvisionId: "apn_xxxxxxx" },
    recordId: "Person 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 Person inputs
Property Type Description
recordId Person ID string
The identifier of the contact to update. Use the List Records action (object people) to look up person record IDs.
Required Dynamic
firstName First Name string
The person's first name.
Optional
lastName Last Name string
The person's last name.
Optional
emailAddress Email string
The contact's email address.
Optional
description Description string
A description of the person.
Optional
jobTitle Job Title string
The person's job title.
Optional
phoneNumber Phone Number string
The person's phone number which is either a) prefixed with a country code (e.g. +44....) or b) a local number, where Phone Number - Country Code is specified in addition.
Optional
phoneNumberCountryCode Phone Number - Country Code string
The country code for the phone number.
Optional
linkedin LinkedIn string
The person's LinkedIn profile URL.
Optional
twitter Twitter string
The person's Twitter handle.
Optional
facebook Facebook string
The person's Facebook profile URL.
Optional
instagram Instagram string
The person's Instagram profile URL.
Optional
companyId Company ID string
The ID of the company to associate with the person. Use the List Records action (object companies) to look up company record IDs.
Optional Dynamic

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
attio-update-person
Version
0.0.6
App
Attio
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes