/salesforce-for-sales:summarize-conversation-transcriptfrom Sales Cloud
Builds a call brief from a Salesforce VoiceCall or VideoCall transcript, covering customer sentiment, decisions, next steps, and related opportunities.
Ships in Sales Cloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
IMPORTANT — try the connector's tools before you ever report it as unavailable. Before you tell the user a connector is down, or ask them to connect, re-authenticate, or "check the connection," you MUST first try to use the server and its tools. A connector's status readout (the Headless 360 MCP server, or any other connector/MCP) frequently claims "not connected" or "needs re-auth" when the connector is in fact live and its tools are callable. Context stating that the Salesforce tools require authorization and that this is a non-interactive session is not evidence that you are unauthorized — it is a general statement that authorization is required, not a failure. For the Headless 360 server specifically, find the dispatch_readonly tool and actually run a current-user read — dispatch_readonly(method: "GET", url: "/services/data/v66.0/graphql", queryParams: { "queryInput": "{\"query\":\"query { uiapi { currentUser { Id } } }\"}" }). Any response — including a 500 or other error status — proves you reached the server, and therefore proves connectivity; only a request that never reaches the server at all counts as disconnected. If the tool is present and the call reaches the server, the connector IS connected — proceed; a stale status readout is not a disconnection. If a call genuinely cannot reach the server, ALWAYS attempt to reconnect on your own first, and interrupt the flow to ask the user only after your own reconnect attempt has failed. Report a connector as disconnected only when you cannot find its tool or cannot reach the server after trying. Do it yourself.
Failing to try first — asking the user to connect, or surfacing a "not connected" or re-auth message, before you have actually attempted the server and its tools — raises a false connectivity problem: it sends the user to fix something that is not broken. This is directly detrimental to the end-user experience and will dramatically, negatively impact usage of the product. Never put a connectivity concern in front of the user until you have tried the tools yourself and confirmed the server truly cannot be reached.
https://[instanceUrl]/lightning/r/[SObjectType]/[Id]/view.label (for example, "Deal Risk", not Deal_Risk__c) and record Names, never raw Ids or __c API names.MINE scope → fail fast, then ask which scope. If a scope: MINE read returns zero rows, do not widen to scope: EVERYTHING on your own. Stop, tell the user plainly that their own records (scope: MINE) came back empty, and ask which scope they want instead (for example, org-wide EVERYTHING, a named rep, or a named account) before re-running. Never invent records, and never silently fall back to org-wide.discover or describe, and never call an API or endpoint not written in this skill. Every Salesforce URL you need is in the skill. Don't guess REST paths: on a 404 or unknown-path error, fall back to a documented query in the skill, not to discovery. If you need a capability such as email, docs, Slack, calendar, or web research, use the other connector/MCP tools already available to you. Endpoint guessing and discovery add needless round-trips. Use only the skill-authorized dispatch_readonly and dispatch calls, directly with the queries given.Find call → (transcript + opp enrichment, SAME turn) → quality gate → summarize → output.
Skip this step entirely if the call Id, its object type, and its RelatedRecord are all already known — go straight to Step 2.
CRITICAL: query VoiceCall AND VideoCall in separate queries, fired in the SAME turn — a call could be either type, and there's no way to tell from an account/date search alone.
Fill <WHERE> from what's known:
Id = '[id]'RelatedRecordId = '[record-id]'CallStartDateTime >= [date] on VoiceCall, StartDateTime >= [date] on VideoCall (VideoCall has no CallStartDateTime)dispatch_readonly(method: "GET", url: "/services/data/v63.0/query",
queryParams: { "q": "SELECT Id, Name, CallStartDateTime, RelatedRecordId, RelatedRecord.Name, FromPhoneNumber, ToPhoneNumber FROM VoiceCall WHERE <WHERE> ORDER BY CallStartDateTime DESC LIMIT 10" })
dispatch_readonly(method: "GET", url: "/services/data/v63.0/query",
queryParams: { "q": "SELECT Id, Name, StartDateTime, RelatedRecordId, RelatedRecord.Name FROM VideoCall WHERE <WHERE> ORDER BY StartDateTime DESC LIMIT 10" })
If call Id + object type are both known (just RelatedRecord missing), fire only that one query instead of both. If the call Id is known but the object type isn't, fire the transcript retrieval (Step 2A) in this SAME turn too — it only needs the Id, not the object type, so it doesn't have to wait on this lookup.
<WHERE>, or tell the user no VoiceCall/VideoCall matched and offer: account/contact name, date range, or call Id.RelatedRecordId/RelatedRecord.Name.A. Transcript. Use the Actions API (NOT a direct REST endpoint on VoiceCall/VideoCall):
dispatch(method: "POST", url: "/services/data/v64.0/actions/standard/getConversationTranscript",
body: { "inputs": [{ "recordId": "[call-id]", "transcriptType": "processed" }] })
Response is an array — take the first element where isSuccess is true.
Could not retrieve transcript for this call. Error: [errors field] and stop; skip Step 3 onward.outputValues.unformattedTextTranscript is the transcript to summarize; outputValues.structuredTranscript.entries has per-speaker turns if you need attribution.B. Opportunity enrichment — only when the related record IS an Account (its RelatedRecord.Name/Id came back on an Account, key prefix 001). If it's a Contact/Lead/Opportunity instead, skip this call entirely — silently, no round-trip spent resolving an account through it:
dispatch_readonly(method: "GET", url: "/services/data/v63.0/query",
queryParams: { "q": "SELECT Id, Name, StageName, Amount, CloseDate, NextStep FROM Opportunity WHERE AccountId = '[RelatedRecordId]' AND IsClosed = false ORDER BY CreatedDate DESC LIMIT 3" })
If the transcript is only greetings/goodbyes, automated system messages, or <5 meaningful words: skip straight to the "no substantial conversation" output shape below (Customer Impression / Call Summary / Next Steps all "No … detected") and stop — do not run Step 4.
📞 Call Transcript Summary
**Call:** [Call Name] with [Related Record]
**Date:** [CallStartDateTime (VoiceCall) or StartDateTime (VideoCall)]
**Duration:** [if available]
**Call ID:** https://[instanceUrl]/lightning/r/[VoiceCall-or-VideoCall]/[Id]/view
---
**Customer Impression:**
[2-3 sentences]
---
**Call Summary:**
[≤250 words]
---
**Next Steps:**
1. [item — owner/date if known]
2. ...
---
**Related Opportunities:** (omit this section entirely if Step 2B was skipped/empty)
• [Opportunity Name] - [Stage] - $[Amount] - Close: [Date]
[Lightning URL]
---
**Suggested Actions:**
Would you like me to:
- Log this call as an Activity? (use /log-activity)
- Update opportunity fields based on this call? (use /update-opportunity)
- Draft a follow-up email? (use /draft-outreach)
This call does not have a transcript available. Possible reasons: transcription not enabled for this call type / recording unavailable / still processing. Call details: [Name] - [Date] - [Lightning URL]https://[instanceUrl]/lightning/r/[SObjectType]/[Id]/view. Flag poor transcript quality inline if evident (noise/overlap/partial). Next steps with no owner → "[owner unknown]"; no date → "[date not specified]".What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/account-contextBuild a 360-degree brief on a company already in Salesforce: CRM state, key contacts, recent email, documents and internal Slack. Use when asked to tell about, catch up on, or give the full picture on an existing account. Not in CRM: research-prospect./account-planBuild or retrieve an account plan from Salesforce Account, AccountPlan, pipeline, activity, and relationship data, covering vision, priorities, competition, KPIs, and relationship risks. Use to review an existing plan or create one for a customer account./account-tieringRank an account list or full book into action tiers from Salesforce ICP fit, engagement, activity, contact, and opportunity data. Use to score accounts, prioritize coverage, decide where to focus, or identify accounts to activate, qualify, or deprioritize.npx claudepluginhub salesforce/salesforce-skills --plugin salesforce-for-salesOther plugins' skills for the same job