How it works
1
A workflow extracts documents
A published knowledge ingestion workflow calls your system’s API and returns documents as markdown — each with a display name, a stable ID, and a URL used for citations. Workflows support both full syncs and incremental (delta) syncs.
2
Serval indexes the content
On each sync, Serval chunks and embeds every document through the same pipeline as first-party connectors. Unchanged documents are skipped, and documents removed from the source are cleaned up.
3
A read-only knowledge base mirrors the source
Serval automatically creates one read-only knowledge base per custom source, listed under External Connections in the Knowledge Bases tab. Each synced document appears as a read-only page, so people can browse exactly what the agent sees. Pages link back to the original source.
Setting up a custom source
1
Publish a knowledge ingestion workflow
A workflow author builds and publishes a knowledge ingestion workflow — see Knowledge ingestion workflows for what it must return. If you don’t have one yet, the setup dialog links you to Catalyst to author it.
2
Add the custom source
- In the sidebar, open Knowledge and select the Knowledge Sources tab
- Click Manage sources, open the Available tab, and choose Add custom knowledge source
- Configure the source:
3
Sync and verify
Trigger a sync with Sync now, then ask the agent a test question that should be answered from the new content. Confirm the answer cites the right document.
Managing a custom source
Each custom source appears as a card in the Knowledge Sources tab showing its last sync time, sync-in-progress state, or any error. From the card you can:- Sync now — run an immediate sync instead of waiting for the schedule
- View Workflow — jump to the ingestion workflow definition
- Settings — edit the source configuration
Deleting a custom source permanently removes the source and all of its synced data.
When to use custom ingestion vs. the alternatives
Learn more
- Knowledge ingestion workflows — authoring reference for the workflow itself
- Connect to External Sources — first-party connectors that don’t need a workflow
- Custom Apps — pair a custom app with your ingestion workflow

