Storage
Workflows that handle binary data (uploaded documents, generated reports, downloaded images) keep those files in project storage. Each file belongs to one project and counts towards the workspace’s storage quota.
Using storage in workflows
Use the File node to store, retrieve, delete, or check for a file in a workflow. Other nodes that produce files, such as Convert to File, pass file references along the same way.
:::note Self-hosted workers File storage nodes always run on Blokkio's hosted workers, even when the project is assigned to a self-hosted worker pool. :::
Storage quota
Each workspace has a storage quota set by your plan, shared by all its projects (from 100 MB on the smallest plan to 50 GB on the largest, see Plans and limits). When your workspace reaches 80% and 100% of it, administrators get a warning by email and in the app.
The quota is checked before every file is stored, whether a workflow node writes it or you upload it in the editor. If the new file would take the project over its limit:
- In a workflow, the node fails with a message such as
Storage quota exceeded: 49.2 MB used + 2 MB requested exceeds the plan limit of 50 MB.You can handle this like any other node failure (see error handling). - Through the API, the request is rejected with HTTP 413 and a problem response:
{
"type": "storage-quota-exceeded",
"title": "Storage quota exceeded",
"status": 413,
"detail": "Storage quota exceeded: 49.2 MB used + 2 MB requested exceeds the plan limit of 50 MB.",
"usedBytes": 51589939,
"limitBytes": 52428800,
"requestedBytes": 2097152
}
Deleting files frees space immediately. To see your files and usage, open the Files page. Settings → Project → Storage also shows used space against your plan limit and lists the storage providers configured for the project. See plan limits for all plan quotas.
Uploading files in the editor
When you upload a file into a node's file field in the editor, these limits apply:
- Maximum size: your plan's largest file (25 MB on the smallest plan).
- Allowed types:
.csv,.tsv,.txt,.json,.xml,.yaml,.yml,.md,.pdf,.png,.jpg,.jpeg,.gif,.webp,.xlsx,.xls,.docx,.zip,.gz. - The stored content type comes from the file extension. The type your browser sends is ignored.
- Empty files and files without an extension are rejected.
Permissions
| Action | Administrator | Contributor | Viewer |
|---|---|---|---|
| Browse, preview and download files | Yes | Yes | Yes |
| Upload or delete files | Yes | Yes | No |
| Change storage providers (project settings) | Yes | No | No |
Files can only be attached to workflows and nodes in the same project. File uploads are recorded in the audit log, together with downloads and deletions. See roles for the full permission map.
Keeping files on your own servers
A self-hosted worker pool can keep the files its steps write on your own storage instead of in Blokkio. See Files on your workers.