Skip to content

Paperless

Paperless-ngx keeps scanned documents. This shows recent documents, and lets the assistant search and read them, and file what you attach or paste.

config.yaml
integrations:
paperless:
type: paperless
url: http://paperless:8000
token: ${PAPERLESS_TOKEN}
href: https://docs.example.com
layout:
- title: Apps
widgets:
- paperless.recent
OptionTypeDefaultWhat it does
urlURLrequiredWhere the service answers, from Valet’s side.
tokenstringrequiredAn API auth token, best from a separate user with view permissions. Use ${VAR}.
hrefstringoptionalWhere the card links to, when that differs from url.

One widget. Its key is paperless.recent, using the instance name from your config.

paperless.recent · shelf card · refreshes every 5 minutes while the page is open.

Paperless, Documents, small size
Small
Paperless, Documents, wide size
Wide
Paperless, Documents, medium size
Medium
Paperless, Documents, large size
Large
Paperless, Documents, in chat
In chat

Tall draws the same as medium, so it isn't shown. Only the empty space changes.

Paperless Documents: No documents yet
No documents yet
Paperless Documents: Can't reach it
Can't reach it

What the assistant can use, once its access level allows it. Read tools run freely. Everything else asks first.

ToolAccessWhat it does
docs_searchreadSearch the person’s documents in Paperless (full text: letters, bills, receipts, contracts, statements, IDs…).
docs_readreadRead one document’s text (OCR) and details by id, to answer a question about it.
docs_addwriteFile something in Paperless: a file the person attached in chat (pass its file id from the message), or text they pasted (pass text; it’s saved as a text document).

Slides this integration adds to the recap.

Recap slide: You keep 3,412 documents. 41 million characters of text, every word searchable. Most of it from:
You keep 3,412 documents