CRM Architecture Designer

CRM integration

by LeadMagic · MIT license · ★ 62 on GitHub

CRM integration cover

Configure CRM systems for GTM — lifecycle stages, deal stages, field ownership, enrichment sync, dedupe, required fields, and reporting. Use when setting up HubSpot, Salesforce, Attio, or any CRM integration for sales and marketing teams.

---
name: crm-integration
description: >-
  Configure CRM systems for GTM — lifecycle stages, deal stages, field ownership,
  enrichment sync, dedupe, required fields, and reporting. Use when setting up
  HubSpot, Salesforce, Attio, or any CRM integration for sales and marketing teams.
license: MIT
compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
metadata:
  version: "1.1.0"
  author: LeadMagic
  category: automation
  tags: [crm, hubspot, salesforce, attio, integration, revops]
  related_skills: [crm-toolkit, hubspot-setup, salesforce-setup, attio-setup, pipeline-management, gtm-operations]
  frameworks: [HubSpot CRM Best Practices, Salesforce Architecture, Attio Object Model, Winning by Design Bowtie]
---

# CRM Integration

Overview

Most CRM problems are process problems disguised as software problems. Teams add fields, automations, and sync rules before deciding what the CRM is supposed to be the source of truth for.

Manual install (npx, ZIP)
Claude Codenpx skills add LeadMagic/gtm-skills --skill crm-integration -g -a claude-code
Claude Code (degit)npx degit LeadMagic/gtm-skills/skills/automation/crm-integration#main ~/.claude/skills/crm-integration-2
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md6.5 KB
Read SKILL.md here
LeadMagic/main1 file shown
SKILL.md
Show the full text154 lines

CRM Integration

Overview

Most CRM problems are process problems disguised as software problems. Teams add fields, automations, and sync rules before deciding what the CRM is supposed to be the source of truth for.

This skill designs a CRM integration that supports GTM execution without turning into rep admin theater: clear lifecycle stages, field ownership, enrichment sync, dedupe, and stage-gate rules.

When to Use

Use this skill when the user asks to "set up our CRM for sales", "configure HubSpot", "configure Salesforce", "set up Attio", "design deal stages", "integrate enrichment with CRM", "clean up CRM data", "define lifecycle stages", or "build CRM reporting".

Use crm-toolkit for platform selection, contacts-vs-leads architecture, and blueprints — then platform setup skills (hubspot-setup, salesforce-setup, attio-setup) for rollout.

Authoritative Foundations

Winning by Design — Bowtie Model

CRM design should cover the full bowtie: acquisition, conversion, retention, expansion, and advocacy. Most teams only model pipeline and ignore post-sale stages.

HubSpot — Lifecycle Stage Model

HubSpot's lifecycle model is useful for SMB and mid-market teams because it connects marketing, sales, and CS handoffs with clear stage definitions.

Salesforce — Opportunity and Object Architecture

Salesforce works best when object relationships, required fields, and automation rules are designed before admins start customizing pages.

Attio — Programmable CRM Model

Attio's flexible object model works well for teams that need relationship intelligence, custom objects, and lightweight GTM workflows without Salesforce overhead.

Prerequisites

  • Defined GTM motion: PLG, sales-led, founder-led, or hybrid
  • ICP tiers and segments
  • Sales stages and exit criteria
  • CRM owner/admin
  • Enrichment sources
  • Sequencer and marketing automation tools
  • Reporting requirements

Step-by-Step Process

Phase 1: Define Source-of-Truth Rules
Data Type Source of Truth Write Access
Contact identity CRM CRM + enrichment upsert
Lifecycle stage CRM Automation + owner override
Deal stage CRM Deal owner
Enrichment fields Enrichment pipeline Enrichment system only
Suppression/opt-out CRM/compliance Compliance automation only
Activity history CRM Integrated tools

No integration should write fields it does not own.

Phase 2: Build Lifecycle Stages

Recommended stages: subscriber/raw lead, lead, MQL, SQL, opportunity, customer, expansion candidate, evangelist/referral source. Each stage needs entry criteria and exit criteria.

Phase 3: Design Deal Stages
Stage Required Exit Criteria
Discovery Pain, persona, account fit captured
Qualified Need, authority, timeline, next step confirmed
Demo / Evaluation Success criteria and stakeholders documented
Proposal Scope, pricing, decision process known
Negotiation Procurement/legal path identified
Closed Won/Lost Reason code and next action captured

Enterprise motions can add MEDDICC fields. SMB motions should keep required fields lighter.

Phase 4: Integrate Enrichment

Enrichment writes only enrichment-owned fields, never overwrites manually corrected CRM fields without confirmation, uses source + timestamp columns, and exposes failed enrichment as a visible status.

Phase 5: Reporting and Governance

Minimum dashboards: funnel conversion by lifecycle stage, pipeline by stage and owner, stage aging, source-to-revenue attribution, data completeness, enrichment coverage and freshness.

Output Format

# CRM Integration Blueprint

## Source-of-Truth Rules
| Field Group | Source | Allowed Writers | Overwrite Rule |
|---|---|---|---|

## Lifecycle Stages
| Stage | Entry Criteria | Exit Criteria | Owner |
|---|---|---|---|

## Deal Pipeline
| Stage | Required Fields | Exit Criteria | Automation |
|---|---|---|---|

## Integration Map
| Tool | Reads From CRM | Writes To CRM | Risk |
|---|---|---|---|

Quality Check

Before delivering, verify:

  • Every stage has entry and exit criteria
  • Field ownership is defined
  • Enrichment cannot overwrite human-owned fields silently
  • Required fields are minimal enough reps will use them
  • CRM supports marketing, sales, and CS handoffs
  • Dashboards cover funnel, pipeline, stage aging, and data quality

Common Pitfalls

  1. Two-way sync everywhere. Creates conflicts and loops. Fix: define read/write ownership per tool.
  2. Too many required fields. Reps stop updating CRM. Fix: require only fields needed for the next stage.
  3. No stage exit criteria. Pipeline becomes subjective. Fix: write objective exit rules.
  4. CRM as the process. Tools do not create process. Fix: define process first, configure second.
  5. No data freshness. Old enriched fields linger forever. Fix: source and timestamp every enrichment field.
  6. No lost reason taxonomy. Closed-lost learning disappears. Fix: standardized lost reasons with notes.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand: Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
  • hubspot-setup — HubSpot-specific implementation
  • salesforce-setup — Salesforce-specific implementation
  • attio-setup — Attio-specific implementation
  • gtm-operations — governance and operating cadence
1---
2name: crm-integration
3description: >-
4 Configure CRM systems for GTM — lifecycle stages, deal stages, field ownership,
5 enrichment sync, dedupe, required fields, and reporting. Use when setting up
6 HubSpot, Salesforce, Attio, or any CRM integration for sales and marketing teams.
7license: MIT
8compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
9metadata:
10 version: "1.1.0"
11 author: LeadMagic
12 category: automation
13 tags: [crm, hubspot, salesforce, attio, integration, revops]
14 related_skills: [crm-toolkit, hubspot-setup, salesforce-setup, attio-setup, pipeline-management, gtm-operations]
15 frameworks: [HubSpot CRM Best Practices, Salesforce Architecture, Attio Object Model, Winning by Design Bowtie]
16---
17 
18# CRM Integration
19 
20## Overview
21 
22Most CRM problems are process problems disguised as software problems. Teams add fields, automations, and sync rules before deciding what the CRM is supposed to be the source of truth for.
23 
24This skill designs a CRM integration that supports GTM execution without turning into rep admin theater: clear lifecycle stages, field ownership, enrichment sync, dedupe, and stage-gate rules.
25 
26## When to Use
27 
28Use this skill when the user asks to "set up our CRM for sales", "configure HubSpot", "configure Salesforce", "set up Attio", "design deal stages", "integrate enrichment with CRM", "clean up CRM data", "define lifecycle stages", or "build CRM reporting".
29 
30Use `crm-toolkit` for platform selection, contacts-vs-leads architecture, and
31blueprints — then platform setup skills (`hubspot-setup`, `salesforce-setup`,
32`attio-setup`) for rollout.
33 
34## Authoritative Foundations
35 
36### Winning by Design — Bowtie Model
37CRM design should cover the full bowtie: acquisition, conversion, retention, expansion, and advocacy. Most teams only model pipeline and ignore post-sale stages.
38 
39### HubSpot — Lifecycle Stage Model
40HubSpot's lifecycle model is useful for SMB and mid-market teams because it connects marketing, sales, and CS handoffs with clear stage definitions.
41 
42### Salesforce — Opportunity and Object Architecture
43Salesforce works best when object relationships, required fields, and automation rules are designed before admins start customizing pages.
44 
45### Attio — Programmable CRM Model
46Attio's flexible object model works well for teams that need relationship intelligence, custom objects, and lightweight GTM workflows without Salesforce overhead.
47 
48## Prerequisites
49 
50- Defined GTM motion: PLG, sales-led, founder-led, or hybrid
51- ICP tiers and segments
52- Sales stages and exit criteria
53- CRM owner/admin
54- Enrichment sources
55- Sequencer and marketing automation tools
56- Reporting requirements
57 
58## Step-by-Step Process
59 
60### Phase 1: Define Source-of-Truth Rules
61 
62| Data Type | Source of Truth | Write Access |
63|---|---|---|
64| Contact identity | CRM | CRM + enrichment upsert |
65| Lifecycle stage | CRM | Automation + owner override |
66| Deal stage | CRM | Deal owner |
67| Enrichment fields | Enrichment pipeline | Enrichment system only |
68| Suppression/opt-out | CRM/compliance | Compliance automation only |
69| Activity history | CRM | Integrated tools |
70 
71No integration should write fields it does not own.
72 
73### Phase 2: Build Lifecycle Stages
74 
75Recommended stages: subscriber/raw lead, lead, MQL, SQL, opportunity, customer, expansion candidate, evangelist/referral source. Each stage needs entry criteria and exit criteria.
76 
77### Phase 3: Design Deal Stages
78 
79| Stage | Required Exit Criteria |
80|---|---|
81| Discovery | Pain, persona, account fit captured |
82| Qualified | Need, authority, timeline, next step confirmed |
83| Demo / Evaluation | Success criteria and stakeholders documented |
84| Proposal | Scope, pricing, decision process known |
85| Negotiation | Procurement/legal path identified |
86| Closed Won/Lost | Reason code and next action captured |
87 
88Enterprise motions can add MEDDICC fields. SMB motions should keep required fields lighter.
89 
90### Phase 4: Integrate Enrichment
91 
92Enrichment writes only enrichment-owned fields, never overwrites manually corrected CRM fields without confirmation, uses source + timestamp columns, and exposes failed enrichment as a visible status.
93 
94### Phase 5: Reporting and Governance
95 
96Minimum dashboards: funnel conversion by lifecycle stage, pipeline by stage and owner, stage aging, source-to-revenue attribution, data completeness, enrichment coverage and freshness.
97 
98## Output Format
99 
100```markdown
101# CRM Integration Blueprint
102 
103## Source-of-Truth Rules
104| Field Group | Source | Allowed Writers | Overwrite Rule |
105|---|---|---|---|
106 
107## Lifecycle Stages
108| Stage | Entry Criteria | Exit Criteria | Owner |
109|---|---|---|---|
110 
111## Deal Pipeline
112| Stage | Required Fields | Exit Criteria | Automation |
113|---|---|---|---|
114 
115## Integration Map
116| Tool | Reads From CRM | Writes To CRM | Risk |
117|---|---|---|---|
118```
119 
120## Quality Check
121 
122Before delivering, verify:
123 
124- [ ] Every stage has entry and exit criteria
125- [ ] Field ownership is defined
126- [ ] Enrichment cannot overwrite human-owned fields silently
127- [ ] Required fields are minimal enough reps will use them
128- [ ] CRM supports marketing, sales, and CS handoffs
129- [ ] Dashboards cover funnel, pipeline, stage aging, and data quality
130 
131## Common Pitfalls
132 
1331. **Two-way sync everywhere.** Creates conflicts and loops. Fix: define read/write ownership per tool.
1342. **Too many required fields.** Reps stop updating CRM. Fix: require only fields needed for the next stage.
1353. **No stage exit criteria.** Pipeline becomes subjective. Fix: write objective exit rules.
1364. **CRM as the process.** Tools do not create process. Fix: define process first, configure second.
1375. **No data freshness.** Old enriched fields linger forever. Fix: source and timestamp every enrichment field.
1386. **No lost reason taxonomy.** Closed-lost learning disappears. Fix: standardized lost reasons with notes.
139 
140## Execution Artifacts
141 
142- `references/framework-notes.md` — named frameworks, citation anchors, and operating assumptions
143- `templates/output-template.md` — copy-paste deliverable structure for the user
144- `scripts/check-output.py` — local checklist validator for required sections
145This skill includes lightweight artifacts the agent can load on demand:
146Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
147 
148## Related Skills
149 
150- `hubspot-setup` — HubSpot-specific implementation
151- `salesforce-setup` — Salesforce-specific implementation
152- `attio-setup` — Attio-specific implementation
153- `gtm-operations` — governance and operating cadence
154 
View all files on GitHub →

Details

License
MIT
Stars on the repo
★ 62
Checked
Source
LeadMagic/gtm-skills ↗
Creator
LeadMagic · 129 listings
View creator

Similar skills

See all →
AgentNEXUS Quick-Start Guidemsitarzewski/agency-agents · by msitarzewski> Get from zero to orchestrated multi-agent pipeline in 5 minutes.★ 154k GitHub starsSkillRaw Footage Cleanuphassancs91/claude-youtube-editor · by hassancs91Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in this repo. Covers audio extraction, AssemblyAI transcription, authoring cuts.json (keeps/cuts/fluff categorized), the cut policy (content-aggressive, pause-natural ~0.5s), QA + review docs, the local cut-editor UI, tight/natural previews, the final 4K60 render, and producing edited-transcript.json as the handoff to /make-tsx. Not for building TSX overlays (that is /make-tsx) or the raw TSX authoring rules (that is vidtsx-2d-generator).★ 330 GitHub starsSkillVocaloid Music Video BuilderEGSECDA/vocaloid-style-mv-pipeline · by EGSECDAMake an original animated music video (MV / PV) for a song from its audio file plus lyrics, in the Vocaloid / J-pop lyric-video tradition: 手書き/tegaki (V家手书, 手描きMV, ボカロPV), 文字PV and kinetic typography (リリックモーション, リリックビデオ, 歌詞動画, 歌词视频, 动态歌词), anime-illustration MVs with an original character — for any mood, from dark ballads to bright upbeat summer pop. Renders to MP4 with a deterministic Canvas2D/WebGL2 engine in a headless browser: JIZURA lyric motion, AI-generated art, optional Blender toon 3D, beat-locked editing, 9:16 vertical/Shorts version. Use it whenever the user wants a music video, MV, PV, lyric video or beat-synced animation for a song, e.g. make an MV for my song", "turn this track into a lyric video", "给这首歌做个MV/PV", "做个V家手书", "この曲のMVを作って", ボカロPV作って", "縦型ショートも" — even if they only give a .wav/.mp3 and say "make a cool video for it". Not for editing existing footage or clip compilations.★ 169 GitHub starsSkillConstruction Project Managerhewi333/Mom-n-Pop-Skills · by hewi333Construction company AI agent — orchestrates email (Google Workspace), project management (JobTread Pave API), and file routing for a construction business. Handles email triage, attachment routing to JobTread, project status, task management, and daily briefings via Telegram. Reference implementation for a construction/trades business with an existing email→Drive→PM pipeline.★ 122 GitHub starsSkillLightweight SQLite CRMhewi333/Mom-n-Pop-Skills · by hewi333Use when tracking customer interactions, managing leads, or building a lightweight CRM for small businesses without dedicated CRM software. Stores contacts, leads, activities, estimates, and communications in local SQLite.★ 122 GitHub starsSkillShort Video Pipelinehowznguyen/shorts-kit · by howznguyenOrchestrates one narrated vertical short (TikTok, YouTube Shorts, Reels) from idea to upload-ready hand-off files, in the fixed order idea, facts, flow and visual choice, brief, narration, TTS, lint, scenes, still review, render, cover, normalize, encode, hand-off. Use when the user says "make a video about X", "start a new short", "take this idea to a finished video", "what's the next step", "where was I on this video", or asks how the whole pipeline fits together. Also when the user gives a video or audio file (or a folder of clips) to edit: "edit this video", "dựng video này", a .mov/.mp4 path. Points at the skill and the SOUL section that governs each step.★ 69 GitHub stars

More from LeadMagic

SkillFirst-Party Analytics SetupLeadMagic/gtm-skills · by LeadMagicSet up first-party tracking and analytics — website pixels, conversion tracking, UTM architecture, cookie consent, server-side tagging vs client-side, 1P vs 3P data strategy, and identity resolution. Use when setting up tracking, implementing pixels, building attribution, or preparing for privacy-first measurement. Triggers on: "pixel", "tracking", "conversion tracking", "first-party data", server-side tagging", "UTM", "cookie consent", "1P vs 3P", "identity resolution", or any tracking implementation request.★ 62 GitHub starsSkillStrategic Account MarketingLeadMagic/gtm-skills · by LeadMagicRuns strategic 1-to-1 ABM for 5-15 high-value accounts: account plans, custom microsites, executive engagement, direct mail, and board-level connections. Use when a named enterprise account justifies bespoke content and executive time, or when the user needs a strategic account plan. Triggers on: "1-to-1 ABM", "strategic ABM", "custom ABM", "key account marketing", "named account".★ 62 GitHub starsSkillCluster Account MarketingLeadMagic/gtm-skills · by LeadMagicRuns ABM at scale (1-to-few) for 15-50 clustered accounts: industry or persona clusters, semi-custom campaigns, and cluster-level content. Use when named-account ABM needs to reach more accounts without bespoke work per account. Triggers on: "1-to-few ABM", "ABM scale", "cluster ABM", "industry ABM".★ 62 GitHub starsSkillProgrammatic Account TargetingLeadMagic/gtm-skills · by LeadMagicRuns programmatic 1-to-many ABM for 50-200+ accounts: automated personalization, scaled outbound, intent-based targeting, and lookalike expansion. Use when ABM coverage must grow without adding headcount or when the user wants automated account-based outreach. Triggers on: "1-to-many ABM", programmatic ABM", "scaled ABM", "automated ABM".★ 62 GitHub starsSkillAccount Strategy DesignerLeadMagic/gtm-skills · by LeadMagicDesigns an account-based marketing program: tier selection, account scoring, channel orchestration, BDR alignment (account-based sales development), and a measurement framework. Use when the user is launching or redesigning ABM, choosing between 1-to-1, 1-to-few, and 1-to-many, or building a target account program. Triggers on: "ABM strategy", "account based marketing", "ABM playbook", "design ABM", "target accounts", "ABSD", "account based sales development", "Lars Nilsson".★ 62 GitHub starsSkillTarget Account SelectorLeadMagic/gtm-skills · by LeadMagicBuilds and tiers a target account list: fit and intent scoring models, tier assignment, and TAM segmentation. Use when the user needs to decide which accounts to target, score or tier an account list, or prioritize a TAM for ABM or outbound. Triggers on: "account selection", "target account list", "tier accounts", "prioritize accounts", "TAM segmentation".★ 62 GitHub stars