CRM integration skill

Configure CRM systems for GTM — lifecycle stages, deal stages, field ownership, enrichment sync, dedupe, required fields, and reporting.

by LeadMagic·MIT license·★ 62 Stars on the repo·GitHub ↗

Use now

Inside this skill

SKILL.md · the author's own words
# CRM Integration

## Overview

Most CRM problems are process problems disguised as software problems. Teams add fields, automations, and sync rules before deciding what t…

This skill designs a CRM integration that supports GTM execution without turning into rep admin theater: clear lifecycle stages, field owne…

## 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…

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

Word-for-word excerpt, not a result. Read the full SKILL.md ↓

Files of CRM integration

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 

Discussion

Alternatives

⚡ NEXUS Quick-Start Guide> Get from zero to orchestrated multi-agent pipeline in 5 minutes.Business & ops · MITclean-cut — the step-1 cut pipelineStep 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).Sales & ecommerce · MITVocaloid-style MV pipeline (手書き / 文字PV)Make 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.Sales & ecommerce · MITConstruction Agent — Email → Project Management PipelineConstruction 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.Sales & ecommerce · MIT