Spiral gives your agent every tool with one account. Browse the tools →

Notion · Data

How to Use Gemini content classification in Notion

Gemini evaluates supplied text, images, audio, video, or PDFs and returns yes/no probabilities, category decisions, or rubric scores. Use it to classify content or grade evidence against explicit rules.

Prompts to try with Gemini content classification in Notion

Copy an example into Notion, or ask in your own words.

Each morning, retrieve new NASA Perseverance announcements and use Gemini content classification on each announcement to choose science finding, rover operations, mission planning, or other. Include the candidate probabilities in the digest.

Gemini content classificationNotion
Try asking
  • Daily, retrieve new pandas-dev/pandas issues and use Gemini content classification on each report to choose documentation, installation, runtime error, or other. Put decisions below 80 percent confidence in a review queue.

  • Weekly, retrieve Apple's newly published annual report if one is available and use Gemini content classification to score its risk factors for supply chain relevance from 0 for unrelated to 3 for directly relevant.

  • Weekly, retrieve Stripe's webhook documentation and use Gemini content classification to estimate whether it supports guaranteed event delivery order. Report the probability of yes beside the previous evaluation.

  • Monthly, retrieve Python's Errors and Exceptions tutorial and use Gemini content classification to score recovery examples from 0 for absent to 3 for demonstrated with runnable code. Compare the returned rubric scores over time.

How to set up Gemini content classification in Notion

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Notion this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Allow custom MCP servers

    A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

  2. Add Spiral to a custom agent

    Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

  4. Run Gemini content classification in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Gemini content classification, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Gemini content classification

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "gemini",
        "model": "gemini-decision-1",
        "input": {
          "input": "<input>",
          "questions": {}
        }
      }'

Then paste one of the prompts above: Notion finds Gemini content classification on Spiral, shows the price and runs it.

Gemini content classification providers and prices

Spiral runs Gemini content classification through Gemini. Open a card for today's price, with every fee included.

GeminiData
Gemini Decision 1
gemini-decision-1

What can you do with Gemini content classification in Notion?

Produce a daily queue of public announcements and issue reports classified against fixed editorial rules. Evaluate each newly retrieved item with Gemini and use returned probabilities to decide what enters the review queue.

Route public bug reports

Classify supplied issue text into documentation, installation, runtime error, or other, then use candidate probabilities to prioritize review.

Sort research announcements

Assign supplied NASA announcements to mission updates, research findings, launch operations, or other for an editorial queue.

Grade documentation coverage

Score a supplied technical guide against defined levels for prerequisites, examples, error handling, and troubleshooting.

Label public product photos

Evaluate supplied catalog images for visible packaging, product views, and background characteristics using separate yes/no questions.

Check claims against supplied evidence

Pair a draft product claim with its technical documentation and estimate whether the supplied evidence supports the claim.

Triage public company disclosures

Classify supplied filing excerpts by operational, regulatory, cybersecurity, or supply chain risk and score relevance to a defined research brief.

Questions about Gemini content classification in Notion

Can Notion use Gemini content classification?

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Gemini content classification like any built-in tool.

How much does Gemini content classification cost in Notion?

Input $0.13 per 1M tokens; no output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

Do I need a Gemini account to use Gemini content classification in Notion?

No. Spiral runs Gemini content classification on its own Gemini account. You sign in to Spiral once and never paste a key.

How long does it take to set up Gemini content classification in Notion?

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

Does Notion wait while Gemini content classification runs?

Gemini content classification runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

Where does the content being evaluated come from?

You supply the content Gemini evaluates. Google documents support for text, images, audio, video, and PDFs in one shared input.

How much content can Gemini evaluate in one request?

Google documents a context limit of 256K tokens and up to 1,000 independent questions against the shared input.

Does a yes/no result include uncertainty?

Gemini returns an estimated probability of yes between 0.01 and 0.99, plus confidence. The API leaves the decision cutoff to your application.

Is a rubric score always a whole number?

The returned score is a probability-weighted average, so it can fall between rubric levels. The response also includes the legend, probabilities, and confidence.

Can a request return no classifications?

Yes. Google's reference states that blocked input returns no answers.

Get started

Start using Gemini content classification in Notion

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Notion:

Set up Notion

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options