/attio-pack:attio-core-workflow-afrom attio-pack
Creates, reads, updates, deletes, and searches Attio CRM records (people, companies, deals, custom objects) via the Attio REST API. Includes attribute type reference for correct value formatting.
Ships in attio-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Complete record lifecycle on the Attio REST API. Records are instances of objects (people, companies, deals, custom). Values are keyed by attribute slug and are always arrays (Attio supports multiselect natively).
attio-install-auth completedobject_configuration:read, record_permission:read, record_permission:read-write| Type | Slug example | Value format |
|---|---|---|
text | description | "plain string" |
number | revenue | 123456 |
email-address | email_addresses | "[email protected]" (string shortcut) |
phone-number | phone_numbers | { original_phone_number: "+14155551234" } |
domain | domains | "acme.com" (string shortcut) |
personal-name | name | { first_name, last_name, full_name } |
location | primary_location | "San Francisco, CA" (string shortcut) |
record-reference | company | { target_object: "companies", target_record_id: "..." } |
select / status | stage | { option: "qualified" } |
currency | deal_value | { currency_code: "USD", currency_value: 50000 } |
checkbox | is_active | true / false |
date | close_date | "2025-06-15" |
timestamp | last_contact | "2025-06-15T14:30:00.000Z" |
rating | priority | 4 (integer 1-5) |
// Create a person
const person = await client.post<{ data: AttioRecord }>(
"/objects/people/records",
{
data: {
values: {
email_addresses: ["[email protected]"],
name: [{ first_name: "Ada", last_name: "Lovelace", full_name: "Ada Lovelace" }],
phone_numbers: [{ original_phone_number: "+14155551234" }],
primary_location: ["London, UK"],
description: ["Mathematician and first programmer"],
},
},
}
);
// Create a company
const company = await client.post<{ data: AttioRecord }>(
"/objects/companies/records",
{
data: {
values: {
name: ["Babbage Analytical Engines"],
domains: ["babbage.io"],
description: ["Mechanical computing pioneer"],
primary_location: ["London, UK"],
},
},
}
);
// GET /v2/objects/{object_slug}/records/{record_id}
const record = await client.get<{ data: AttioRecord }>(
`/objects/people/records/${person.data.id.record_id}`
);
// Access values (always arrays)
const fullName = record.data.values.name?.[0]?.full_name;
const email = record.data.values.email_addresses?.[0]?.email_address;
// PATCH: Append to multiselect values
await client.patch<{ data: AttioRecord }>(
`/objects/people/records/${recordId}`,
{
data: {
values: {
email_addresses: ["[email protected]"], // Adds to existing emails
},
},
}
);
// PUT: Overwrite (assert) -- replaces all values for specified attributes
await client.put<{ data: AttioRecord }>(
`/objects/people/records/${recordId}`,
{
data: {
values: {
email_addresses: ["[email protected]"], // Replaces all emails
},
},
}
);
// POST /v2/objects/{object}/records/query
const results = await client.post<{ data: AttioRecord[] }>(
"/objects/companies/records/query",
{
// Shorthand filter (equality check)
filter: {
domains: "acme.com",
},
limit: 25,
}
);
// Verbose filter with operators
const filtered = await client.post<{ data: AttioRecord[] }>(
"/objects/people/records/query",
{
filter: {
$and: [
{ email_addresses: { email_address: { $contains: "example.com" } } },
{ name: { last_name: { $eq: "Lovelace" } } },
],
},
sorts: [
{ attribute: "created_at", field: "created_at", direction: "desc" },
],
limit: 50,
offset: 0,
}
);
Available filter operators: $eq, $not_empty, $contains, $gt, $gte, $lt, $lte, $in, $and, $or.
// POST /v2/records/search -- searches across all objects
const search = await client.post<{ data: AttioRecord[] }>(
"/records/search",
{
query: "Ada Lovelace",
limit: 10,
}
);
// DELETE /v2/objects/{object}/records/{record_id}
await client.delete(`/objects/people/records/${recordId}`);
// Link a person to a company
await client.patch<{ data: AttioRecord }>(
`/objects/people/records/${personId}`,
{
data: {
values: {
company: [{
target_object: "companies",
target_record_id: companyId,
}],
},
},
}
);
| Error | Status | Cause | Solution |
|---|---|---|---|
not_found | 404 | Invalid object slug or record ID | Verify with GET /v2/objects |
validation_error | 422 | Wrong value format for attribute type | Check attribute type table above |
rate_limit_exceeded | 429 | Exceeded 10-second sliding window | Honor Retry-After header |
conflict | 409 | Duplicate on unique attribute | Use PUT (assert/upsert) |
insufficient_scopes | 403 | Missing record_permission:read-write | Update token scopes |
For list/entry operations (pipelines, boards), see attio-core-workflow-b.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flight505/skill-forge --plugin attio-pack18 skills in this plugin
/attio-ci-integrationConfigure CI/CD pipelines for Attio integrations with GitHub Actions,
mock-based unit tests, and live API integration tests.
Trigger: "attio CI", "attio GitHub Actions", "attio automated tests",
"CI attio", "attio pipeline", "test attio in CI".
/attio-common-errorsDiagnose and fix the top Attio REST API errors by HTTP status code.
Real error response formats, actual error codes, and proven fixes.
Trigger: "attio error", "fix attio", "attio not working",
"attio 429", "attio 403", "attio 422", "debug attio".
/attio-core-workflow-bManage Attio lists, entries, notes, and tasks via the REST API.
Use when working with sales pipelines, kanban boards, CRM notes,
or task assignments in Attio.
Trigger: "attio lists", "attio entries", "attio pipeline",
"attio notes", "attio tasks", "add to attio list".
Other plugins' skills for the same job