Skip to content
Notis

Check country restrictions when a relevant file matches

When a file matching your Drive query appears, retrieve current model country restrictions to help inform deployment planning.

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

Fetch model restrictions

Tool to retrieve a list of country restrictions for models. use when you need to verify allowed deployment countries before final model selection.

Why this helps

Country eligibility can be easy to overlook while a founder is comparing model options and working through a launch plan.

  • Retrieve country restriction information when a relevant file appears.
  • Bring a concrete input into deployment planning.
  • Keep the check connected to the matching file event.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Apipie AI once in the Notis portal.
  • 2Create an automation in the portal or tell Notis what you want from any channel.
  • 3Describe the outcome in one instruction: retrieve model country restrictions when a new file matches the Drive query.
  • 4Pick the New File Matching Query trigger and choose where run reports should go.
  • 5Test with one real matching file and review the report.

Questions about this workflow

Does this confirm that a model is approved for my deployment?

It retrieves Apipie AI's country restriction information. Review the results for your intended model and deployment country before final selection.

Does Notis create or configure the Drive query?

No. This uses the existing New File Matching Query trigger. The trigger configuration is selected in Notis; the setup flow does not add field mapping.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Apipie ai actions

Recurring trigger

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

TriggerScheduled

Delete Vectors

Tool to delete an entire vector collection or specific vectors. use when you need to remove vector data after identifying your target collection or vectors.

ActionInstant

Webhook trigger

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

TriggerInstant

Fetch model restrictions

Tool to retrieve a list of country restrictions for models. use when you need to verify allowed deployment countries before final model selection.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Get query history

Tool to retrieve historic api usage logs including latency, token counts, costs, and source ip. use after authenticating to analyze past queries for cost management, performance monitoring, or auditing.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

List AI Models

Tool to fetch a list of available ai models. use when you need up-to-date model listings and want to filter by. model type, subtype, provider, or retrieve specialized lists like voices or restrictions.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

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

File Updated

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

TriggerPolling

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Connect any two apps with Notis in the middle.

Google Drive and Apipie ai, 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 Apipie ai.