Use the Dosya new-file trigger in Zapier

Configure Zapier’s Dosya New File trigger with the required key and workspace, test one current sample, and exclude ordinary version uploads.

Last reviewed

New File subscribes one Zap webhook to the file.uploaded event for a required workspace. It returns only brand-new file records; an upload that creates a new version of an existing file is deliberately ignored.

Four panels show connecting a full unanchored key, creating the workspace webhook, uploading a genuinely new file, and verifying the trigger fields before publishing.
Four panels show connecting a full unanchored key, creating the workspace webhook, uploading a genuinely new file, and verifying the trigger fields before publishing. Open full-size screenshot.

Steps

  1. Create a Dosya API key at https://app.dosya.dev/profile/api with full scope. Do not folder-anchor it; REST rejects anchored keys. Pin the key to one workspace when narrower access is required.
  2. In Zapier add the Dosya New File trigger and connect that key. The connection test calls the current user endpoint and rejects any scope other than full before the Zap is enabled.
  3. Choose Workspace. Subscription creates one webhook endpoint for this Zap and event, labeled Zapier (Zap <id>) when Zapier supplies the ID.
  4. Upload one new, non-confidential file to the chosen workspace. Do not overwrite an existing file for this test, because deliveries with is_new_version: true return no trigger item.
  5. Use Zapier’s trigger test to load a sample. Sampling lists the workspace root, then at most 12 folders until it finds about 25 recent rows; a very large workspace is intentionally not exhaustively scanned.
  6. Confirm File ID, File name, Size in bytes, Folder ID, and Version, then publish the Zap. Switch it off cleanly so Zapier can delete the stored webhook endpoint.

If unsubscription reports Cannot unsubscribe: no dosya webhook endpoint id was stored for this Zap, the app refuses to pretend cleanup succeeded. Resolve the stale connection so an endpoint is not leaked against webhook limits.

Reference for “Use the Dosya new-file trigger in Zapier”: Dosya Zapier integration overview page.
Reference for “Use the Dosya new-file trigger in Zapier”: Dosya Zapier integration overview page. Open full-size screenshot.

Expected result

One newly created file in the selected workspace produces one trigger item whose id and file_id are the stable file ID. New versions are ignored, and repeated delivery of the same event uses the same id so Zapier can deduplicate it.

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.