Estimate issue context before an AI handoff
Know the rough text size before sending a new issue into a larger AI workflow. Use that estimate to keep the handoff focused.
Trigger
Public Team Issue Created
Fires when a new issue is created in a Linear *public* team. For private teams (lock icon in Linear's sidebar) use `LINEAR_PRIVATE_TEAM_ISSUE_CREATED`.
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 issue bodies can consume more prompt space than expected and make downstream summaries less efficient.
- Estimate issue text volume before downstream processing.
- Identify unusually lengthy descriptions for a more focused handoff.
- Support more predictable prompt-size planning.
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.
- 3Use a single plain-language instruction asking Gemini to count tokens in each new public issue's available title and description for prompt planning.
- 4Pick the Public Team Issue Created trigger and choose where Notis should report runs.
- 5Test with one concise and one detailed issue to check the estimates.
Questions about this workflow
Does the workflow shorten the issue?
No. It counts tokens in the supplied text so you can plan a later handoff.
Can I use the estimate as an exact bill?
Use it as an input-size estimate, not a final cost. Pricing depends on the model and complete request.
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.
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.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
Comment Received Trigger
Triggered when a comment is received.
Embed Content (Gemini)
Generates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.
Issue Created Trigger
Triggered when a new issue is created.
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.
Issue Updated Trigger
Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.
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.
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).
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.
Private Team Issue Created
Fires when a new issue appears in a private Linear team (polled with the connected user's token).
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.
Private Team Issue Properties Updated
Fires when properties on an issue change in a private Linear team (polled with the connected user's token).
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.
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.