Notion
Sync the pages shared with your Notion connection, or one database.
Your agent is only as good as its knowledge. This guide teaches you how to structure, organize, and maintain knowledge collections for optimal performance.
There are two ways to give an agent a file, for two different jobs:
Rule of thumb: one file, one task → attach it. Information the agent should “just know” going forward → add it to Knowledge.
From the chat composer’s + menu you can:
drive.google.com or docs.google.com link into the composer and the file is attached for you.Organize your knowledge in layers:
Problem: Outdated information leads to wrong answers
Solution: Set up automatic syncing
When you add a source, choose a schedule under Keep it fresh. Free syncs at most weekly and Pro daily; Business and Enterprise can sync hourly.
Bad Structure:
/docs - everything.md (10,000 lines)Good Structure:
/docs /getting-started - quickstart.md - installation.md /features - feature-a.md - feature-b.md /troubleshooting - common-issues.md - error-codes.mdAgents use headings to understand content structure.
Bad:
## Stuff
Some information about various things.Good:
## How to Reset Your Password
Step-by-step guide:1. Click "Forgot Password"2. Enter your email3. Check your inboxWithout Examples:
Use the API to create users.With Examples:
## Creating Users via API
Example request:\`\`\`bashcurl -X POST https://api.example.com/users \ -H "Authorization: Bearer TOKEN" \ -d '{"name": "John", "email": "john@example.com"}'\`\`\`
Example response:\`\`\`json{ "id": "user_123", "name": "John", "email": "john@example.com"}\`\`\`Duplicate information confuses agents.
Check for:
Solution: Use a single source of truth for each topic.
For each document in your knowledge:
Break large documents into logical sections:
# Product Overview
## What is it?[Brief description]
## Key Features[Feature list]
## Use Cases[Real-world examples]
## Getting Started[Quick start guide]Each section can be retrieved independently.
A short header with the topic and its keywords puts those words in the text that is searched:
---title: Password Reset Guidecategory: troubleshootingtags: [password, login, security]difficulty: beginnerlast_updated: 2026-04-01---Link related topics:
For more information, see:- [Roles & Permissions](/account/roles/)- [Security](/security/)- [API Authentication](/api/authentication/)Problem: 10,000-page knowledge overwhelms the agent
Solution: Start with essentials, add more as needed
Priority Order:
Problem: Wall of text without headings or formatting
Solution: Use clear structure with headings, lists, and examples
Problem: Information from 2 years ago that’s no longer accurate
Solution: Regular audits and automatic sync
Problem: “Click the button” (which button?)
Solution: Be specific and include screenshots
Track these metrics to optimize your knowledge:
| Metric | Target | How to Improve |
|---|---|---|
| Answer Accuracy | > 90% | Add more examples, clarify ambiguous content |
| Retrieval Speed | < 1s | Reduce document size, improve structure |
| Coverage | > 80% | Add content for unanswered questions |
| Freshness | < 7 days | Enable automatic sync |
Notion
Sync the pages shared with your Notion connection, or one database.
Confluence
Sync a space, its pages and their child pages.
Google Drive
Sync the files you pick. Supports Docs, Sheets, Slides.
GitHub
Index the Markdown, text and CSV files in a repository.
File Upload
Upload PDF, DOC, DOCX, and TXT files directly.
Web Crawl
Crawl your website or documentation site.
ServiceNow
Sync knowledge articles or incidents.
Track changes to your knowledge:
# Tag versionsv1.0 - Initial launchv1.1 - Added troubleshooting sectionv1.2 - Updated API examplesTest different content structures:
Improve based on usage: