What Are Knowledge Bases?
Knowledge bases are collections of information your AI agents can draw on during conversations. Instead of packing everything into instructions, you add text entries once and attach them to campaigns.Automatic Context
Attached knowledge is provided to the agent as context for the call. No extra API plumbing needed.
Text Entries
Add text entries directly — FAQs, product details, pricing, policies — organized by category.
Always Up-to-Date
Update entries anytime. The next call uses the current content.
Reusable
Maintain one knowledge base and attach it to as many campaigns as you need.
How Knowledge Bases Work
1. Create Knowledge Entries
In the TopCalls dashboard, open Knowledge Base and add text entries (FAQs, product info, policies), each with a name and category so entries stay organized.
2. Attach to a Campaign
In the campaign editor, attach the knowledge base entries the campaign’s agent should know.
3. Context at Call Time
Every call the campaign makes includes the attached knowledge as context for the agent. API calls get the same knowledge when you pass the campaign’s
campaign_id.Using Knowledge Bases via the API
You define and attach knowledge in the dashboard, then reference the campaign when placing a call. Addcampaign_id to a normal call and the agent picks up that campaign’s attached knowledge base — no other campaign-execution fields are needed:
Example: Customer Support Agent
Step 1: Create Knowledge Entries
Through the dashboard, add your support documentation:Step 2: Attach and Call
Attach the entries to your support campaign, then reference it on calls:Best Practices
Do This
- Organize by topic: Create separate entries for different topics (products, pricing, support)
- Keep it updated: Regularly update entries with new information
- Use clear structure: Organize content with clear headers and sections
- Test thoroughly: Run test calls and check the agent answers from your content
- Keep it focused: Everything attached to the campaign is given to the agent, so lean content keeps calls fast
Avoid This
- Too much information: Oversized knowledge bases slow the agent down and dilute answers
- Outdated content: Regularly review and update
- Vague content: Use clear, specific information
- Duplicate content: Avoid overlapping information across entries
Next Steps
Making Calls
Learn how calls pick up campaign knowledge.
API Reference
See the complete API documentation.