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

Notion · LLMReleased 2024-07-18

How to Use GPT-4o mini (2024-07-18) in Notion

GPT-4o mini (2024-07-18) fixes the model version for extraction, reply drafting, and coding tasks. It has the same capabilities and limits as the snapshot currently selected by GPT-4o mini.

Prompts to try with GPT-4o mini (2024-07-18) in Notion

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

After each meeting, use GPT-4o mini (2024-07-18) to extract tasks, named owners, and explicit due dates from the supplied transcript. Include a supporting quotation for each task and mark missing details.

GPT-4o mini (2024-07-18)Notion
Try asking
  • Each evening, use GPT-4o mini (2024-07-18) to extract merchant, date, total, and currency from newly supplied receipt text. Keep one record per receipt and flag conflicting or missing values.

  • Every Monday at 9am: ask GPT-4o mini (2024-07-18) through Spiral to review the diff on this branch and list the three riskiest changes.

  • Get a second opinion from GPT-4o mini (2024-07-18) on this function, then tell me what the call cost.

  • Summarize these release notes with GPT-4o mini (2024-07-18) in five bullet points.

How to set up GPT-4o mini (2024-07-18) 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 GPT-4o mini (2024-07-18) in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GPT-4o mini (2024-07-18), 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 GPT-4o mini (2024-07-18)

    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": "openai",
        "model": "openai/gpt-4o-mini-2024-07-18",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Notion finds GPT-4o mini (2024-07-18) on Spiral, shows the price and runs it.

GPT-4o mini (2024-07-18) providers and prices

Spiral runs GPT-4o mini (2024-07-18) through OpenAI. Open a card for today's price, with every fee included.

OpenAIDeprecatedLLM
GPT-4o-mini (2024-07-18)
openai/gpt-4o-mini-2024-07-18

Settings you can ask for

Ask Notion for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Logprobson or off
Max tokensa whole number from 16

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Parallel tool callson or off

Every API field of GPT-4o-mini (2024-07-18) is on its tool page: open its card above.

What can you do with GPT-4o mini (2024-07-18) in Notion?

Turn incoming messages and meeting updates into recurring triage reports with GPT-4o mini. Reuse defined labels and a fixed report layout so results are easier to compare across runs.

Extract receipt details from text

Give GPT-4o mini receipt text and request merchant, date, total, and currency in a defined record. Require missing values to remain empty.

Label support requests

Ask GPT-4o mini to assign a defined intent label to each message. Supply examples for ambiguous requests and require a supporting phrase.

Draft email replies

Provide the conversation history and ask GPT-4o mini for a concise reply that addresses open questions without inventing commitments.

Extract meeting follow-ups

Turn meeting notes into tasks, owners, and stated due dates with GPT-4o mini. Keep tentative suggestions separate from confirmed assignments.

Draft tests for a function

Give GPT-4o mini a function and its expected behavior. Request tests for ordinary inputs, boundary conditions, and invalid inputs, then run them.

Explain a small code change

Ask GPT-4o mini to explain a focused diff, identify changed behavior, and point to the relevant lines for review.

Translate customer messages

Ask GPT-4o mini to translate a message into the requested language while preserving product names, identifiers, and stated dates.

Prepare records for validation

Have GPT-4o mini extract named attributes from incoming text into a supplied schema. Validate the structure and compare important values with the source.

Questions about GPT-4o mini (2024-07-18) in Notion

Can Notion use GPT-4o mini (2024-07-18)?

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run GPT-4o mini (2024-07-18) like any built-in tool.

How much does GPT-4o mini (2024-07-18) cost in Notion?

Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.0975 per 1M cached input tokens, $0.78 per 1M 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 an OpenAI account to use GPT-4o mini (2024-07-18) in Notion?

No. Spiral runs GPT-4o mini (2024-07-18) on its own OpenAI account. You sign in to Spiral once and never paste a key.

How long does it take to set up GPT-4o mini (2024-07-18) 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 GPT-4o mini (2024-07-18) runs?

GPT-4o mini (2024-07-18) runs in the background. Notion starts the run, checks on it and gives you the text, json when it's ready.

What is GPT-4o mini useful for?

Start with extraction, short email replies grounded in conversation history, and small coding tasks. Give each request a clear scope and a checkable result.

How much text can GPT-4o mini handle?

The context window is 128,000 tokens, and a response can contain up to 16,384 tokens. Tokens are the units behind these limits, so avoid treating them as word counts.

How does GPT-4o mini differ from GPT-4o mini (2024-07-18)?

GPT-4o mini currently selects the July 18, 2024 snapshot. The dated name explicitly selects that version; it does not add capabilities.

Does valid JSON mean GPT-4o mini extracted the right information?

No. Structured Outputs can enforce a supported schema, but the values can still be wrong. Check names, dates, amounts, and supporting text against the original.

Can GPT-4o mini work in languages besides English?

Yes. OpenAI says it supports the same range of languages as GPT-4o. State the target language and identify any names or terms that should stay unchanged.

Get started

Start using GPT-4o mini (2024-07-18) 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