π Agent Knowledge
Search uploaded files, scraped web pages, and synced OneDrive/SharePoint folders using semantic similarity for RAG-powered AI workflows.
Overview
The Agent Knowledge node enables RAG (Retrieval-Augmented Generation) in your workflows. Add content to your agent's knowledge base β upload files, point it at a URL, or connect a OneDrive or SharePoint folder β then use this node to search it with semantic similarity. Feed the results into an AI Prompt node so your AI can answer questions grounded in your own data.
How It Works
- Add content β from the Add source menu, upload PDF, DOCX, TXT, or Markdown files, ingest a single web page or crawl a whole website, or connect a OneDrive / SharePoint folder. Every source flows into the same knowledge base.
- Automatic processing β content is chunked (with markdown-aware section splitting for web pages) and embedded using OpenAI text-embedding-3-small.
- Search with the node β the Agent Knowledge node converts your query into a vector embedding and performs a cosine similarity search against the stored chunks using pgvector.
- Feed results to AI β pass the search results to an AI Prompt node as context, enabling the AI to answer questions based on your documents.

Configuration
- Query β the search text to find relevant documents. Supports{{variables}} for dynamic queries (e.g. {{$json.message}} or{{trigger.body}}).
- Top K β number of results to return (default: 5). Higher values return more context but use more tokens.
- Minimum Score β similarity threshold from 0.0 to 1.0 (default: 0.0). Set higher to filter out less relevant results.
- Output Variable β variable name to store the search results (default: knowledge_results).
- Include Metadata β whether to include source file name and chunk metadata in results.
Output Format
Results are stored in the output variable as an object with a results array. Each result includes:
- {{knowledge_results.results[0].content}} β the matched text chunk
- {{knowledge_results.results[0].score}} β similarity score (0.0 to 1.0)
- {{knowledge_results.results[0].source}} β source file name (when metadata is enabled)
Common Use Cases
- Customer support chatbot β upload product docs, FAQs, and policies so the AI can answer customer questions accurately
- Internal knowledge assistant β upload company handbooks, SOPs, and training materials for employee self-service
- Document Q&A β upload contracts, reports, or research papers and ask questions about their content
Adding content from a URL
Click Add URL on the Knowledge Base tab to pull content directly from the web. There are two modes:
- Single URL β ingest one page. Best when you know the exact URLs you want to add (a pricing page, a specific FAQ, a help article).
- Whole Website β start from one URL and follow links across the site. Configure how deep the crawl goes, how many pages to ingest, and an optional URL pattern (e.g.
*/blog/*) to limit which pages are included. There's a hard cap of 500 pages per crawl to protect against runaway ingestion.


Each ingested page becomes its own entry in the knowledge base, with the page URL stored as the source. You can delete a URL source at any time, and all pages it produced are removed with it.
Connecting a OneDrive or SharePoint folder
From the Add source menu, choose From a OneDrive folder or From a SharePoint folder to sync the documents in a folder into the knowledge base. This is ideal when your source material already lives in Microsoft 365 and you'd rather keep it there: the original files stay in OneDrive/SharePoint, and Falcon stores only the extracted text and embeddings it needs to answer queries β a good fit for HIPAA-conscious deployments that don't want the platform housing source documents.

To set one up:
- Pick a connection β choose an existing OneDrive or SharePoint connection, or use + New to connect another Microsoft account, then β» refresh to pick it up. Both delegated (OAuth) and App-Only connections are supported. Different agents can sync folders from entirely different accounts.
- Choose a site (SharePoint only) β search for and select the SharePoint site that holds the document library you want.
- Browse to a folder β drill into the folder you want to sync. Toggle Include subfolders to sync the whole tree, and optionally limit to specific file types (e.g.
pdf, docx). - Sync β every supported file in the folder is extracted, chunked, and embedded just like an uploaded document. A folder can sync up to 1,000 files.

Each synced file becomes its own knowledge base entry. On later refreshes the sync is incremental: only files whose contents changed are re-embedded, files removed from the folder are dropped, and unchanged files are left untouched β so a refresh over a large folder is cheap. Deleting the source removes all of its synced documents; it never touches the files in OneDrive or SharePoint.
Supported document types are PDF, DOCX, Excel workbooks (XLSX, XLSM, XLS), TXT, Markdown, and other text formats (CSV, JSON, XML, HTML). Images and other binaries are skipped. App-Only OneDrive connections need a default user set on the connection so Falcon knows whose drive to read.
Excel workbooks: knowledge base or live lookups?
An Excel file in a synced folder is indexed sheet by sheet: each row becomes one line that carries its column names (Row 7: SKU: 1234; Product: Widget; Price: 9.99), so a search for a product finds its row with the right labels. Cells are indexed as Excel displays them, including the last calculated value of formulas. With Auto refresh set to every hour, edits to the workbook reach the agent within the hour; only changed files are re-indexed.
This works well for reference sheets: catalogs, price lists, FAQs, staff directories. It is the wrong tool when an answer needs every row or the value as of this second (totals, counts, βwhich orders are overdueβ, stock levels): search returns only the few chunks most similar to the question. For those, give the agent the live sheet instead: add a Microsoft Excel node as a tool on an Agent Loop, with the workbook set on the node and the operation set to Worksheet β Lookup (one row by a key column) or Worksheet β Get Content (the whole sheet or a range, for totals and filters). Each tool call reads the workbook through Microsoft Graph, so the agent always sees the current contents. You can use both on one agent.
Keeping content fresh
Source content changes. When adding a source, turn on Auto refresh to re-sync on a schedule:
- Connected sources (OneDrive, SharePoint, Google Drive, S3, ClickUp, Notion, Confluence): every hour, every 6 hours, daily, or every 7, 14 or 30 days. Each refresh only re-reads items changed since the last one, so frequent refreshes stay cheap.
- URL sources: daily, or every 7, 14 or 30 days. Each refresh re-fetches the page or re-crawls the site and uses crawl credits, so hourly isn't offered.
You can change a source's schedule at any time from the refresh dropdown next to it in the Connected Sources list.
To re-ingest immediately without waiting for the schedule, use the Refresh now button (the circular-arrows icon) next to any source in the Connected Sources list. The status updates in place as it re-runs, and a refresh that's already in progress can't be triggered again until it finishes.

Supported sources
- PDF (.pdf)
- Microsoft Word (.docx, .doc)
- Plain text (.txt)
- Markdown (.md)
- Web pages β single URL or full-site crawl (up to 500 pages per source)
- OneDrive folder β OAuth or App-Only connection (up to 1,000 files per source)
- SharePoint folder β OAuth or App-Only connection (up to 1,000 files per source)
- Google Drive folder and Amazon S3 bucket or prefix (up to 1,000 files per source)
- ClickUp space, folder or list β one document per task (up to 1,000 per source)
- Notion β every page shared with your integration, or chosen pages and databases with everything under them; one document per page or database row (up to 1,000 per source). Set up a Notion connection.
- Confluence Cloud β chosen spaces, one document per current page (up to 1,000 per source). Set up a Confluence connection.
Storage Options
Uploaded files and scraped web pages are stored in Supabase Storage (default) or your own AWS S3 bucket. Configure S3 credentials in the agent settings to use your own storage.
For OneDrive and SharePoint folder sources, the original files stay in Microsoft 365 β Falcon never copies the source documents into its own storage. Only the extracted text and vector embeddings needed for search are kept.
Required Credentials
Delegated OAuth2 connection to your personal OneDrive via Microsoft Graph.
OneDrive (App-Only)Service-account connection to a specific user's OneDrive via an Azure app.
SharePoint (OAuth)Delegated OAuth2 connection to SharePoint via Microsoft Graph (per-user).
SharePoint (App-Only)Service-account connection to SharePoint via an Azure app (client credentials).