Data Sources & RAG
Data Sources let a custodian answer from your own documents — knowledge files the platform parses, indexes, and retrieves as context (RAG).
Drag a Data Source node from the palette, connect it to one or more custodians, and upload the files you want that custodian to know about. Custodians without a connected data source answer only from their system prompt + tools.
Supported file types
| Format | Extensions |
|---|---|
| Documents | .pdf .docx .txt .md |
| Spreadsheets | .xlsx .xlsm .xltx .xltm .xls .csv |
| Data & config | .json .yaml .yml .log |
Upload individual files or a folder (folder imports are filtered to exactly these extensions).
Connecting data sources
- Connect a Data Source to any custodian that should consult it.
- One data source can feed several custodians; one custodian can read several data sources.
- On the canvas, data-source nodes sit to the left of their custodian.
How it behaves at runtime
- When a conversation reaches a custodian with a connected data source, the relevant
file content is retrieved automatically and used as context (
parse_documenttool). - The flow keeps a persistent record of each data source's files and which custodians it connects to — so re-opening the app in the Flow Builder restores the wiring.
Tips
- Name data sources meaningfully (the name is what appears on the canvas and in exports).
- Keep files focused: attach only the documents a custodian actually needs — smaller, relevant context produces better answers and uses fewer tokens.
- For PII contained in uploaded documents, enable Privacy on the custodian so inline masking applies to what it reads and writes.
See also: Overview · Custodians & Tools · Routing Modes