Skip to content
Notis

Catch Drive deletions that need a second look

A deleted file may be intentional, or it may need quick follow-up. Ask Notis to post the available file details in Discord so the right person can check.

Trigger

File Deleted or Trashed

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

Action

Post message to channel

Sends a message to a specified discord channel (text, embeds, stickers, components, attachments); requires `send messages` permission and one of `content`, `embeds`, `sticker ids`, or `attachments`.

Why this helps

A file can disappear from a shared workflow before anyone notices or checks whether it was needed.

  • Spot deleted or trashed files promptly
  • Give teammates enough context to investigate
  • Keep recovery follow-up from getting lost

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Discordbot once in the Notis portal.
  • 2Create an automation in Automations, New Automation, or tell Notis from any channel.
  • 3Describe in one instruction that Notis should post an alert with available file details when a file is trashed or deleted.
  • 4Pick the Google Drive File Deleted or Trashed trigger and choose where run reports go.
  • 5Test with one real deletion event and check the Discord alert.

Questions about this workflow

Does this distinguish trashing from permanent deletion?

The trigger covers a file moved to trash or permanently deleted. Ask Notis to report whichever event details are available.

Can this workflow restore a deleted file?

No. Its Discord action posts an alert; it does not restore Drive files.

What should the alert include?

You can ask Notis to include available file details and a suggested next step for a person to review.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Google Drive to Discordbot. A trigger fires from one place; an action lands in another.

Google Drive triggers

Discordbot actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Add recipient to group channel

Adds a user to a discord group direct message (dm) channel.

ActionInstant

Webhook trigger

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

TriggerInstant

Update guild member information

Adds a user (who is not already a member) to a guild using their `access token` (which must have `guilds.join` scope), optionally setting nickname, roles, mute/deaf status, or flags.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Assign role to guild member

Assigns a role to a guild member, provided the bot has 'manage roles' permission in the guild and the role to be assigned is hierarchically lower than the bot's highest role.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Add reaction to message

Adds an emoji reaction from the authenticated user/bot to a specific message in a discord channel; does not return information about existing reactions.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Add or update thread member

Adds a user to a specific, unarchived thread; the user must have access to the thread's parent channel, and for private threads, the bot must already be a member.

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

Modify guild ban settings

Permanently bans a user from a discord guild, optionally deleting their recent messages (specify deletion period in seconds or days, not both).

ActionInstant

File Updated

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

TriggerPolling

Bulk ban users in guild with message deletion option

Bans up to 200 users from a discord guild, optionally deleting their recent messages; the bot must have 'ban members' permission in the guild, and this action is irreversible.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Bulk delete messages in channel

Atomically bulk deletes messages in a discord channel for moderation or maintenance; deletion may not be instantaneous and messages are unrecoverable.

ActionInstant

Connect any two apps with Notis in the middle.

Google Drive and Discordbot, 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 Discordbot.