Files and documents
Two routes cover most documents. Text you can save as Markdown goes through the import script. Other files go in by link: you give the brain a URL and it downloads the file and extracts the text itself.
Folders of Markdown
The Obsidian import script works on any folder of .md files. Use it for a
Notion export saved as Markdown, or notes you keep in a plain folder.
The script reads only files ending in .md. Rename .txt notes to .md first, or send them by link.
Files by link
Put the file somewhere the brain can download it, such as a temporary signed link from your file
storage. Then capture it with a kind and a fetchUrl:
Older PowerPoint files (.ppt) and other binary formats aren’t supported. Save them as .pptx or PDF
first.
This request sends two files in one batch:
labelshows on each page’s list of sources. A file’s path or title works well.originRefstops the brain from compiling the same file twice. Include a version or modified date in it, so a new version of the file is captured again.- The link must still work when the brain gets to it. Captures compile in the background, so give a signed link enough time, and check the sources for any that failed.
The same request works from the SDKs. See Capturing knowledge.