Skip to content
Notis

Create links for the Drive files you care about

Let a Drive query identify incoming files for a project or process, then have Notis create a Dub link for each match.

Trigger

New File Matching Query

Triggers when a new Google Drive file matches a provided query. This is the legacy query-centric trigger: it preserves Drive API query config such as ``corpora`` / ``driveId`` aliases and emits the historical ``file_matching_query`` event type. ``FileCreatedTrigger`` covers the broader "new file" case and emits ``file_created``.

Action

Upsert a Link

Tool to create or update a short link in Dub. Use when you need to create a new short link or update an existing one. If the link already exists (matching domain and key), it will be updated; otherwise, a new link will be created.

Why this helps

Important files can disappear into a busy Drive unless you create a consistent way to share and revisit them.

  • Focus link creation on new files matching your Drive query
  • Make workstream files easier to circulate
  • Reduce repeated manual link creation

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Dub once in the Notis portal.
  • 2Create an automation in Notis and name it for the workstream.
  • 3In one instruction, ask Notis to create a Dub short link for each newly matching file.
  • 4Choose the New File Matching Query trigger and select a report destination.
  • 5Test with one real file that matches the query and inspect its Dub link.

Questions about this workflow

How are matching files selected?

The Google Drive New File Matching Query trigger uses its query configuration to identify new matching files.

Can I choose the query?

Set the query as part of the trigger configuration offered in Notis. This trigger preserves Drive query options such as corpora and driveId aliases.

Does this update links for existing files?

No. The trigger is for new files matching the query.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Google Drive to Dub. A trigger fires from one place; an action lands in another.

Google Drive triggers

Dub actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Bulk Delete Links

Tool to delete multiple short links in bulk from Dub. Use when you need to remove multiple links at once. Maximum of 100 link IDs per request. Non-existing IDs are silently ignored.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Bulk Update Links

Tool to update multiple short links in bulk. Use when you need to apply the same updates to multiple links at once by specifying link IDs or external IDs.

ActionInstant

Comment Added (Docs/Sheets/Slides)

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

TriggerPolling

Create Domain

Tool to add a domain to a Dub workspace. Use when you need to create a new domain for shortening links. The domain must be verified before it can be used for link shortening.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Create Tag

Tool to create a new tag in Dub. Use when you need to organize links by creating custom tags. Tags help categorize and filter links for better organization.

ActionInstant

File Deleted or Trashed

Triggers when a file is moved to trash or permanently deleted in Drive.

TriggerPolling

Delete Domain

Tool to delete a domain from your Dub workspace. Use when you need to permanently remove a domain. The domain must exist and be owned by your workspace.

ActionInstant

File Shared (Permissions Added)

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

TriggerPolling

Delete Tag

Tool to delete a tag from Dub. Use when you need to remove a tag that is no longer needed.

ActionInstant

File Updated

Triggers when a file's metadata or content changes in Google Drive.

TriggerPolling

Get Link Info

Tool to retrieve details of a specific short link from Dub. Use when you need to get comprehensive information about a link including its configuration, targeting settings, and performance metrics.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Get Links

Tool to retrieve a paginated list of links for the authenticated workspace. Use when you need to list links with optional filtering by domain, tags, folder, search terms, or user. Supports pagination and sorting for efficient retrieval of large link collections.

ActionInstant

Connect any two apps with Notis in the middle.

Google Drive and Dub, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Dub.