Build an n8n workflow that creates a Dosya share link
Build an n8n sharing workflow from an earlier Dosya item ID, test one controlled input, and prevent duplicate links after an ambiguous network result.
Last reviewed
A complete n8n sharing workflow should receive or create a Dosya item, pass its stable ID into Share Link → Create, and use the returned URL. The share step creates access; it does not upload bytes or notify a recipient by itself.

Steps
- Start with one non-confidential item. For an uploaded file, use the preceding Dosya node’s
id; for a folder, retain itsfld_…output. - Add Create Share Link, choose Share Link → Create, and map the target by ID rather than selecting a stale editor sample.
- Configure Access Code, Expires In Days, and View Only for the real recipient. Use an access code of 8 or more characters and treat
0days as the workspace default. - Connect downstream delivery only to the returned
url. Keepidfor later link management and retainexpires_atwhen recipients need a deadline. - Execute one manual test. A successful test creates a real active link, so do not press test repeatedly and do not assume deactivating the workflow removes it.
- Verify the signed-out link, then activate the workflow. Monitor its first live execution and confirm one input produced one expected link before increasing volume.
The bundled Store and share a PDF example returns file_id, name, share_url, and expires_at from an Upload node followed by Create Share Link. Add an email or webhook response separately if somebody must receive the URL.
Expected result
Each accepted input maps to the intended Dosya resource and yields one verified public URL with the configured effective access. The workflow’s delivery step receives that URL only after creation succeeds.
The node automatically retries a 429 at most within three total attempts when the wait is 30 seconds or less. It deliberately does not replay share creation after a timeout, 502, 503 or 504 because the first request may already have created a link; check Dosya before manual retry.
Related guides
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.