Salesforce setup skill

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

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

Use now

Inside this skill

SKILL.md · the author's own words
# 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

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

Files of Salesforce setup

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 

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