View as Markdown
Attio icon

Attio ACTION

Create Person

Create a new person record in Attio. Use when adding a contact. Set any of the person fields (name, email, job title, phone, socials) and optionally link a company by its record id. Example: First Name Ada, Last Name Lovelace, Email ada@example.com, Job Title Analyst. Returns the created person record with its id. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Attio account once, then configure and run Create 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-create-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    attio: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last 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.

Create Person inputs
Property Type Description
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-create-person
Version
0.0.6
App
Attio
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes