Keep Linear Clean: Archive Issues When Files Disappear

A file gets deleted from Google Drive. Instead of leaving an orphaned issue, Notis automatically archives it in Linear. Your tracker stays organized without manual cleanup.

Trigger

File Deleted or Trashed

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

Linear logo

Action

Delete issue

Archives an existing linear issue by its id, which is linear's standard way of deleting issues; the operation is idempotent.

Why this helps

Files get deleted but Linear issues remain, creating orphaned work items. Neurodivergent teams struggle with cleanup, so issues pile up and the system becomes less trustworthy over time.

  • Keeps Linear clean and trustworthy
  • Removes orphaned issues automatically
  • No manual cleanup work
  • Maintains single source of truth

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Linear to Notis.
  • 2Tell Notis 'When a file is deleted from Google Drive, archive the matching Linear issue' or build this in the portal.
  • 3Describe the action: 'Archive the issue and add a comment noting that the source file was deleted.'
  • 4Select 'File Deleted or Trashed' as your trigger.
  • 5Pick your notification channel and test by deleting a tracked file.

Questions about this workflow

How does Notis know which issue to archive?

Notis matches the deleted file to an issue by name or by a link you've established. If you ask 'archive the issue that links to this file,' Notis will find it.

Is archiving the same as deleting? Can I unarchive if I need to?

Yes, Linear archives issues rather than permanently deleting them, so you can unarchive if needed. It's a soft delete that keeps history.

What if I delete a file by accident but want to keep the issue?

Just restore the file from Google Drive trash and the automation won't trigger. If the issue was already archived, you can manually unarchive it in Linear.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive logo

Google Drive triggers

Linear logo

Linear actions

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Create linear attachment

Creates a new attachment and associates it with a specific, existing linear issue.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Create a comment

Creates a new comment on a specified linear issue.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Create linear issue

Creates a new issue in a specified linear project and team, requiring a title and description, and allowing for optional properties like assignee, state, priority, cycle, and due date.

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

Get create issue default params

Fetches a linear team's default issue estimate and state, useful for pre-filling new issue forms.

ActionInstant

File Updated

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

TriggerPolling

Create a label

Creates a new label in linear for a specified team, used to categorize and organize issues.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Delete issue

Archives an existing linear issue by its id, which is linear's standard way of deleting issues; the operation is idempotent.

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

Get all teams

Retrieves all teams from the linear workspace without requiring any parameters.

ActionInstant

Download issue attachments

Downloads a specific attachment from a linear issue; the `file name` must include the correct file extension.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Google Drive and Linear. 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 Linear.