File Sharing Permissions Audit
Every time someone shares a file with new collaborators, Notis comments in your Notion audit page with the details (who got access, what file, when, from whom). You'll never wonder who has access to what.
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 comment
Adds a comment to a notion page (via `parent page id`) or to an existing discussion thread (via `discussion id`); cannot create new discussion threads on specific blocks (inline comments).
Why this helps
You lose track of who has access to your files. Sensitive files get shared without your knowledge or approval. Weeks later you discover someone still has access to data they shouldn't. You can't quickly audit permissions when you need to for security reasons.
- Know immediately when files are shared and who gets access
- Build security accountability by auditing all permission changes
- Quickly answer access control questions for compliance or security reviews
- Prevent unauthorized sharing by staying aware of all permission changes
Setup
Build it in a few focused steps.
- 1Connect your Google Drive and Notion accounts to Notis.
- 2Create an automation with the prompt: 'When files are shared in my Google Drive, add a comment to my Notion Permissions Audit page documenting: file name, who received access, what permission level (viewer, editor, etc.), and when the share happened.'
- 3Select 'File Shared (Permissions Added)' as the trigger.
- 4Choose your notification channel.
- 5Test by sharing a file with a colleague and confirming an audit comment appears in Notion.
Questions about this workflow
Can I flag sensitive files or permission changes?
Yes. Include in your prompt 'if a file contains sensitive keywords in its name or if it's being shared externally, add an exclamation mark or warning emoji to the comment.'
What if I want to see permission changes for specific files only?
Modify your prompt to specify which files to track, e.g., 'only log permissions for files in my Confidential folder or files with names containing Client or Contract.'
Can I revoke access directly from Notion?
Not directly, but you can use the Notion comment as a reminder to check and revoke access. Or, you can set up a second automation to notify you so you take manual action in Google Drive.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Notion. A trigger fires from one place; an action lands in another.
Google Drive triggers
Notion actions
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Add multiple content blocks (bulk, user-friendly)
Efficiently adds multiple standard content blocks to a notion page in a single api call with automatic markdown parsing. the 'content' field in notionrichtext blocks now automatically detects and parses markdown formatting including headers (# ## ###), bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), links ([text](url)), and more. ideal for bulk content creation, ai agents, and replacing multiple individual add page content calls. supports automatic text formatting, content splitting, and up to 100 blocks per request.
File Created
Triggers when a new file is created in Google Drive.
Add content to Notion page
Deprecated: appends a single content block to a notion page or a parent block (must be page, toggle, to-do, bulleted/numbered list, callout, or quote); invoke repeatedly to add multiple blocks.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Append complex blocks (advanced, full control)
Appends complex blocks with full notion block structure to a parent block or page. use for advanced scenarios requiring precise control: code blocks, tables, embeds, nested children within blocks, or when working with pre-built notion block objects. requires full notion api block schema - use add multiple page content for simpler content creation.
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.
Archive Notion Page
Archives (moves to trash) or unarchives (restores from trash) a specified notion page.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Create comment
Adds a comment to a notion page (via `parent page id`) or to an existing discussion thread (via `discussion id`); cannot create new discussion threads on specific blocks (inline comments).
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Create Notion Database
Creates a new notion database as a subpage under a specified parent page with a defined properties schema; use this action exclusively for creating new databases.
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``.
Create Notion page
Creates a new empty page in a notion workspace.
Delete a block
Archives a notion block, page, or database using its id, which sets its 'archived' property to true (like moving to "trash" in the ui) and allows it to be restored later.
Connect any two apps with Notis in the middle.
Not just Google Drive and Notion. Any combination from 985+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Notion.
