Getting Started with Agentforce Service Agent: A Practical Guide
How-To

Getting Started with Agentforce Service Agent: A Practical Guide

By Troy AmyettJanuary 1, 202510 min read
Book Intro Call
Back to Insights

What We’re Building

By the end of this guide, you’ll have a working Agentforce Service Agent that can:

  • Answer common customer questions using your knowledge base
  • Create and update cases
  • Escalate to human agents when needed
  • Operate 24/7 without supervision

Let’s get started.

Prerequisites

Before you begin, make sure you have:

  • [ ] Salesforce Enterprise Edition or higher
  • [ ] Agentforce license enabled
  • [ ] Service Cloud configured with cases
  • [ ] Knowledge articles published (at least 10-20 for good coverage)
  • [ ] System Administrator access

Step 1: Enable Agentforce

First, enable Agentforce in your org.

  1. Go to Setup → Agentforce → Settings
  2. Toggle Enable Agentforce to On
  3. Accept the terms of service
  4. Click Save

You’ll see the Agentforce Builder appear in your Setup menu.

Step 2: Create Your Agent

Now let’s create the Service Agent.

  1. Navigate to Setup → Agentforce → Agents
  2. Click New Agent
  3. Select Service Agent template
  4. Name it something clear: “Customer Support Agent” or “Help Desk Agent”
  5. Set the description (this helps with maintenance later)

Step 3: Configure Knowledge Sources

Your agent needs information to answer questions. Connect it to your knowledge base.

In the Agent Builder:

  1. Go to the Knowledge tab
  2. Click Add Knowledge Source
  3. Select Salesforce Knowledge
  4. Choose which article types to include
  5. Set the data categories (if you use them)

Pro tip: Start with your most-viewed articles. You can always expand later.

Step 4: Define Agent Instructions

This is where you tell your agent how to behave. Think of it as training a new employee.

Sample instructions:

You are a helpful customer support agent for [Company Name].

Your primary goals:
1. Answer customer questions accurately using the knowledge base
2. Create cases for issues you cannot resolve
3. Escalate to human agents for complex or sensitive issues

Tone and style:
- Be friendly and professional
- Use simple, clear language
- Acknowledge the customer's frustration when appropriate
- Never make promises about timelines without confirmation

Escalation triggers:
- Customer expresses anger or threatens to cancel
- Issue involves billing disputes over $500
- Technical issues affecting multiple users
- Any mention of legal action or regulatory complaints

When creating cases:
- Always capture the customer's email and description
- Set priority based on business impact
- Include conversation context in the case description

Step 5: Set Up Actions

Actions are what your agent can actually do. Configure these:

Action 1: Search Knowledge

  • Type: Knowledge Search
  • Purpose: Find relevant articles
  • Configuration: Default settings work well

Action 2: Create Case

  • Type: Record Create
  • Object: Case
  • Required fields: Subject, Description, Contact, Priority
  • Auto-mapping: Enable context auto-fill

Action 3: Escalate to Human

  • Type: Transfer to Agent
  • Queue: Your service queue
  • Message: “Transferring you to a specialist who can help further.”

Action 4: Update Case

  • Type: Record Update
  • Object: Case
  • Allowed fields: Status, Priority, Description (append)

Step 6: Configure Channels

Where will customers interact with your agent?

Web Chat (most common):

  1. Go to Channels tab
  2. Click Add Channel
  3. Select Embedded Service Chat
  4. Configure the chat window appearance
  5. Generate the deployment code

Email (optional):

  1. Add Email channel
  2. Configure email-to-case routing
  3. Set response templates

Step 7: Test Your Agent

Before going live, test thoroughly.

Testing checklist:

  • [ ] Ask questions from your knowledge base (should find answers)
  • [ ] Ask questions NOT in your knowledge base (should offer to create case)
  • [ ] Test escalation triggers (should transfer appropriately)
  • [ ] Try edge cases (empty messages, special characters, multiple questions)
  • [ ] Test on mobile devices
  • [ ] Have someone unfamiliar with the system try it

How to test:

  1. Click Test Agent in the Agent Builder
  2. Use the preview chat window
  3. Or deploy to a sandbox first

Step 8: Deploy to Production

Ready to go live? Here’s the process:

  1. Soft launch: Enable for internal team first (1 week)
  2. Limited rollout: Enable for 10% of traffic (2 weeks)
  3. Full deployment: Expand to all users

Deployment steps:

  1. Go to Activation tab
  2. Set Status to Active
  3. Configure business hours (or leave 24/7)
  4. Set backup queue for after-hours
  5. Click Deploy

Step 9: Monitor and Optimize

Your agent is live. Now monitor its performance.

Key metrics to track:

  • Resolution rate (target: 60%+ without human escalation)
  • Customer satisfaction scores
  • Average handle time
  • Escalation rate by reason

Weekly optimization tasks:

  • Review unresolved conversations
  • Add new knowledge articles for common questions
  • Refine agent instructions based on edge cases
  • Update escalation rules as needed

Common Issues and Solutions

“Agent can’t find answers in knowledge base”

  • Check article publish status
  • Verify data category assignments
  • Review search term mapping

“Too many escalations”

  • Adjust escalation thresholds
  • Add more knowledge content
  • Refine agent instructions

“Customers frustrated with agent”

  • Review conversation logs
  • Improve handoff experience
  • Add more personality to responses

What’s Next?

Once your Service Agent is running smoothly:

  • Add more channels (SMS, social media)
  • Expand knowledge coverage
  • Build a Sales Agent or Lead Qualification Agent
  • Connect to external systems via API actions

Need help implementing your first Agentforce agent? We specialize in getting teams up and running quickly.

Book an implementation consultation →

Troy Amyett

Troy Amyett

Founder & Chief Solutions Architect

9x Salesforce certified. Agentforce Specialist. Building AI agents since before it was cool.

Get Insights in your inbox

AI-powered perspectives on Salesforce and Agentforce, delivered weekly.

No spam. Unsubscribe anytime.

Ready to Put AI to Work?

Let's talk about what AI agents could do for your business. 30 minutes. No pitch deck. Just answers.

Book Intro Call