Connect Dosya to n8n

Install the current Dosya community node, attach a dedicated REST credential, and verify workspace access before activating file automation.

Last reviewed

The n8n-nodes-dosya community package connects n8n to Dosya through the REST API. It can upload, download and list files, create or reuse folders, and create file or folder share links.

n8n connection map covering community-node installation, Dosya REST-key creation, credential validation and a limited workspace test.
Install the package in n8n, save a dedicated Dosya credential, and verify the exact workspace boundary with a harmless operation. Open full-size screenshot.

Requirements and boundaries

  • The repository package is n8n-nodes-dosya version 0.1.1. Its compatibility target is n8n 2.42 with Node.js 22; community-node installation availability still depends on your n8n deployment policy.
  • The node uses a Dosya API key, never your Dosya password. For all five current operations, use Full access, include the REST API protocol, and leave Folder access unset. A workspace pin is supported.
  • The key owner’s workspace membership and role still apply. Full-access scope cannot overcome an action the member is not permitted to perform.
  • Current operations are File: Upload, File: Download, File: Get Many, Folder: Create, and Share Link: Create. This release has no Dosya trigger, deletion, move, rename, sync or file-request operation.
  • Plan and workspace limits are enforced by Dosya. The Free-plan source defaults provide 5 GB storage and 100 GB daily egress, allow at most 5 active share links, and cap share expiry at 7 days. Workspace and per-file ceilings may be stricter.

Steps

  1. In a self-hosted n8n instance that permits community packages, open Settings → Community Nodes → Install.
  2. Enter n8n-nodes-dosya and confirm installation. After installation, the node picker should contain dosya.dev and the credential picker should contain dosya.dev API.
  3. In Dosya, open Profile → API keys → New API key. Name the key for this n8n instance, choose Full access, restrict Protocols to REST API, and optionally pin one workspace.
  4. Generate the key and copy the one-time secret. Do not add a folder anchor: the API rejects folder-anchored keys outside WebDAV and S3.
  5. In n8n, create a dosya.dev API credential and put the token in API Key. Saving tests it against GET https://api.dosya.dev/api/me.
  6. Create a temporary workflow and add a dosya.dev node. Choose the saved credential, File as Resource, and Get Many as Operation.
  7. Under Workspace, use From List and select the intended name. Choose Workspace Root under Folder, leave Return All off, and set a small Limit such as 1.
  8. Execute the node. Compare the returned workspace_id, folder_id, id, name and type with the harmless item you expected before adding any write operation.
Dosya Zapier setup page contrasted with the separate n8n community-node installation and credential flow.
Zapier uses this Dosya integration page; n8n is installed from Community Nodes and authenticates with the **dosya.dev API** credential described above. Open full-size screenshot.

Expected result

The credential test passes and the trial Get Many execution returns no more than the chosen limit from the selected root. The node receives only resources the key owner can reach within its workspace pin and role.

Resource locators support From List and By ID. Workspace IDs begin ws_, folder IDs fld_, and file IDs file_. Folder choices show paths such as Clients / Acme / Final; a file search with no text lists the newest root files, while typed text searches the whole selected workspace in pages of 50.

Diagnose a failed connection

  • dosya.dev did not accept the API key means the token may be incomplete, expired or revoked. Replace the saved n8n credential with a valid one-time secret.
  • This key is read-only. Uploads, folders and share links need a key with Full access scope. is raised by the credential test for a read-only key even though GET /api/me authenticated.
  • A 403 mentioning the api surface means the key excludes REST. Generate a key that includes REST API.
  • A 403 stating the key is anchored at a folder requires a replacement without a folder anchor; selecting that folder in the node is the supported way to target it.
  • No workspace selected is an n8n validation error. Choose one from the list or enter its ws_… identifier.
  • A missing workspace can mean the key is pinned elsewhere or the owner lacks membership. Credential success alone does not promise access to every workspace.
  • The client retries a 429 at most 3 attempts when Retry-After is 30 seconds or less. A longer delay is reported to the execution instead of making the job wait silently.

Removing the n8n package does not revoke its Dosya key. Revocation is permanent, but an already cached successful validation can remain accepted for up to 5 minutes. Inventory affected workflows before rotation, then retest after that window.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.