Advanced: Custom GraphQL Operations from Document Feedback

For advanced use cases, Notis can execute custom GraphQL mutations in Linear when Google Docs comments arrive. This is for teams that need more control than standard actions provide.

Trigger

Comment Added (Docs/Sheets/Slides)

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

Linear logo

Action

Run Query or Mutation

Wildcard action that executes any graphql query or mutation against the linear api. use this as a fallback when no specific action exists for your use case, or when you need to perform complex operations not covered by other linear actions. supports full graphql capabilities including custom queries, mutations, and advanced filtering.

Why this helps

Some workflows require operations that standard automation actions don't support. Neurodivergent teams often abandon complex workflows because the friction is too high, leaving valuable automations unrealized.

  • Unlimited flexibility via GraphQL
  • Support for complex, multi-step operations
  • Access to Linear API full power
  • Enables advanced use cases

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Linear to Notis.
  • 2Tell Notis 'When a Google Docs comment arrives, execute this GraphQL mutation' and provide your mutation.
  • 3Describe what the mutation should do: 'Update the issue, create a related record, or modify multiple fields in one operation.'
  • 4Select 'Comment Added' as your trigger.
  • 5Test with a real comment and a safe mutation that won't harm production data.

Questions about this workflow

Do I need to write GraphQL? Can Notis help me build the mutation?

You can ask Notis to help. Tell Notis 'I want to update an issue's state and add a label based on a comment' and it can suggest the mutation.

What if my mutation fails?

Notis will report the error. Tell Notis to 'log failures to Slack' or 'retry if the mutation times out' to add resilience.

Can I use variables in the mutation from the comment?

Yes. Tell Notis 'extract the issue id from the comment and use it in the mutation' and it will handle variable extraction.

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.