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.
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 triggers
Linear actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create linear attachment
Creates a new attachment and associates it with a specific, existing linear issue.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create a comment
Creates a new comment on a specified linear issue.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
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.
File Created
Triggers when a new file is created in Google Drive.
Get create issue default params
Fetches a linear team's default issue estimate and state, useful for pre-filling new issue forms.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Create a label
Creates a new label in linear for a specified team, used to categorize and organize issues.
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.
Delete issue
Archives an existing linear issue by its id, which is linear's standard way of deleting issues; the operation is idempotent.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Get all teams
Retrieves all teams from the linear workspace without requiring any parameters.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Download issue attachments
Downloads a specific attachment from a linear issue; the `file name` must include the correct file extension.
Connect any two apps with Notis in the middle.
Google Drive and Linear, 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 Linear.