Review Discord invite details when Drive sharing changes
A new sharing permission is a good moment to review the collaboration context you provide, including details for a Discord invite.
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
Get Invite
Tool to retrieve information about a specific invite code. use when you need to get details about a guild or channel associated with an invite.
Why this helps
Sharing a file can trigger coordination work across tools, and manually looking up invite information breaks focus.
- Use a file sharing event as a prompt to review invite details.
- Keep the retrieved guild or channel context in the Notis run report.
- Reduce manual tool switching during collaboration setup.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Discord once in the Notis portal.
- 2Create an automation and name it for shared file coordination.
- 3Tell Notis to retrieve details for the Discord invite code you provide when a Drive file gains sharing permissions.
- 4Pick the File Shared trigger and choose where run reports go.
- 5Test with one real permission change and a valid invite code.
Questions about this workflow
Where does the invite code come from?
Provide the invite code in your instruction or other supported automation context. The available trigger does not supply a Discord invite code.
Does this create or send an invite?
No. The listed action retrieves information about a specific invite code.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Discord. A trigger fires from one place; an action lands in another.
Google Drive triggers
Discord actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Invite
Tool to retrieve information about a specific invite code. use when you need to get details about a guild or channel associated with an invite.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get my guild member
Retrieves the guild member object for the currently authenticated user within a specified guild, provided they are a member of that guild.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Get my OAuth2 authorization
Retrieves current oauth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').
File Created
Triggers when a new file is created in Google Drive.
Get my user
Fetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Retrieve user connections
Retrieves a list of the authenticated user's connected third-party accounts on discord.
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.
List my guilds
Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Connect any two apps with Notis in the middle.
Google Drive and Discord, 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 Discord.