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

Zapier · LLMReleased 2025-01-27

How to Use Sonar in Zapier

Sonar fits quick factual lookups and concise answers with citations. Choose Sonar for focused questions; Sonar Pro handles deeper searches and longer context.

Prompts to try with Sonar in Zapier

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

Every Monday, use Sonar to summarize official Node.js release announcements from the previous seven days. Include release dates, version numbers, and citations in no more than 300 words; say when no relevant announcement is found.

SonarZapier
Try asking
  • Every morning, use Sonar to find official Mozilla announcements published in the previous 24 hours. Summarize up to three relevant items with citations and label the period searched.

  • Every Wednesday, use Sonar to research GitHub's public changelog entries about code review from the previous seven days. Use a low temperature for consistent wording and report dates, citations, and missing details.

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

  • Get a second opinion from Sonar on this function, then tell me what the call cost.

How to set up Sonar in Zapier

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

Use the Spiral skill

  1. Send Zapier 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. Add an MCP Client connection

    In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

    https://api.spiral.ai/mcp
  2. 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; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

  3. Run a Spiral tool in a Zap

    Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: discover finds the right model for a task, estimate_cost prices it and run runs it. For example, run with:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Sonar in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Sonar, 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 Sonar

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

Then paste one of the prompts above: Zapier finds Sonar on Spiral, shows the price and runs it.

Sonar providers and prices

Spiral runs Sonar through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Perplexity: Sonar
perplexity/sonar

Settings you can ask for

Ask Zapier for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 114364

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2

Every API field of Perplexity: Sonar is on its tool page: open its card above.

What can you do with Sonar in Zapier?

Keep a recurring brief focused on current, cited evidence. Each scheduled run can research a defined period and report what it found, including gaps that need review.

Check release notes before an upgrade

Research official release notes for a specific software version. Summarize breaking changes, deprecations, and migration guidance with citations.

Prepare a prospect brief

Find a company's recent product announcements and public partnerships. Turn the evidence into a short meeting brief with dated sources.

Compare documented product features

Compare named products against a short feature checklist. Cite the documentation for each finding and mark anything the sources do not establish.

Build a weekly news digest

Summarize recent reporting on a tightly defined topic. Include publication dates and distinguish reported events from commentary.

Check claims before publication

Research a short list of factual claims for an article or presentation. Return supporting evidence, conflicting sources, and claims that remain unverified.

Find documentation for a technical question

Look up how a named library or platform documents a specific behavior. Include the applicable version and a citation for the answer.

Track competitor announcements

Review public announcements from a small set of competitors over a stated period. Summarize releases and partnerships without filling gaps with assumptions.

Create a sourced topic primer

Explain an unfamiliar technical or business topic for a defined audience. Pair the main concepts with sources readers can inspect next.

Questions about Sonar in Zapier

Can Zapier use Sonar?

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run Sonar like any built-in tool.

How much does Sonar cost in Zapier?

Up to $0.011871 per run at the default inputs. $1.30 per 1M input tokens, $1.30 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

Do I need an OpenRouter account to use Sonar in Zapier?

No. Spiral runs Sonar on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Sonar in Zapier?

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

Does Zapier wait while Sonar runs?

Sonar runs in the background. Zapier starts the run, checks on it and gives you the text, json when it's ready.

What is Sonar best used for?

Use Sonar for focused factual questions and research summaries with citations. Useful tasks include checking a product announcement, finding documentation, and summarizing recent reporting.

When should I choose Sonar Pro?

Choose Sonar Pro when a question involves several research steps or longer follow-ups. Sonar is designed for quicker, more focused question answering.

Does a larger context window mean a longer answer?

Context size and answer length are different limits, and your prompt consumes part of the context. Sonar Pro has a 200,000-token context window but an 8,000-token completion limit.

Can I trust an answer because it has citations?

Citations give you evidence to inspect, but the answer can still contain errors. Open the supporting source and check that it backs the exact claim, date, and product version.

How should I phrase a research question?

Name the exact subject, time period, and comparison criteria. Ask for a defined result, such as a five-row table, and tell it to identify missing evidence.

Get started

Start using Sonar in Zapier

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

Paste this into Zapier:

Set up Zapier

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