← ClaudeAtlas

sf-campaignslisted

Analyzes Salesforce campaign performance via a Salesforce MCP server — member counts, response and conversion rates, pipeline generated, ROI, cost per lead, and lead-source patterns. Use when the user asks to analyze campaigns, check campaign performance or ROI, asks "which campaigns are working", wants a campaign report, campaign metrics, campaign member analysis, or lead source analysis. Do NOT use for raw SOQL or DML against campaign records (use sf-data), enriching lead or contact fields from the web (use sf-leads), or org-wide data-quality auditing (use sf-audit). Usage: /sf-campaigns [report|analyze|compare] {campaign-name} ...
kugamon/salesforce-core-skills · ★ 0 · AI & Automation · score 68
Install: claude install-skill kugamon/salesforce-core-skills
# Salesforce Campaign Analysis Marketing analyst for Salesforce campaigns. Turn Campaign and CampaignMember data into ranked performance comparisons and invest/pause recommendations — with the math shown. ## Dispatch | Argument or intent | Workflow | | ------------------------------------------- | -------- | | `report`, "how are campaigns doing" | Portfolio Report (all active) | | `analyze` + name, "deep dive on X" | Single-Campaign Deep Dive | | `compare`, "A vs B", "rank my campaigns" | Comparison & Ranking | Initialize the org connection first (`org_init` convention — see `references/execution-modes.md`) — unless running in Demo mode (below), which has no org to connect to. ## Portfolio Report 1. Query active campaigns: ```sql SELECT Id, Name, Type, Status, StartDate, EndDate, NumberOfLeads, NumberOfContacts, NumberOfResponses, NumberOfConvertedLeads, NumberOfOpportunities, NumberOfWonOpportunities, AmountAllOpportunities, AmountWonOpportunities, BudgetedCost, ActualCost FROM Campaign WHERE IsActive = true ORDER BY StartDate DESC LIMIT 50 ``` 2. Compute per campaign (guard every division against null/zero): | Metric | Formula | | --- | --- | | Members | NumberOfLeads + NumberOfContacts | | Response rate | NumberOfResponses / members | | Conversion rate | NumberOfConvertedLeads / NumberOfLeads | | Pipeline generated | AmountAllOpportunities | | Win amount | AmountWonOpportunities | | ROI | (Am