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

Notion · LLMReleased 2024-05-13

How to Use GPT-4o in Notion

GPT-4o handles code, multilingual text, and structured extraction. OpenAI currently maps this undated name to GPT-4o 2024-08-06; use a dated name to identify the revision you tested.

Prompts to try with GPT-4o in Notion

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

Every weekday, use GPT-4o to classify the customer messages supplied for that run as bug report, feature request, or how-to question. Return the message identifier, category, and supporting passage; flag unclear cases.

GPT-4oNotion
Try asking
  • Each week, use GPT-4o to translate the supplied approved product announcements into Spanish. Follow the supplied glossary and return ambiguous phrases for review.

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

  • Get a second opinion from GPT-4o on this function, then tell me what the call cost.

  • Summarize these release notes with GPT-4o in five bullet points.

How to set up GPT-4o 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 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, 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

    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",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Notion finds GPT-4o on Spiral, shows the price and runs it.

GPT-4o providers and prices

Spiral runs GPT-4o through OpenAI. Open a card for today's price, with every fee included.

OpenAIDeprecatedLLM
GPT-4o
openai/gpt-4o

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 is on its tool page: open its card above.

What can you do with GPT-4o in Notion?

GPT-4o can turn each scheduled batch of supplied text into categorized records and draft responses. Keep the instructions and examples consistent, and require evidence for extracted details.

Extract action items from meeting notes

Turn notes into records containing the task, owner, due date, and supporting passage. Mark missing owners or dates as unknown.

Review a proposed code change

Ask GPT-4o to examine a focused diff, explain likely failures, and propose tests for each finding. Give it the relevant surrounding code and expected behavior.

Draft multilingual customer replies

Provide the customer message and approved response points, then request a reply in the customer's language. Specify tone and preserve product names.

Classify incoming requests

Define categories such as bug report, feature request, and how-to question. Supply labeled examples and require a supporting passage for each classification.

Convert a brief into a structured draft

Turn an editorial brief into a draft with a specified audience, outline, and length. Use GPT-4o 2024-11-20 when its documented creative writing improvement matters to the task.

Translate product instructions

Translate approved instructions with a supplied glossary. Ask for a separate list of ambiguous phrases so a reviewer can resolve them before publication.

Turn requirements into test cases

Provide expected behavior and examples, then request normal, boundary, and failure cases. Require each proposed test to identify the requirement it checks.

Questions about GPT-4o in Notion

Can Notion use GPT-4o?

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

How much does GPT-4o cost in Notion?

Up to $0.053363 per run at the default inputs. $3.25 per 1M input tokens, $1.625 per 1M cached input tokens, $13.00 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 in Notion?

No. Spiral runs GPT-4o 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 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 runs?

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

How much can GPT-4o read and write?

GPT-4o has a 128,000-token context window and can generate up to 16,384 tokens in one response. Treat those as separate limits when planning long-document work.

Does schema-matched JSON mean the answer is correct?

No. Structured Outputs controls the response structure, but the values and conclusions can still be wrong. Check extracted details against the source.

Can GPT-4o work with languages other than English?

Yes. OpenAI reported improved non-English text performance compared with GPT-4 Turbo. For localization, specify the target language, audience, and terms that must stay unchanged.

What should a useful GPT-4o prompt include?

State the task, relevant source material, required format, and what to do when information is missing. Include a few input/output examples when the expected pattern is hard to describe.

How do the GPT-4o names differ?

OpenAI currently maps GPT-4o to GPT-4o 2024-08-06. GPT-4o 2024-08-06 introduced Structured Outputs, while GPT-4o 2024-11-20 adds a documented creative writing improvement.

Get started

Start using GPT-4o 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