Skip to content
Notis

Pair Drive activity with an Affinda usage check

Use a Drive change as a cue to check monthly Affinda credit consumption for a workspace you specify.

Trigger

Google Drive Changes

Triggers when changes are detected in a Google Drive.

Action

Get Usage by Workspace

Tool to retrieve monthly credits consumption for a workspace. use when tracking usage over a specific period before reporting.

Why this helps

It can be hard to remember to review processing usage while documents are moving through Drive.

  • Retrieve monthly credits consumed for a specified workspace.
  • Tie a usage check to an existing Drive activity signal.
  • Send the result to a chosen run report channel.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Affinda once in the Notis portal.
  • 2Create an automation in Automations, New Automation, for a workspace usage check.
  • 3Tell Notis which Affinda workspace to check and to report its monthly credit consumption.
  • 4Pick Google Drive Changes as the trigger and choose where run reports go.
  • 5Test with a real Drive change and review the usage report.

Questions about this workflow

Does this calculate usage caused by that specific Drive change?

No. The action returns monthly credit consumption for a workspace; it does not attribute credits to an individual file or change.

What if I have several workspaces?

Specify the workspace to check in the instruction so Notis retrieves usage for the intended workspace.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Affinda actions

Recurring trigger

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

TriggerScheduled

Batch Update Annotations

Tool to update multiple annotations in one request. use when you need to modify parsed values or other fields across many annotations at once.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Collection

Tool to create a new collection. use after you have a valid workspace id and want to group documents by a specific extractor within that workspace.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Create Document

Tool to upload a new document for parsing. use when you have the document file or a public url and need to extract structured data immediately.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Create Organization

Tool to create a new organization. use when you have a unique organization name and want to group resources under it.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Create RESTHook Subscription

Tool to create a new resthook subscription. use after confirming your webhook endpoint is ready to receive document event notifications.

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

Create Tag

Tool to create a new tag. use when you need to label documents in a specific workspace.

ActionInstant

File Updated

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

TriggerPolling

Create Validation Result

Tool to create a validation result. use when recording validation outcomes for a document after parsing.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Create Workspace

Tool to create a new workspace. use when you need to programmatically create a workspace container within an organization.

ActionInstant

Connect any two apps with Notis in the middle.

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