Overview
The knowledge base consists of:- Articles: Individual help documents with rich content
- Categories: Organizational structure for grouping related articles
- Search: Full-text search to help users find relevant content
- Feedback: Article ratings to measure helpfulness
Setting Up Categories
Categories help organize your knowledge base and make it easy for users to browse related topics.Create Your First Category
Navigate to Knowledge Base in the agent interface. The system automatically creates a “General” category when you first access the knowledge base.To create additional categories:
- Click “New Category”
- Enter a descriptive category name
- The system creates the category and a placeholder article
Organize Categories
Plan your category structure based on:
- Product features or modules
- Common support topics
- User personas or roles
- Issue types or departments
- Getting Started
- Account Management
- Billing & Payments
- Troubleshooting
- Advanced Features
Each category must contain at least one article. You cannot delete a category if it’s the last one, or if it would leave articles orphaned.
Creating Articles
Articles are the core of your knowledge base. They should be clear, concise, and actionable.Create a New Article
- Navigate to the desired category
- Click “New Article” or use the article creation button
- Enter a descriptive title that clearly indicates what the article covers
Write Content
Use the rich text editor to create your article content:
- Headings: Structure your content with H2 and H3 headings
- Lists: Use bullet points and numbered lists for step-by-step instructions
- Images: Add screenshots and diagrams to illustrate concepts
- Links: Reference related articles and external resources
- Code Blocks: Include code snippets for technical articles
- Tables: Organize data in a clear, scannable format
Set Article Metadata
Configure article settings:
- Title: Clear, descriptive title (appears in search results)
- Category: Assign to the appropriate category
- Status: Draft or Published
- Author: Automatically set to the creator
Preview Before Publishing
Review your article to ensure:
- Content is accurate and up-to-date
- Formatting is correct
- Images and links work properly
- Instructions are clear and complete
Article Management
Editing Articles
Keep your knowledge base current by regularly updating articles:- Open the article in edit mode
- Make your changes
- Save the article
- The
modifiedtimestamp updates automatically
Moving Articles Between Categories
Reorganize your knowledge base as needed:
See the implementation in
helpdesk/api/knowledge_base.py:62-81.
Deleting Articles
- Select the articles to delete
- Click the delete button
- Confirm the deletion
helpdesk/api/knowledge_base.py:47-49.
Category Management
Merging Categories
Consolidate categories when your knowledge base structure evolves:Identify Categories to Merge
Determine which categories should be combined. For example, merging “Email Setup” and “Email Configuration” into a single “Email” category.
You cannot merge the “General” category, as it’s the default category for the knowledge base.
Search Configuration
The knowledge base uses full-text search to help users find relevant articles quickly.Search Features
- Title Matching: Prioritizes articles with query terms in the title
- Content Search: Searches article body text
- Relevance Ranking: Orders results by relevance score
- Instant Results: Returns results as users type
Improving Search Results
Optimize your articles for better discoverability:- Use Clear Titles: Include keywords users might search for
- Add Synonyms: Use common terminology in addition to technical terms
- Structure Content: Use headings that match common questions
- Update Regularly: Keep articles current to maintain relevance
Article Feedback
Gather feedback to improve your knowledge base quality.How Feedback Works
- Users can rate articles as helpful or not helpful
- Feedback is tracked per user to prevent duplicate ratings
- Aggregate feedback helps identify articles that need improvement
helpdesk/api/knowledge_base.py:11-43
Using Feedback Data
Monitor Article Performance
Review feedback ratings to identify:
- Highly-rated articles (good examples to follow)
- Low-rated articles (candidates for improvement)
- Articles with no ratings (may need better promotion)
Improve Low-Rated Articles
For articles with negative feedback:
- Review the content for accuracy
- Add more detail or examples
- Improve formatting and structure
- Add screenshots or videos
Article Views and Analytics
Track article usage to understand what content is most valuable:- View Count: Number of times an article has been viewed
- View Tracking: Implemented with rate limiting to prevent inflation (see
helpdesk/api/knowledge_base.py:149-153) - Popular Articles: Identify frequently accessed content
Customer Portal Integration
Article Display
Published articles appear in the customer portal:- Browse by Category: Organized category view with article counts
- Search: Full-text search across all published articles
- Article View: Clean, readable layout with feedback options
Suggesting Articles
When customers create tickets, the system can suggest relevant knowledge base articles based on:- Keywords in the ticket subject
- Ticket type or category
- Previously viewed articles
Agent Access
Agents have additional capabilities:- View Draft Articles: Access unpublished content
- Create and Edit: Full editorial control
- Quick Reference: Insert article links in ticket responses
- Analytics: View article statistics and feedback
Best Practices
Content Strategy
- Start with FAQs: Convert frequently asked questions into articles
- Document Solutions: Turn ticket resolutions into knowledge base articles
- Use Templates: Create article templates for consistency
- Maintain Quality: Review and update articles quarterly
- Get Feedback: Ask customers what topics they need help with
Writing Tips
- Be Specific: Use concrete examples and specific instructions
- Keep it Simple: Write in plain language, avoid jargon
- Use Visuals: Screenshots and diagrams improve comprehension
- Structure Content: Break long articles into sections
- Include Search Terms: Use words customers actually search for
- Test Instructions: Verify that steps work as written
Organization
- Logical Categories: Group related topics together
- Consistent Naming: Use a clear, consistent naming scheme
- Avoid Duplication: Maintain one authoritative article per topic
- Link Related Content: Cross-reference related articles
- Archive Old Content: Remove or update outdated articles
Maintenance
- Regular Reviews: Schedule quarterly content audits
- Update for Changes: Revise articles when features change
- Monitor Feedback: Address low-rated articles promptly
- Track Metrics: Analyze views and search terms
- Prune Unused Content: Remove articles that aren’t helpful
Integration with Tickets
Referencing Articles in Responses
When responding to tickets, agents can:- Search for relevant articles
- Insert article links into responses
- Help customers find answers themselves
Building the Knowledge Base from Tickets
Use tickets as source material:- Identify common questions from ticket data
- Document solutions to frequent issues
- Create articles based on detailed resolutions
- Link back to the original ticket for context