Skip to content
Notis

Check sharing event text before it moves on

Add a moderation step for text available with a new Drive sharing event and make the classification visible for review.

Trigger

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.

Action

Moderation Completion

Tool to classify input text or image for safety using a moderation model. use after receiving user-generated content to filter out unsafe material.

Why this helps

A permission change can include context or notes that deserve a quick safety check before further handling.

  • Classify provided text for safety
  • Make a consistent review point for sharing activity
  • Surface moderation results to the chosen report channel

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Ai ml api once in the Notis portal.
  • 2Create an automation in the portal or tell Notis from any channel.
  • 3Describe the moderation outcome you want in one instruction.
  • 4Pick File Shared as the trigger and choose where run reports go.
  • 5Test with one real sharing event.

Questions about this workflow

What input should moderation receive?

The moderation action accepts text or image. Specify the available text associated with the event and verify the input during a real example test.

Will this change Drive permissions?

No. The selected action classifies content; it does not change permissions.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Ai ml api actions

Recurring trigger

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

TriggerScheduled

Moderation Completion

Tool to classify input text or image for safety using a moderation model. use after receiving user-generated content to filter out unsafe material.

ActionInstant

Webhook trigger

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

TriggerInstant

Text Chat Completion

Tool to generate text completions or chat responses using a specified llm model. use after assembling the conversation history to produce the next response.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

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 Ai ml api, 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 Ai ml api.