Overview
A Customer Wiki Agent powered by Pylar automatically generates and maintains a comprehensive knowledge base by analyzing support tickets, customer interactions, product documentation, and frequently asked questions.What the Agent Needs to Accomplish
The agent must:- Analyze support tickets and customer interactions to identify common questions
- Extract key information from product documentation and manuals
- Generate and update knowledge base articles
- Answer FAQs using existing knowledge base
- Identify knowledge gaps and suggest new articles
- Track article effectiveness and update recommendations
How Pylar Helps
Pylar enables the agent by:- Unified Data Access: Combining support tickets, product docs, and knowledge base in one view
- Pattern Recognition: Analyzing ticket patterns to identify common issues
- Content Analysis: Querying product documentation and existing articles
- Real-time Updates: Keeping knowledge base current with latest interactions
- Governed Access: Ensuring only appropriate content is accessible
Without Pylar vs With Pylar
Without Pylar
Challenges:- ❌ Multiple systems to query (Zendesk, Confluence, Notion, product docs)
- ❌ Complex API integrations for each system
- ❌ Manual analysis of ticket patterns
- ❌ Difficult to correlate support data with product documentation
- ❌ No unified view of knowledge gaps
- ❌ Time-consuming content updates
- ❌ Limited ability to track article effectiveness
- 3-4 different API integrations
- Custom analytics for ticket patterns
- Manual content curation
- Complex data correlation logic
- ~3-4 weeks development time
With Pylar
Benefits:- ✅ Single endpoint for all knowledge sources
- ✅ SQL views combine tickets, docs, and articles
- ✅ Easy pattern analysis through SQL queries
- ✅ Real-time knowledge base updates
- ✅ Built-in analytics on article effectiveness
- ✅ Simple content updates via view modifications
- Connect 3-4 data sources (1 hour)
- Create knowledge base views (2 hours)
- Build MCP tools with AI (1 hour)
- Connect to agent builder (15 minutes)
- Total: ~4-5 hours
Step-by-Step Implementation
Step 1: Connect Data Sources
Connect your knowledge sources:- Connect Zendesk (Support tickets, articles)
- Connect Confluence/Notion (Product documentation)
- Connect Product Analytics (Feature usage, user behavior)
- Connect Knowledge Base (Existing articles, FAQs)
Step 2: Create Knowledge Base Views
Support Ticket Patterns View:Step 3: Create MCP Tools with AI
Tool 1: Identify Knowledge Gaps- Prompt: “Create a tool to find topics with many support tickets but no knowledge base articles”
- AI generates:
find_knowledge_gaps(min_tickets: number, days_back: number)
- Prompt: “Create a tool to suggest new knowledge base articles based on support ticket patterns”
- AI generates:
suggest_articles(category: string, min_frequency: number)
- Prompt: “Create a tool to analyze how well articles are reducing support tickets”
- AI generates:
analyze_article_effectiveness(article_id: string, days_back: number)
- Prompt: “Create a tool to search knowledge base articles and product documentation”
- AI generates:
search_knowledge_base(query: string, category: string)
- Prompt: “Create a tool to retrieve FAQ answers from knowledge base”
- AI generates:
get_faq_answer(question: string)
Step 4: Test and Publish
- Test each tool with sample queries
- Verify knowledge gap identification
- Validate article suggestions
- Publish tools
- Connect to agent builder
Example Agent Interactions
Scenario 1: Knowledge Gap Identification
User: “What topics should we create articles for?” Agent (using Pylar tools):- Calls
find_knowledge_gaps(5, 90)- finds topics with 5+ tickets in last 90 days - Analyzes results and responds:
- “I found 12 topics that need articles:
- ‘Password Reset Issues’ - 23 tickets, avg resolution 2.5 hours
- ‘Payment Processing Errors’ - 18 tickets, avg resolution 4.2 hours
- …”
- “I found 12 topics that need articles:
Scenario 2: FAQ Answering
User: “How do I reset my password?” Agent (using Pylar tools):- Calls
search_knowledge_base("password reset", null) - Finds relevant article
- Responds: “To reset your password: 1. Go to login page, 2. Click ‘Forgot Password’, 3. Enter your email, 4. Check your inbox for reset link…”
Scenario 3: Article Effectiveness Analysis
User: “Which articles are most effective?” Agent (using Pylar tools):- Calls
analyze_article_effectiveness(null, 30) - Analyzes results:
- “Top performing articles: ‘Account Setup Guide’ has 0.5% ticket-to-view ratio, ‘Billing FAQ’ has 0.8% ratio…”
Outcomes
Knowledge Base Quality
- Article Coverage: 40% increase in topics covered
- Article Effectiveness: 35% reduction in related support tickets
- Update Frequency: 3x faster article updates
- Content Relevance: 50% improvement in article relevance scores
Support Efficiency
- Self-Service Rate: 60% of common questions answered via knowledge base
- Ticket Reduction: 25% reduction in support tickets
- Resolution Time: 30% faster resolution for topics with articles
- Agent Productivity: More time for complex issues
Data-Driven Insights
- Gap Identification: Automated identification of knowledge gaps
- Content Strategy: Data-driven article prioritization
- Effectiveness Tracking: Continuous monitoring of article performance
- Trend Analysis: Identification of emerging support patterns
Best Practices
- Regular Updates: Schedule weekly knowledge gap analysis
- Content Quality: Review and update articles based on effectiveness metrics
- User Feedback: Incorporate user feedback into article improvements
- Categorization: Maintain clear article categories for better search
- Analytics: Use Evals to track agent knowledge base usage patterns
Next Steps
- Customer Support Agent Example - Build a support agent
- Product Feedback Analyzer Example - Analyze user feedback
- Content Performance Analyzer Example - Analyze content effectiveness