View as Markdown
Attio icon

Attio ACTION

Get Record

Retrieve a single record by its ID from a given object (people, companies, deals, or a custom object). Use when you have a record's id and need its attribute values. Example: Object people, Record ID 891dcbfc-9141-415d-9b2a-2238a6cc012d. Returns the record with its attribute values. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Attio account once, then configure and run Get Record 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-get-record",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    attio: { authProvisionId: "apn_xxxxxxx" },
    objectId: "Object ID",
    recordId: "Record ID",
  },
})

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.

Get Record inputs
Property Type Description
objectId Object ID string
The identifier of an object
Required Dynamic
recordId Record ID string
The identifier of the record to retrieve. Use the List Records action to look up record IDs.
Required 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-get-record
Version
0.0.5
App
Attio
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes