Customer Support

Salesforce Agentforce Prompts

Salesforce's platform for building autonomous AI service agents.

10 ready-to-use prompts

Researched for Salesforce Agentforce real features. Replace the [BRACKETED] parts with your own details, copy, and paste.

1Design agent topics and actions
Act as a Salesforce Agentforce solution architect. Design the topic and action model for an autonomous service agent for [COMPANY_NAME], a [INDUSTRY] company. The agent must handle these customer intents: [LIST_OF_INTENTS, e.g. order tracking, returns, warranty claims, billing questions]. For each topic, give: the natural language description, classification labels, and the actions underneath it, specifying whether each action invokes a Flow, an Apex class, a prompt template, a MuleSoft API call, or an MCP-connected external system like [EXTERNAL_SYSTEM]. Flag any action that must be human-in-the-loop or approval-gated (for example refunds above [REFUND_THRESHOLD]). Follow Agentforce best practice: narrow topics, one clear job per topic, and explicit escalation actions. Output a structured table.
Tip: Paste this into Agentforce Builder as your design brief, then map each action to your real Flows or Apex classes.
2Write agent instructions and guardrails
Write the Agentforce agent instructions and guardrail document for a customer service agent at [COMPANY_NAME]. The agent serves [TARGET_CUSTOMERS] across [CHANNELS, e.g. web chat, WhatsApp, voice]. Cover: (1) the agent's role and tone of voice (optimised for [BRAND_TONE, e.g. warm and professional]); (2) scope boundaries, the exact intents it may and may not handle, and the escalation phrases that trigger a handoff; (3) data access rules, which objects and fields the agent may read or update in Salesforce (for example Case, Account, [CUSTOM_OBJECT]); (4) compliance rules for [REGULATION, e.g. GDPR or industry regulation], including what personal data it must never disclose; (5) human-in-the-loop rules for sensitive actions such as [SENSITIVE_ACTIONS]. Write in plain language suitable for pasting into Agentforce Builder instructions.
Tip: Keep instructions narrow and testable: one topic, one job, and explicit must-never-do rules.
3Plan Data Cloud grounding
Create a Data 360 (formerly Data Cloud) grounding plan so our Agentforce service agent at [COMPANY_NAME] answers from trusted business data, not model guesses. Our data sources are: [LIST_SOURCES, e.g. Salesforce CRM, order management database, Snowflake warehouse, knowledge base articles, PDF manuals]. For each source, specify: the data model object to map it to, whether it should be ingested or federated, the refresh cadence (for example 1-hour incremental crawl), which fields the agent may retrieve, and the retrieval relevance rules. Include an Intelligent Context setup for unstructured content such as [UNSTRUCTURED_DOCS, e.g. product manuals and policy PDFs] so the agent can reason over troubleshooting documents. End with a checklist to verify grounding is working before go-live.
Tip: Ground on your highest-trust sources first; the agent is only as accurate as the data behind it.
4Agent testing checklist
Build a pre-launch testing checklist for our Agentforce service agent at [COMPANY_NAME] before it goes live on [CHANNELS]. Include: (1) simulation test scenarios for each topic ([TOPIC_NAMES]) covering happy path, edge cases, and hostile inputs; (2) classification accuracy checks for ambiguous utterances like [EXAMPLE_UTTERANCES]; (3) action execution tests verifying Flows and Apex actions behave correctly and respect permission sets; (4) escalation tests confirming the agent hands off to a human at the right moments; (5) step-by-step trace debugging review to confirm why the agent chose each action; (6) load testing at [EXPECTED_CONCURRENT_SESSIONS] concurrent sessions; (7) Atlas Reasoning Engine model behaviour checks for hallucinations on questions outside the grounding data. Format as a pass or fail checklist with severity ratings.
Tip: Run the simulation with step-by-step trace debugging on, then fix weak spots before touching real customers.
5Human handoff and escalation design
Design the escalation and human handoff experience for the Agentforce service agent at [COMPANY_NAME]. Our human support team works in [SERVICE_CONSOLE_SETUP, e.g. Service Cloud console with Omni-Channel routing] and handles [HUMAN_QUEUE_TYPES]. Specify: (1) the exact trigger conditions for escalation (customer request, agent confidence below [CONFIDENCE_THRESHOLD], sensitive actions like [EXAMPLES], or failed topic classification); (2) the handoff payload, what context, case history, and conversation summary the human agent receives so the customer never repeats themselves; (3) the routing rules, queue mapping, and skill-based assignment; (4) the customer-facing message that sets expectations during the transfer; (5) how the agent logs the escalation for observability dashboards. Ensure the design works across [CHANNELS, e.g. web chat, messaging, and voice].
Tip: The handoff is the moment of truth: pass the full context so customers never have to repeat themselves.
6Observability and analytics review
Act as an Agentforce operations lead. Build a weekly analytics review brief for the service agent at [COMPANY_NAME], running on [CHANNELS] for [TIME_IN_PRODUCTION]. The brief must cover: (1) containment rate and autonomous resolution rate vs our target of [TARGET_RATE]; (2) topic-level accuracy and the top misclassified utterances this week; (3) average handling time and escalation volume by topic; (4) quality scores from Agentforce Observability and any compliance flags; (5) the top 3 failure patterns, each with a concrete fix (instruction update, new action, or grounding improvement); (6) customer satisfaction comparison between agent-handled and human-handled conversations. Use placeholder numbers I can replace with our real dashboard exports, and end with recommended actions for the next sprint.
Tip: Review the top misclassified utterances weekly; that list is your highest-leverage improvement source.
7Agentforce in Slack rollout
Plan the rollout of Agentforce agents inside Slack for [COMPANY_NAME]. Our employees use Slack for [USE_CASES, e.g. IT helpdesk triage, HR policy questions, sales meeting prep]. Cover: (1) which agents to deploy first and in which Slack channels or DMs; (2) the MCP Apps for Slack setup for bidirectional communication, including permission-aware access so agents only see what each employee is allowed to see; (3) the Agentforce Coworker activation decision, its benefits as a search-bar front door that routes to specialised agents, and its permission and billing implications; (4) change management, how we train employees to use agents instead of pinging colleagues; (5) success metrics such as deflection rate of [TARGET_METRIC] within [TIMEFRAME]. Keep everything within Salesforce permission inheritance so security carries over to Slack automatically.
Tip: Start in one high-volume channel, prove the deflection numbers, then expand agent by agent.
8Multilingual agent deployment
Design the multilingual deployment of our Agentforce service agent at [COMPANY_NAME], which must support [LANGUAGES, e.g. English, Spanish, French] across [CHANNELS]. Specify: (1) how topic classification and instructions are localised without duplicating the whole agent model; (2) which grounding content needs translation, starting with knowledge articles in [PRIMARY_REGION]; (3) how the agent detects language mid-conversation and switches cleanly; (4) Atlas Reasoning Engine model selection per language, considering that multi-model support includes OpenAI, Anthropic, and Google Gemini models, and how to balance cost and latency per language; (5) testing criteria for each language, including native-speaker review of tone and compliance. Include a phased rollout order with the rationale.
Tip: Localise one language end to end and measure accuracy before adding the next.
9Trust Layer security review
Run an Einstein Trust Layer and governance review for our planned Agentforce deployment at [COMPANY_NAME] in the [INDUSTRY] sector, handling [DATA_TYPES, e.g. customer financial and health records]. Review: (1) how data masking and grounding policies prevent sensitive data reaching language models; (2) permission inheritance, confirming the agent respects Salesforce sharing rules and CRM profiles so no data leakage is possible; (3) guardrail configuration for the agent's topics and actions, including human-in-the-loop approval for high-risk actions such as [HIGH_RISK_ACTIONS]; (4) auditability, how every action is traceable via observability dashboards; (5) MCP external connections risk assessment for [EXTERNAL_SYSTEMS], including data residency concerns; (6) compliance mapping against [REGULATION]. Deliver findings as a risk register with severity, owner, and mitigation for each item.
Tip: Run this review before go-live and repeat it every time you add a new topic or MCP connection.
10Pilot success metrics plan
Define the pilot success metrics and business case for launching Agentforce at [COMPANY_NAME], a [COMPANY_SIZE] [INDUSTRY] organisation. We are piloting with [PILOT_SCOPE, e.g. one product line and web chat only] over [PILOT_DURATION]. Specify: (1) the 5 KPIs that decide whether the pilot graduates, for example case deflection rate, average handling time reduction, CSAT, escalation accuracy, and cost per resolved conversation, with targets; (2) the baseline measurements we must capture before launch; (3) how we attribute results between the agent, Agentforce Voice if used, and human agents; (4) the consumption model implications, understanding Flex Credits bill when an agent successfully completes a transaction or conversation session; (5) the executive summary template that translates the pilot numbers into an ROI narrative for leadership. Make every metric specific, measurable, and time-bound.
Tip: Capture baselines before launch; without them, no pilot result is convincing.
Back to all 214 platforms