Route matching Drive files to review by email
When a new file fits your Drive query, send reviewers a clear request to take a look.
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
Send Email
Send an email using agentmail api
Why this helps
Files that fit a search or intake query can still wait unnoticed for someone to route them to reviewers.
- Notify reviewers when a new matching file appears.
- Make the review request clear in the email.
- Reduce manual searches for incoming files.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Agent mail once in the Notis portal.
- 2Create an automation and give it a name.
- 3Tell Notis who to email when a file matching your query appears and what review you need, using the available file details.
- 4Pick the New File Matching Query trigger and choose where run reports go.
- 5Test with one real matching file.
Questions about this workflow
How is a matching file selected?
This legacy query-centric trigger uses the Google Drive query configured for it.
Can I ask for different review instructions?
Yes. Include the requested review outcome in your plain-language instruction to Notis.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Agent mail. A trigger fires from one place; an action lands in another.
Google Drive triggers
Agent mail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Message
Get a specific message from an agentmail inbox
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List Messages
List messages from an agentmail inbox
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Send Email
Send an email using agentmail api
File Created
Triggers when a new file is created in Google Drive.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
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.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Connect any two apps with Notis in the middle.
Google Drive and Agent mail, 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 Agent mail.