TIA Framework Deep Dive — Topics Instructions Actions | Agentforce 2026
The TIA Framework
Topics, Instructions & Actions — Deep Dive
Master the core framework behind every Agentforce agent. Write production-quality Topics and Instructions, understand all Action types, and add 2 more Topics to your XYZ Sales Assistant.
1. The TIA Framework — The Heart of Every Agent
Topics + Instructions + Actions = everything your agent knows and can do
| Component | Answers the Question | Configured By | XYZ Company Example |
|---|---|---|---|
| Topic | What category of request is this? | Classification Description | "Sales Assistant", "Order Status", "Escalation" |
| Instructions | How should I respond to this? | Natural language rules | "Always show amounts in INR", "Never reveal pricing" |
| Actions | What data/system do I need to access? | Standard/Flow/Apex/API | Get Account Info, Get Opportunities, Draft Email |
T: Agent matches to "Sales Assistant" Topic (Classification Description mentions opportunity queries)
I: Agent loads Instructions — "show opportunity name, stage, amount in INR, close date"
A: Agent calls "Get Opportunities" Apex Action → SOQL query → returns MedTech data
Result: Formatted Opportunities list, exactly as Instructions specify.
2. Topics — Deep Dive
Everything you need to know to write Topics that actually work
❌ Bad vs ✅ Good Classification Descriptions
Topic 2: "Handles account questions"
These overlap — AI can't decide which to use
Topic 2: "Handles Account profile and contact information"
Clear boundaries — AI picks correctly every time
๐ Topic Configuration Fields
| Field | Purpose | Tips |
|---|---|---|
| Topic Label | Display name — what you see in Agent Builder | Short, descriptive, title case. E.g., "Sales Assistant", "Order Management" |
| Classification Description | Tells AI WHEN to use this Topic — most critical field | Include all possible ways users might phrase this request. 2-4 sentences minimum. |
| Scope | Defines boundaries — what this Topic DOES and DOESN'T handle | Include what's in scope AND explicitly exclude related topics that belong elsewhere |
| Instructions | Rules for HOW agent responds within this Topic | See Instructions deep dive below |
| Actions | What tools the agent can use within this Topic | Only add Actions relevant to this Topic — don't add all Actions to all Topics |
3. Instructions — Deep Dive
Writing instructions that make agents behave exactly as you want
✅ Production-Quality Instructions — XYZ Sales Assistant
✅ Be specific about format — "₹25,00,000" not "Indian format"
✅ Include exact phrases for fallbacks — the AI uses them verbatim
✅ Test each instruction — does the agent actually follow it?
❌ Don't write contradictory instructions — "be concise" + "provide full details" = confusion
❌ Don't over-restrict — agent needs flexibility for edge cases
4. Actions — Deep Dive
The 4 types of Actions — what each does and when to use it
| Action Type | Complexity | Who Builds It | XYZ Company Use Case | Module |
|---|---|---|---|---|
| Standard | Zero config | Anyone | Search knowledge articles, Get record summary | M7 |
| Flow | Low-Medium | Admin / Developer | Create follow-up Task, Send email notification | M8 |
| Apex | Medium-High | Developer | Get Account with opportunities, Complex SOQL queries | M9 |
| API | Medium | Developer | Get live order status from Business Central ERP | M10 |
"Create a follow-up task for tomorrow" → Flow Action (record creation via Flow)
"Find knowledge articles about silicone tubing" → Standard Action (Search Knowledge)
"What's the order status in Business Central?" → API Action (external ERP callout)
5. Hands-On — Add 2 More Topics to XYZ Sales Assistant
Build on Module 4 — make your agent smarter with two new Topics
If multiple contacts found at same company, list all and ask "Which contact are you looking for?"
Never share mobile/personal numbers — only work contact details
If contact not found: "I couldn't find [name] in our system. Try searching by company name instead."
After sharing contact, ask: "Would you like me to draft a follow-up email to [contact name]?"
If user asks for pricing/discount: "Pricing decisions need to be handled by your sales manager. Shall I notify them to contact you?"
If user frustrated: "I understand your concern. Let me connect you with a team member who can help immediately."
If request is out of scope: "That's outside my current capabilities. I've made a note for the sales team to follow up with you."
Always offer an alternative: either human escalation or a related action you CAN perform
Never say "I don't know" — always offer a path forward
Is there anything else about MedTech Solutions I can help with?
Once data actions are connected, I'll show: Priya Sharma | VP Operations | MedTech Solutions India | [email] | [phone]
Would you like me to draft a follow-up email to Priya once I have her details?
Shall I notify your sales manager to contact you immediately about the ABC Pharma deal? In the meantime, I can pull up the full opportunity details so you're prepared for that conversation.
6. Multi-Topic Design Patterns
How to structure Topics for complex enterprise agents
| Pattern | When to Use | Example |
|---|---|---|
| Domain-based Topics | Agent handles multiple business domains | Sales Topics + Service Topics + HR Topics in one agent |
| Object-based Topics | Agent works with multiple Salesforce objects | Account Topic + Opportunity Topic + Case Topic |
| Persona-based Topics | Different user types ask different questions | Manager Topic (strategic) + Rep Topic (tactical) |
| Intent-based Topics | Clear separation of read vs write operations | Data Lookup Topic + Record Creation Topic + Update Topic |
| Always have a Fallback | Every agent — no exceptions | General Escalation Topic catches all unmatched requests |
7. TIA Framework — Interview Questions & Answers
These are the most common Agentforce interview questions
| Interview Question | Best Answer |
|---|---|
| What is the TIA Framework in Agentforce? | Topics (what the agent handles — classification), Instructions (how it behaves — rules and guardrails), Actions (what it can do — Standard, Flow, Apex, API). Every agent is built on TIA. Configure T correctly = right intent matched. Configure I correctly = right behavior. Configure A correctly = right data access. |
| How does an agent decide which Topic to use? | Topic Classification — AI reads all Topic Classification Descriptions and semantically matches the user's message to the best-fitting Topic. The quality of Classification Descriptions directly determines routing accuracy. |
| What are the 4 types of Actions in Agentforce? | Standard (pre-built Salesforce actions), Flow (Autolaunched Flows), Apex (InvocableMethod), API (external REST via External Services). Use Standard first, Flow for DML, Apex for complex SOQL/callouts, API for external systems. |
| What is the difference between Agent Instructions and Topic Instructions? | Agent Instructions = global system prompt, applies across ALL Topics (personality, global rules). Topic Instructions = specific rules for one Topic (format, fallbacks, escalation for that domain). |
| How do you handle out-of-scope requests in Agentforce? | Create a dedicated Fallback/Escalation Topic with a broad Classification Description that catches anything other Topics don't handle. Instructions in this Topic guide the agent to acknowledge the limitation, offer alternatives, and escalate to human if needed. |
| How does the agent know which Action to call? | Each Action has a Name and Description. The AI reads these and decides which Action's description best matches what the user needs. Specific, detailed Action descriptions = correct Action selection every time. |
Module 5 Summary
TIA mastered — your agent is production-quality structured
- ✅TIA Framework — Topics (what), Instructions (how), Actions (with what). The foundation of every Agentforce agent.
- ✅Topics Deep Dive — Classification Description is the most critical field. Specific + keyword-rich = correct routing.
- ✅Instructions Deep Dive — 5 types: Format, Behavior, Guardrails, Fallback, Escalation. Use UPPERCASE headers for clarity.
- ✅4 Action Types — Standard (pre-built), Flow (DML), Apex (complex logic), API (external systems).
- ✅Topic 2 Added — Contact Lookup with clear boundaries from Sales Assistant Topic.
- ✅Topic 3 Added — General Escalation catches all unhandled requests gracefully.
- ✅3-Topic Agent — XYZ Sales Assistant now has production-quality Topic structure.
๐ Ready for Module 6?
Next: Prompt Builder — Create AI-powered Prompt Templates that your agent uses to generate professional follow-up emails, record summaries, and intelligent responses grounded in real Salesforce data. This is where the magic really starts!
Module 6: Prompt Builder →