
Agentforce AI agents for a SaaS company's support, sales and operations teams
Routine questions were eating the support team's day. We built Agentforce agents that answer from approved knowledge, act through guarded Flow and Apex actions, and hand off to people.
Project overview
Our client is a SaaS company supporting customers by email, live chat and phone. A large share of the support load was routine: account access, subscription questions, how-to questions and common troubleshooting. Sales and operations staff also lost time looking up records and writing summaries.
They wanted AI agents that do real work inside Salesforce, not a chatbot that only produces text, and they wanted people to stay in control. We built Agentforce agents grounded in approved knowledge and CRM data, acting through guarded Flow and Apex actions, with a clear handoff to humans.
The challenge
Repetitive inquiries
Routine questions took time away from complex customer issues.
Inconsistent answers
Responses varied by channel and by agent.
Scattered knowledge
Answers lived across articles, documents and people's heads.
Manual routing
Requests were triaged by hand before anyone worked on them.
Multi-step processes
Many requests needed several Salesforce operations, which a text-only bot cannot do.
Security
Any AI agent had to respect the same permissions and data boundaries as staff.
What we built
Use cases and agent roles
We ranked use cases by value and risk, then built three agents with separate responsibilities.
- Customer support agent: answers from approved knowledge, gives case status, creates cases and routes complex issues
- Sales support agent: retrieves opportunity details, summarises interactions, flags missing information and suggests follow-ups
- Internal operations agent: looks up records, creates tasks, summarises accounts and starts approved workflows
Topics, instructions and actions
Each agent has topics with their own instructions and a fixed set of actions, so a support topic cannot touch sales data it does not need.
- Flow actions for record lookups, case and task creation
- Apex invocable actions for logic Flow could not express
- Approved record updates only, with confirmation before anything irreversible
- External API callouts for subscription and order data
Grounding in approved knowledge
Agents answer from Salesforce Knowledge, product documentation and relevant CRM records, not from the model's general knowledge.
Human handoff
Agents hand the conversation, with context, to a person when they should not decide.
- Complex technical issues and complaints
- Sensitive, financial or contractual requests
- Low-confidence answers
- Anything outside the agent's permissions
Testing and governance
Before launch we tested response accuracy, instruction adherence, action execution, permission enforcement, error handling and escalation. Conversations are monitored after launch.
Agentforce solution architecture
- Web chat
- Salesforce (staff)
- Support agent
- Sales support agent
- Operations agent
- Topics + instructions
- Salesforce Knowledge
- CRM records
- Flow + Apex actions
- External APIs
- Human handoff with context
- Conversation monitoring
Results
- Routine questions are answered from approved knowledge, the same way on every channel.
- Cases reach a person already summarised, with the details the agent collected.
- Sales and operations staff get record lookups and summaries in seconds.
- Agents act only through approved actions and the permissions of their agent user.
- Sensitive and complex requests always go to a person.


