Salesforce GTM Setup

Salesforce setup

by LeadMagic · MIT license · ★ 62 on GitHub

Salesforce setup cover

Set up Salesforce for B2B SaaS GTM — object model, opportunity pipelines, lead management, reports and dashboards, automation (Flows), and enrichment integration. Use when configuring Salesforce for sales or revops.

---
name: salesforce-setup
description: >-
  Set up Salesforce for B2B SaaS GTM — object model, opportunity pipelines,
  lead management, reports and dashboards, automation (Flows), and enrichment
  integration. Use when configuring Salesforce for sales or revops. Triggers on:
  "Salesforce setup", "configure Salesforce", "Salesforce CRM", "Salesforce
  pipeline", "Salesforce automation", or any Salesforce configuration request.
license: MIT
compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
metadata:
  version: "1.2.0"
  author: LeadMagic
  category: automation
  tags: [salesforce, crm, setup, enterprise, sales, leads, contacts]
  frameworks:
    - "Salesforce Architecture — Lead/Account/Contact/Opportunity"
    - "Marc Benioff — Trust selling, land-and-expand, customer success in CRM"

Overview

Salesforce is the enterprise CRM standard. It's infinitely customizable and infinitely misconfigurable. This skill covers GTM-specific Salesforce setup: object model for B2B SaaS, opportunity pipelines, lead management, Flows automation, reporting, and enrichment integration. Designed for teams that have outgrown HubSpot or require enterprise-grade customization.

Manual install (npx, ZIP)
Claude Codenpx skills add LeadMagic/gtm-skills --skill salesforce-setup -g -a claude-code
Claude Code (degit)npx degit LeadMagic/gtm-skills/skills/automation/salesforce-setup#main ~/.claude/skills/salesforce-setup
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.md7.2 KB
Read SKILL.md here
LeadMagic/main1 file shown
SKILL.md
Show the full text173 lines

Salesforce Setup

Overview

Salesforce is the enterprise CRM standard. It's infinitely customizable and infinitely misconfigurable. This skill covers GTM-specific Salesforce setup: object model for B2B SaaS, opportunity pipelines, lead management, Flows automation, reporting, and enrichment integration. Designed for teams that have outgrown HubSpot or require enterprise-grade customization.

Authoritative Foundations

  • Salesforce Architecture — Lead/Account/Contact/Opportunity — Opportunity stages, forecasting categories, and RevOps object hygiene.
  • Marc Benioff — Trust selling, land-and-expand, customer success in CRM
  • Force.com Platform — Flows, validation, reporting

When to Use

  • "Set up Salesforce for our sales team"
  • "Configure Salesforce opportunity pipeline"
  • "Set up Salesforce Flows automation"
  • "Build Salesforce reports and dashboards"
  • "Migrate from HubSpot to Salesforce"

Step-by-Step Process

Load crm-toolkit first — crm-selection, contacts-vs-leads (Lead vs Contact decision), salesforce-blueprint, and implementation-partners (Salesforce almost always needs SI help).

Phase 1: Object Model

Standard B2B SaaS object hierarchy: Lead → Account → Contact → Opportunity.

Contacts vs leads: Use the Lead object when SDRs qualify inbound before opportunities exist. Convert Lead → Account + Contact + (optional) Opportunity. Skip Leads only for low-volume founder-led motions — see crm-toolkit contacts-vs-leads reference. Do not mirror HubSpot lifecycle as custom Lead fields without a conversion path.

Enterprise motion: Load crm-toolkit → benioff-enterprise-playbook — land-and-expand opp structure, CS fields, trust/commitment logging on Opportunity.

Custom objects for SaaS-specific needs: Subscription (track recurring revenue), Customer Success Plan (health score, QBRs), Integration (partner tracking).

Key custom fields on Opportunity: MEDDICC dimensions (Economic Buyer, Decision Criteria, Champion, etc.), ICP fit score, enrichment status, lead source detail, competitors in deal.

Phase 2: Opportunity Pipeline

Sales process: Define path per record type. Standard: Prospecting → Qualification → Discovery → Demo → Proposal → Negotiation → Closed Won/Lost.

Stage requirements: Required fields per stage. Qualification: MEDDIC dimensions populated. Proposal: Amount, Close Date, Competitors. Negotiation: Decision Process documented.

Validation rules: Close Date cannot be in the past. Amount > $0. Next Step required when stage changes. Stage cannot skip forward.

Phase 3: Lead Management

Lead conversion: Lead → Account + Contact + Opportunity. Required mapping: company name → Account Name, email → Contact Email. Auto-assignment rules based on territory, deal size, or round-robin.

Web-to-Lead: Form submission creates Lead. Auto-enrich via Flow before assignment. Score leads based on ICP fit + engagement.

Phase 4: Flows Automation

Replace Process Builder and Workflow Rules with Flows (Salesforce's modern automation tool). Key Flows:

  • Auto-create task when opportunity stage changes
  • Alert manager when deal stalls >14 days
  • Create renewal opportunity 90 days before contract end
  • Enrich contact on create via external service webhook
Phase 5: Reports and Dashboards

Sales dashboards: Pipeline by stage, rep activity, forecast vs quota, win rate by source, deal velocity.

Revenue dashboards: MRR/ARR trending, churn analysis, expansion revenue, cohort retention.

Data quality dashboards: Missing required fields, stale opportunities, duplicate detection, enrichment gaps.

Phase 6: Enrichment Integration

One-direction push: External enrichment (Clay, LeadMagic) → Salesforce. Never Salesforce → enrichment platform.

Flow-triggered enrichment: Contact created → Flow calls external webhook → enrichment data writes back to Contact/Account fields.

Scheduled enrichment: Weekly batch job re-verifies emails >90 days old, refreshes firmographic data on key accounts.

Output Format

Salesforce configuration document with: object model diagram, opportunity pipeline map with validation rules, lead management flow, Flows automation catalog, dashboard specs, and enrichment integration architecture.

Quality Check

  • Object model: Lead → Account → Contact → Opportunity hierarchy configured
  • Opportunity stages defined with required fields and validation rules
  • Lead scoring and assignment rules active
  • Key Flows automating repetitive tasks
  • Dashboards for sales, revenue, and data quality
  • Enrichment: one-direction push, never two-way sync

Common Pitfalls

  1. Over-customization before process. Custom objects and fields without a defined process create complexity without value. Design the process, then configure Salesforce to support it.

  2. No validation rules. Close dates in the past, $0 opportunities, blank required fields. Validation rules enforce data quality.

  3. Process Builder instead of Flows. Process Builder is deprecated. Migrate everything to Flows.

  4. Lead assignment without enrichment. Routing an unenriched lead means reps waste time researching. Enrich on lead create, then assign.

  5. Report sprawl. 50 reports nobody reads. Build 5-7 dashboards that answer the most important questions. Archive the rest.

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.
  • crm-toolkit: Selection, contacts-vs-leads, salesforce-blueprint, benioff-enterprise-playbook, partners
  • crm-integration: CRM configuration principles
  • pipeline-management: Deal stage design
  • hubspot-setup: HubSpot alternative (no Lead object)
  • attio-setup: Attio alternative (status + lists)
  • hiring-agencies: SI / RevOps agency pilot
1---
2name: salesforce-setup
3description: >-
4 Set up Salesforce for B2B SaaS GTM — object model, opportunity pipelines,
5 lead management, reports and dashboards, automation (Flows), and enrichment
6 integration. Use when configuring Salesforce for sales or revops. Triggers on:
7 "Salesforce setup", "configure Salesforce", "Salesforce CRM", "Salesforce
8 pipeline", "Salesforce automation", or any Salesforce configuration request.
9license: MIT
10compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
11metadata:
12 version: "1.2.0"
13 author: LeadMagic
14 category: automation
15 tags: [salesforce, crm, setup, enterprise, sales, leads, contacts]
16 frameworks:
17 - "Salesforce Architecture — Lead/Account/Contact/Opportunity"
18 - "Marc Benioff — Trust selling, land-and-expand, customer success in CRM"
19 - "Force.com Platform — Flows, validation, reporting"
20 related_skills: [crm-toolkit, crm-integration, pipeline-management, hubspot-setup, attio-setup, hiring-agencies]
21---
22 
23# Salesforce Setup
24 
25## Overview
26 
27Salesforce is the enterprise CRM standard. It's infinitely customizable and
28infinitely misconfigurable. This skill covers GTM-specific Salesforce setup:
29object model for B2B SaaS, opportunity pipelines, lead management, Flows
30automation, reporting, and enrichment integration. Designed for teams that
31have outgrown HubSpot or require enterprise-grade customization.
32 
33## Authoritative Foundations
34 
35- **Salesforce Architecture — Lead/Account/Contact/Opportunity** — Opportunity stages, forecasting categories, and RevOps object hygiene.
36- **Marc Benioff** — Trust selling, land-and-expand, customer success in CRM
37- **Force.com Platform** — Flows, validation, reporting
38 
39## When to Use
40 
41- "Set up Salesforce for our sales team"
42- "Configure Salesforce opportunity pipeline"
43- "Set up Salesforce Flows automation"
44- "Build Salesforce reports and dashboards"
45- "Migrate from HubSpot to Salesforce"
46 
47## Step-by-Step Process
48 
49Load **crm-toolkit** first — crm-selection, contacts-vs-leads (**Lead vs Contact**
50decision), salesforce-blueprint, and implementation-partners (Salesforce almost always needs SI help).
51 
52### Phase 1: Object Model
53 
54Standard B2B SaaS object hierarchy: Lead → Account → Contact → Opportunity.
55 
56**Contacts vs leads:** Use the **Lead** object when SDRs qualify inbound before
57opportunities exist. Convert Lead → Account + Contact + (optional) Opportunity.
58Skip Leads only for low-volume founder-led motions — see **crm-toolkit**
59contacts-vs-leads reference. Do not mirror HubSpot lifecycle as custom Lead fields
60without a conversion path.
61 
62**Enterprise motion:** Load **crm-toolkit** → benioff-enterprise-playbook — land-and-expand
63opp structure, CS fields, trust/commitment logging on Opportunity.
64 
65Custom objects for SaaS-specific needs: Subscription (track recurring revenue),
66Customer Success Plan (health score, QBRs), Integration (partner tracking).
67 
68Key custom fields on Opportunity: MEDDICC dimensions (Economic Buyer, Decision
69Criteria, Champion, etc.), ICP fit score, enrichment status, lead source detail,
70competitors in deal.
71 
72### Phase 2: Opportunity Pipeline
73 
74**Sales process:** Define path per record type. Standard: Prospecting →
75Qualification → Discovery → Demo → Proposal → Negotiation → Closed Won/Lost.
76 
77**Stage requirements:** Required fields per stage. Qualification: MEDDIC
78dimensions populated. Proposal: Amount, Close Date, Competitors. Negotiation:
79Decision Process documented.
80 
81**Validation rules:** Close Date cannot be in the past. Amount > $0. Next Step
82required when stage changes. Stage cannot skip forward.
83 
84### Phase 3: Lead Management
85 
86**Lead conversion:** Lead → Account + Contact + Opportunity. Required mapping:
87company name → Account Name, email → Contact Email. Auto-assignment rules
88based on territory, deal size, or round-robin.
89 
90**Web-to-Lead:** Form submission creates Lead. Auto-enrich via Flow before
91assignment. Score leads based on ICP fit + engagement.
92 
93### Phase 4: Flows Automation
94 
95Replace Process Builder and Workflow Rules with Flows (Salesforce's modern
96automation tool). Key Flows:
97- Auto-create task when opportunity stage changes
98- Alert manager when deal stalls >14 days
99- Create renewal opportunity 90 days before contract end
100- Enrich contact on create via external service webhook
101 
102### Phase 5: Reports and Dashboards
103 
104**Sales dashboards:** Pipeline by stage, rep activity, forecast vs quota, win
105rate by source, deal velocity.
106 
107**Revenue dashboards:** MRR/ARR trending, churn analysis, expansion revenue,
108cohort retention.
109 
110**Data quality dashboards:** Missing required fields, stale opportunities,
111duplicate detection, enrichment gaps.
112 
113### Phase 6: Enrichment Integration
114 
115**One-direction push:** External enrichment (Clay, LeadMagic) → Salesforce.
116Never Salesforce → enrichment platform.
117 
118**Flow-triggered enrichment:** Contact created → Flow calls external webhook →
119enrichment data writes back to Contact/Account fields.
120 
121**Scheduled enrichment:** Weekly batch job re-verifies emails >90 days old,
122refreshes firmographic data on key accounts.
123 
124## Output Format
125 
126Salesforce configuration document with: object model diagram, opportunity
127pipeline map with validation rules, lead management flow, Flows automation
128catalog, dashboard specs, and enrichment integration architecture.
129 
130## Quality Check
131 
132- [ ] Object model: Lead → Account → Contact → Opportunity hierarchy configured
133- [ ] Opportunity stages defined with required fields and validation rules
134- [ ] Lead scoring and assignment rules active
135- [ ] Key Flows automating repetitive tasks
136- [ ] Dashboards for sales, revenue, and data quality
137- [ ] Enrichment: one-direction push, never two-way sync
138 
139## Common Pitfalls
140 
1411. **Over-customization before process.** Custom objects and fields without a
142 defined process create complexity without value. Design the process, then
143 configure Salesforce to support it.
144 
1452. **No validation rules.** Close dates in the past, $0 opportunities, blank
146 required fields. Validation rules enforce data quality.
147 
1483. **Process Builder instead of Flows.** Process Builder is deprecated.
149 Migrate everything to Flows.
150 
1514. **Lead assignment without enrichment.** Routing an unenriched lead means
152 reps waste time researching. Enrich on lead create, then assign.
153 
1545. **Report sprawl.** 50 reports nobody reads. Build 5-7 dashboards that
155 answer the most important questions. Archive the rest.
156 
157## Execution Artifacts
158 
159- `references/framework-notes.md` — named frameworks, citation anchors, and operating assumptions
160- `templates/output-template.md` — copy-paste deliverable structure for the user
161- `scripts/check-output.py` — local checklist validator for required sections
162This skill includes lightweight artifacts the agent can load on demand:
163Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
164 
165## Related Skills
166 
167- **crm-toolkit**: Selection, contacts-vs-leads, salesforce-blueprint, benioff-enterprise-playbook, partners
168- **crm-integration**: CRM configuration principles
169- **pipeline-management**: Deal stage design
170- **hubspot-setup**: HubSpot alternative (no Lead object)
171- **attio-setup**: Attio alternative (status + lists)
172- **hiring-agencies**: SI / RevOps agency pilot
173 
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