Deleted Files to Archive Log

When you delete or trash a file in Google Drive, Notis immediately archives the corresponding Notion page. You'll have a complete record of what was deleted and when, with nothing lost.

Trigger

File Deleted or Trashed

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

Notion logo

Action

Archive Notion Page

Archives (moves to trash) or unarchives (restores from trash) a specified notion page.

Why this helps

Files get deleted and you lose track of what was in them or why they were removed. Collaborators delete files without notification. You can't answer questions about what happened to a file or when it was archived.

  • Maintain a complete audit trail of all deleted files for compliance and historical reference
  • Reduce confusion by archiving related Notion pages when files are deleted
  • Know immediately when team members delete files and prevent accidental data loss
  • Keep your Notion database clean while preserving a record of everything ever tracked

Setup

Build it in a few focused steps.

  • 1Connect your Google Drive and Notion accounts to Notis.
  • 2Create an automation with the prompt: 'When a file is deleted or moved to trash in Google Drive, find the corresponding Notion page and archive it.'
  • 3Select 'File Deleted or Trashed' as the trigger.
  • 4Choose your notification channel.
  • 5Test by deleting a Google Drive file and confirming the matching Notion page gets archived.

Questions about this workflow

How does Notis know which Notion page matches a deleted Google Drive file?

If you've been using our other automations (like New Docs to Notion Pages), Notis has a link stored in Notion pointing to the Google Doc. It uses that to find and archive the page. If not, make sure your Notion pages have the file name or a link property.

Can I be notified when files are deleted?

Yes. Choose a notification channel when you set up the automation. Notis will alert you via email, Slack, or in-portal notification whenever a deletion occurs.

What if I accidentally archive the wrong Notion page?

Notion pages can be unarchived. Just go to your Notion trash and restore the page. You can also refine your automation prompt to require confirmation before archiving, if you prefer.

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 logo

Google Drive triggers

Notion logo

Notion actions

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

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.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

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.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

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.

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

Archive Notion Page

Archives (moves to trash) or unarchives (restores from trash) a specified notion page.

ActionInstant

File Updated

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

TriggerPolling

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

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

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.

ActionInstant

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``.

TriggerPolling

Create Notion page

Creates a new empty page in a notion workspace.

ActionInstant

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.

ActionInstant

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.