attio-reference-architecture

Featured

Production reference architecture for Attio CRM integrations -- layered project structure, sync patterns, webhook processing, and multi-environment setup. Trigger: "attio architecture", "attio best practices", "attio project structure", "how to organize attio", "attio integration design".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Attio Reference Architecture ## Overview Production architecture for CRM integrations with the Attio REST API (`https://api.attio.com/v2`). Designed for contact enrichment pipelines, deal tracking across custom lists, bi-directional activity sync with external systems, and workspace isolation for multi-tenant deployments. Key design drivers: webhook-driven data freshness, idempotent upserts via PUT assertions, schema-aware caching, and layered separation between API client, business logic, and infrastructure. ## Architecture Diagram ``` Your App ──→ Service Layer ──→ Cache (Redis) ──→ Attio REST API v2 ↓ /objects/people/records Queue (p-queue) ──→ Sync Worker /lists/{slug}/entries ↓ /notes, /tasks Webhook Handler ←── Attio Events /webhooks ↓ External CRM Sync ──→ HubSpot/Salesforce ``` ## Service Layer ```typescript class ContactService { constructor(private client: AttioClient, private cache: CacheLayer) {} async findByEmail(email: string): Promise<AttioRecord | null> { const res = await this.client.post('/objects/people/records/query', { filter: { email_addresses: email }, limit: 1 }); return res.data[0] || null; } async upsertPerson(data: { email: string; firstName: string; lastName: string }): Promise<AttioRecord> { const res = await this.client.put('/objects/people/records', { d...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category