Instant Permission-Change Alerts for Google Drive Files
When a file gets shared with someone new, the whole team should know. Notis sends a Telegram alert whenever permissions change, keeping security and access transparent.
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
Send Message
Send a text message to a telegram chat using the bot api.
Why this helps
Neurodivergent founders often forget to communicate when they share files with new team members or clients. This creates confusion about who has access to what, and sensitive files can be shared without the team knowing.
- Ensure the team knows when files are shared with new people
- Catch accidental sharing to wrong recipients
- Maintain transparency about file access and permissions
- Reduce security risks from unannounced sharing
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Telegram to Notis (one-time setup).
- 2Create an automation: 'Send a Telegram alert whenever permissions are added to a Google Drive file'.
- 3Select the trigger: Google Drive File Shared (Permissions Added) event.
- 4Choose the Telegram channel for permission-change alerts.
- 5Test by sharing a Google Drive file with a new person and verify the alert appears in Telegram.
Questions about this workflow
Will I get alerts for every single permission grant, or can I filter them?
By default, every new permission triggers an alert. You can refine the automation to filter by person, domain, or file type if you want to reduce noise.
Does the alert show who was granted access?
Yes. Notis includes the file name, the person or group granted access, and the permission level (viewer, editor, etc.) in the Telegram message.
What if I accidentally share a file with the wrong person?
The alert lets you catch mistakes immediately. You can revoke the permission right away from Google Drive and communicate the correction in Telegram.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Telegram. A trigger fires from one place; an action lands in another.
Google Drive triggers
Telegram actions
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Answer Callback Query
Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
File Created
Triggers when a new file is created in Google Drive.
Delete Message
Delete a message, including service messages, with certain limitations.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Edit Message
Edit text messages sent by the bot.
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.
Export Chat Invite Link
Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Forward Message
Forward messages of any kind. service messages can't be forwarded.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Get Chat Info
Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
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``.
Get Chat Administrators
Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.
Get Chat History
Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.
Connect any two apps with Notis in the middle.
Not just Google Drive and Telegram. 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 Telegram.
