How to Use Sonar Pro Search in n8n
Sonar Pro Search researches questions that need several web searches and page reading. Unlike Sonar Pro's standard search, it plans and executes a research workflow with multiple steps.
Prompts to try with Sonar Pro Search in n8n
Copy an example into n8n, or ask in your own words.
At each weekly run, use Sonar Pro Search to research official PostgreSQL announcements published during the previous seven days. Return at most five findings with dates and citations, separating releases from support notices; say when no relevant announcement is found.
Every Monday, use Sonar Pro Search to research Mozilla product announcements from the previous seven days. Write a digest under 400 words with announcement dates, citations, and a separate section for availability details that remain unclear.
At each daily run, use Sonar Pro Search to investigate public deprecation and end-of-support announcements for Node.js from the previous 24 hours. Report only findings supported by official sources and state when the searches found no relevant results.
At each monthly run, use Sonar Pro Search to research new public studies about four-day workweeks published during the previous calendar month. Summarize up to five studies with dates, citations, methods, and limitations; do not substitute older studies.
Every Friday, use Sonar Pro Search to research official product announcements from GitHub, GitLab, and Bitbucket during the previous seven days. Return a comparison table of up to six announcements with dates, documented availability, and citations.
How to set up Sonar Pro Search in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- 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
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Sonar Pro Search in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Sonar Pro Search, prices it and runs it each time the step fires.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Sonar Pro Search
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-pro-search", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: n8n finds Sonar Pro Search on Spiral, shows the price and runs it.
Sonar Pro Search providers and prices
Spiral runs Sonar Pro Search through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.103409 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 8000 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Perplexity: Sonar Pro Search is on its tool page: open its card above.
What can you do with Sonar Pro Search in n8n?
Sonar Pro Search can produce recurring research briefs about public announcements and documentation changes. Give the scheduled agent a fixed subject, a date range relative to each run, and a rule for reporting insufficient evidence.
Plan a dependency upgrade
Use Sonar Pro Search to compare official migration guides and release notes for an upgrade. Request breaking changes, affected versions, and supporting citations in a short checklist.
Compare technical approaches
Ask Sonar Pro Search to investigate several approaches to one engineering problem. Compare documented constraints, compatibility, and operational tradeoffs against explicit requirements.
Check claims before publishing
Give Sonar Pro Search a short list of factual claims to investigate. Request supporting sources, conflicting evidence, and a separate list of claims it could not verify.
Track product announcements
Use Sonar Pro Search to research recent announcements for named products. Ask for announcement dates, documented availability, and citations, with rumors kept out of the confirmed list.
Prepare a company briefing
Research a company's publicly documented products, partnerships, and recent announcements with Sonar Pro Search. Turn the findings into a one-page briefing that separates company statements from outside reporting.
Build an evidence table
Ask Sonar Pro Search to investigate a narrow research question across several sources. Organize findings by claim, supporting evidence, publication date, and unresolved disagreement.
Prepare an interview
Use Sonar Pro Search to research an organization's recent public statements and announcements. Request interview questions tied to specific sources, including follow-ups where statements appear inconsistent.
Monitor software maintenance changes
Research official support notices, deprecations, and release notes for a named software stack with Sonar Pro Search. Request a dated digest of findings and questions that need an engineer's review.
More on Sonar Pro Search and n8n
Overview
Sonar Pro Search in other agents
Questions about Sonar Pro Search in n8n
Can n8n use Sonar Pro Search?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Sonar Pro Search like any built-in tool.
How much does Sonar Pro Search cost in n8n?
Up to $0.103409 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an OpenRouter account to use Sonar Pro Search in n8n?
You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs Sonar Pro Search on its own OpenRouter account.
How long does it take to set up Sonar Pro Search in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Sonar Pro Search runs?
Sonar Pro Search runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.
How does Sonar Pro Search differ from Sonar Pro?
Sonar Pro Search plans and executes research across multiple steps. It can follow an initial search with more searches and page reading before synthesizing an answer.
Can Sonar Pro Search read pages as well as search the web?
Yes. Pro Search can automatically fetch page content and run additional searches while working through a question.
How long can a Sonar Pro Search answer be?
Sonar Pro Search supports up to 8,000 completion tokens and a 200,000-token context window. For a large research task, request a focused brief and handle additional questions separately.
What should I put in a Sonar Pro Search prompt?
Name the exact subject and the decision you need to make. Include relevant versions, dates, locations, and comparison criteria, then specify a manageable deliverable such as a five-row table.
Can I trust an answer just because it has citations?
Use citations to check the supporting pages before relying on a claim. Perplexity warns that inaccessible information can lead to unsupported answers, so ask Sonar Pro Search to flag missing evidence explicitly.
Start using Sonar Pro Search in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


