Skip to content
Notis

Know how much comment context you are passing along

Before a discussion goes into another AI step, get a token count for the comment text and make prompt-size decisions with more confidence.

Trigger

Comment Received Trigger

Triggered when a comment is received.

Action

Count Tokens (Gemini)

Counts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.

Why this helps

Long comments can bloat an AI handoff, increasing cost and crowding out the issue details that matter.

  • Estimate prompt input size before a downstream AI call.
  • Spot unusually long comments for possible summarization.
  • Make context choices with a clearer view of prompt volume.

Setup

Build it in a few focused steps.

  • 1Connect Linear and Gemini to Notis once in the portal.
  • 2Create an automation in the portal, or ask Notis conversationally to make one.
  • 3Write one plain-language instruction asking Notis to count tokens in each new comment's text and report the estimate for a downstream AI handoff.
  • 4Pick the Linear Comment Received trigger and choose where Notis should report runs.
  • 5Test with one short comment and one longer comment to compare estimates.

Questions about this workflow

Does token count equal cost?

No. It estimates text tokenization; actual cost depends on the model and other request details.

Can this count the entire issue thread?

Ask for the specific available text you want estimated. The comment event alone does not guarantee the full thread is supplied.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Linear triggers

Gemini actions

Recurring trigger

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

TriggerScheduled

Count Tokens (Gemini)

Counts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.

ActionInstant

Webhook trigger

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

TriggerInstant

Download Video (Veo)

Downloads a generated veo video to local storage. takes the video uri from a completed operation and saves it to the specified file path.

ActionInstant

Comment Received Trigger

Triggered when a comment is received.

TriggerInstant

Embed Content (Gemini)

Generates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.

ActionInstant

Issue Created Trigger

Triggered when a new issue is created.

TriggerInstant

Generate Content (Gemini)

Generates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.

ActionInstant

Issue Updated Trigger

Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.

TriggerInstant

Generate Image (Gemini 2.5 Flash)

Generates images from text prompts using gemini 2.5 flash image preview model. supports creative image generation with customizable parameters like aspect ratio, safety settings, and optional file saving.

ActionInstant

Private Team Comment Created

Fires when a new comment is posted on an issue in a private Linear team (polled with the connected user's token).

TriggerPolling

Generate Videos (Veo)

Generates videos from text prompts using google's veo models. creates high-quality video content with customizable aspect ratios, duration, and style controls. returns operation id for tracking progress.

ActionInstant

Private Team Issue Created

Fires when a new issue appears in a private Linear team (polled with the connected user's token).

TriggerPolling

Get Videos Operation (Veo)

Checks the status of a veo video generation operation. use the operation name from generatevideos to track progress and get the download url when complete.

ActionInstant

Private Team Issue Properties Updated

Fires when properties on an issue change in a private Linear team (polled with the connected user's token).

TriggerPolling

List Models (Gemini API)

Lists available gemini and veo models with their capabilities and limits. useful for discovering supported models and their features before making generation requests.

ActionInstant

Connect any two apps with Notis in the middle.

Linear and Gemini, 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 Gemini.