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)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "attio-update-person",
"configured_props": {
"attio": { "authProvisionId": "apn_xxxxxxx" },
"recordId": "Person ID",
"firstName": "First Name"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "attio",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "attio-update-person",
arguments: {
recordId: "Person ID",
firstName: "First Name",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| 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
- Source
- View on GitHub ↗