Skip to content
Notis

Review Discord membership when a Drive file disappears

A removed file may close out a piece of work. Use that moment to review your membership context for a related Discord server.

Trigger

File Deleted or Trashed

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

Action

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.

Why this helps

Closing out a document can leave loose ends in collaboration spaces that are easy to forget.

  • Use file removal as a project closeout prompt.
  • Retrieve your own membership details for a supplied Discord guild.
  • Keep the result available in a Notis run report.

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 file closeout review.
  • 3Tell Notis to retrieve your membership details for the Discord guild you specify when a Drive file is trashed or deleted.
  • 4Pick the File Deleted or Trashed trigger and choose where run reports go.
  • 5Test with one real file deletion and a guild you belong to.

Questions about this workflow

Does this check a different member's role?

No. The action retrieves the guild member object for the currently authenticated user in a specified guild.

What does the trigger detect?

A file moved to trash or permanently deleted in Google Drive.

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.

TriggerScheduled

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.

ActionInstant

Webhook trigger

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

TriggerInstant

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.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

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').

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Get my user

Fetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Retrieve user connections

Retrieves a list of the authenticated user's connected third-party accounts on discord.

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

List my guilds

Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.

ActionInstant

File Updated

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

TriggerPolling

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

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.