Tag Affinda documents after Drive sharing
Make newly shared files visible in Affinda with an automatic tag.
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
Create Tag
Tool to create a new tag. use when you need to label documents in a specific workspace.
Why this helps
Sharing changes signal collaboration or risk, but document records rarely reflect that change.
- Highlights newly shared records
- Improves collaboration visibility
- Creates a simple access signal
Setup
Build it in a few focused steps.
- 1Connect Google Super and Affinda once in Notis.
- 2Create an automation named Shared File Affinda Tagger.
- 3Tell Notis to find the related Affinda document and apply the collaboration tag when new Drive permissions appear.
- 4Pick File Shared as the trigger and choose a report channel.
- 5Test by sharing one file with a permitted collaborator.
Questions about this workflow
Does this change Drive permissions?
No. It only applies an Affinda tag to the related document.
What if there is no matching tag?
Ask Notis to report the missing tag so it can be created separately.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Super to Affinda. A trigger fires from one place; an action lands in another.
Google Super triggers
Affinda actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
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.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
Aggregate Metric Changed
Triggers when an aggregate metric (SUM/COUNT/AVG/MIN/MAX) changes in a Google Sheets spreadsheet. This trigger monitors an aggregate calculation on a target column (optionally filtered by a search column/value) and fires when the calculated result changes.
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.
Attendee Response Changed
Polling trigger that fires when any attendee's RSVP changes to accepted, declined, or tentative. Returns attendee info and current status.
Create Organization
Tool to create a new organization. use when you have a unique organization name and want to group resources under it.
Cell Range Values Changed
Triggers when values in a specified A1 range change in Google Sheets. This trigger monitors a specific cell or range of cells and fires when any values change.
Create RESTHook Subscription
Tool to create a new resthook subscription. use after confirming your webhook endpoint is ready to receive document event notifications.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Create Tag
Tool to create a new tag. use when you need to label documents in a specific workspace.
Conditional Format Rule Changed
Triggers when conditional formatting rules change in a Google Spreadsheet. Detects when rules are added, updated, or removed. Uses snapshot-based diffing to detect changes between polls.
Create Validation Result
Tool to create a validation result. use when recording validation outcomes for a document after parsing.
Data Validation Rule Changed
Triggers when data validation rules change (added/updated/removed) in a Google Spreadsheet. Uses snapshot-based diffing to detect changes between polls.
Create Workspace
Tool to create a new workspace. use when you need to programmatically create a workspace container within an organization.
Connect any two apps with Notis in the middle.
Google Super 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.