n8n Rank Tracking: Workflows With the TrackSERPs Node
For n8n rank tracking, install the community node @trackserps/n8n-nodes-trackserps on a self-hosted n8n. It has six resources (projects, keywords, rankings, runs, lookups, usage) and a webhook trigger. n8n Cloud only installs verified community nodes and this one is not verified, so Cloud users call the same REST endpoints with the HTTP Request node instead.
Key facts
- Unverified community nodes are not available on n8n Cloud; installing from npm requires a self-hosted n8n instance.Source: docs.n8n.io
- Only users with the Owner or Admin role can install and manage community nodes from npm in a self-hosted n8n.Source: docs.n8n.io
- n8n counts one execution per complete workflow run, whatever the number of steps or the amount of data processed.Source: n8n.io
- A webhook node's production URL is registered when the workflow is published; the test URL only while you listen for a test event.Source: docs.n8n.io
- n8n's Crypto node has an Hmac action that supports SHA256 with HEX or BASE64 output.Source: docs.n8n.io
Which n8n route fits your setup
Pick the route from where your n8n runs, because that decides whether you can install the node at all.
| Your n8n | Rankings and actions | Events pushed to a workflow | Notes |
|---|---|---|---|
| Self-hosted, public HTTPS URL | TrackSERPs node | TrackSERPs Trigger node | The full package. Best fit. |
| Self-hosted, only on a LAN or localhost | TrackSERPs node | Polling only | TrackSERPs refuses to deliver webhooks to private or loopback addresses. |
| n8n Cloud | HTTP Request node | Built-in Webhook node | Unverified community nodes are not available on Cloud. |
Our position: use the community node where n8n lets you, and treat the HTTP Request node as a first-class fallback rather than a lesser one. Both call the same public REST API at https://api.trackserps.com/v1, so a workflow built either way can move to the other.
The package is @trackserps/n8n-nodes-trackserps, MIT licensed, published on npm. Version 1.1.0 is the latest at the time of writing. It contains two nodes and one credential type.
What the node does, and what it does not
The regular TrackSERPs node is organised as resource and operation. Everything it does maps to one endpoint in the TrackSERPs REST API.
| Resource | Operations | Endpoint it calls |
|---|---|---|
| Project | Create, Get, Get Many | POST /projects, GET /projects/{id}, GET /projects |
| Keyword | Add, Delete, Get Many | POST and GET /projects/{id}/keywords, DELETE .../keywords/{keyword_id} |
| Ranking | Get Latest, Get History | GET /projects/{id}/rankings/latest and /history |
| Run | Start, Get, Get Latest | POST /projects/{id}/runs, GET .../runs/{run_id}, GET .../runs/latest |
| Lookup | Create, Get, Get Many | POST /lookups, GET /lookups/{id}, GET /lookups |
| Usage | Get | GET /account/usage |
A few details that are easy to miss:
- Run > Start has a Dry Run switch that returns the credits a run would hold without starting it, a Keyword IDs field for targeted checks, and a Fresh switch that skips today's shared cache.
- Keyword > Add is an upsert. Phrases go in one per line or comma-separated, and the response includes
estimated_monthly_creditsbefore and after. - Lookup > Create checks where a domain ranks for a phrase without adding a keyword to a project. Each item costs one credit.
- Credential test: the credential calls
GET /accountwhen you press test.
What it does not do:
- Pagination on Get Many only. Keyword, Project and Lookup > Get Many have a Limit field and a Return All toggle that follows the API's
next_cursorand emits one item per record. Ranking operations have no pagination fields; for large projects use the HTTP Request node. - No item splitting. Ranking > Get Latest returns one item containing a
rankingsarray. Add a Split Out node to get one item per keyword. - No coverage of SERP snapshots, competitors, share of voice, search volume or share links. Those endpoints exist in the API. Reach them with the HTTP Request node.
The Trigger node is separate. When a workflow is activated it calls GET /webhooks to see whether an endpoint with the same URL exists, creates one with POST /webhooks if not, and calls DELETE /webhooks/{id} when the workflow is deactivated. You choose among seven events: rankings.updated, run.completed, run.failed, lookup.completed, alert.triggered, credits.low and credits.exhausted.
Install the community node on self-hosted n8n
Sign in as Owner or Admin
n8n only lets users with the Owner or Admin role install and manage community nodes from npm.
Open Community Nodes
Go to Settings, then Community Nodes, and select Install.
Enter the package name
Type
@trackserps/n8n-nodes-trackserps. You can append a version or dist-tag such as@1.1.0to pin it.Accept the risk notice and install
Tick the checkbox confirming you understand you are installing unverified code from a public source, then select Install.
Create the credential
Add a new TrackSERPs API credential. Paste an API key starting
ts_live_, leave Base URL athttps://api.trackserps.com/v1, and save. n8n runs the credential test againstGET /account.
Create the key under Settings, API, Keys in TrackSERPs and give it only the scopes the workflow needs. Reads need rankings:read. Adding keywords needs keywords:write, starting runs and lookups needs runs:write, and the Trigger node needs webhooks:write because it lists, creates and deletes endpoints. Restrict the key to specific projects if the workflow touches one client.
Manual install for Docker and queue mode
If your instance runs in queue mode, or the GUI install is unavailable, n8n's docs say to install from the command line instead. Open a shell in the container, go to ~/.n8n/nodes (create it if missing), run npm i @trackserps/n8n-nodes-trackserps, and restart n8n. The same page describes npm update for upgrades and npm uninstall for removal, and gives the rollback pattern of installing an earlier version explicitly.
Community-node housekeeping
- Pin the version in production. n8n warns that an update can break every workflow using a community node, so upgrade on a copy first.
- On a self-hosted instance an admin can switch community nodes off entirely by setting the
N8N_COMMUNITY_PACKAGES_ENABLEDvariable tofalse. - n8n's risk page says community nodes can access the host and the data in your workflows. The package source is MIT licensed and small (two node files and a request builder), so reading it before you install is realistic.
n8n Cloud
n8n Cloud shows only verified community nodes in its nodes panel, and its docs say unverified nodes are unavailable there. This package is not on n8n's verified list. Do not wait for it: the HTTP Request node does everything the regular node does. Create a credential with the API key set to Bearer ts_live_... in an Authorization header (n8n's Header Auth credential works), then call the endpoints in the table above. For events, add n8n's own Webhook node and register its production URL with POST /v1/webhooks or under Settings, API, Webhooks.
How checks and credits behave inside a workflow
Design around the queue, not against it.
- A new check goes through a standard collection queue and normally takes 10 to 20 minutes. Run > Start returns immediately with status
queued. - If today's results for the same phrase, location, language and device were already fetched, the check completes at once and still costs one credit. Fresh skips that cache.
- Credits are one per phrase per device. Reading rankings costs none, though reads count against your plan's per-minute rate limit and monthly call allowance.
- A manual run is limited to one per project every 10 minutes, and ten run requests per key per hour. A second call too soon returns
429 run_too_soon.
So never build a "start run, wait node, read rankings" chain. Either let the project's own schedule run the checks and read the results afterwards, or subscribe a Trigger node to run.completed and continue from there. Run > Start with Dry Run on is a cheap way to show the credit cost to a human before a bulk change.
Workflow 1: rank drops to Slack
Goal: a Slack message when a keyword loses three or more positions or falls out of the top 100, sent after each check finishes.
TrackSERPs Trigger
Events:
rankings.updated. Leave Unroll Ranking Changes on. Each changed keyword becomes its own n8n item withphrase,device,previous_rank,rank,rank_change,project_id,run_idandevent_id.Filter
One condition, as a boolean expression:
{{ $json.previous_rank !== null && ($json.rank === null || $json.rank - $json.previous_rank >= 3) }}equals true. A nullrankmeans the page is no longer in the top 100.Aggregate
Choose All Item Data and put the output in a field called
drops, so one run produces one message instead of one per keyword.Slack
Message > Send to your alerts channel. Build the text from
$json.drops, for example one line per item usingphrase,device,previous_rankandrank ?? 'out of top 100'.
Two things about the data. First, rank_change is previous_rank - rank, so a positive number is an improvement and a drop is negative. It is null when either rank is null, which is why the filter tests rank === null separately. Second, unrolled items carry the project's ID but not its name or domain, and they drop the AI Overview detail. If you need those, call Project > Get with {{ $json.project_id }} before the Slack step.
The payload holds at most the first 500 changes, with changes_total giving the full count. In the unrolled output that field is not passed on, so a very large run, such as a site-wide shift across thousands of keywords, can be truncated.
Test it without waiting for a real run. In TrackSERPs, Settings, API, Webhooks has a test button, and the API has POST /v1/webhooks/{id}/test. The delivery is a ping event, not rankings.updated, so it arrives as a full envelope and the unrolled fields will be empty. Use it to prove the URL is reachable, not to test the filter.
If you want TrackSERPs to do the thresholding, subscribe the trigger to alert.triggered instead. That payload is not unrolled by the node, so add a Split Out node on data.matches to get one item per matching keyword, each with previous_rank, rank, previous_url and url.
Workflow 2: weekly ranking export to Google Sheets
Goal: every Monday, append all current rankings for one project to a sheet with the date, so you build a history that you own.
The regular node would be the obvious choice and is the wrong one here, because of the missing pagination. Use the HTTP Request node.
Schedule Trigger
Interval: weeks, Monday, 12:00. n8n uses the workflow's timezone if set, otherwise the instance timezone, which defaults to America/New_York on self-hosted. Set it explicitly. The workflow must be published for the schedule to run. Pick an hour after your project's own check hour so the data is fresh; the project default is 06:00 local.
HTTP Request
Method GET, URL
https://api.trackserps.com/v1/projects/cmwc0f1yp0005rqk7w1plnab1/rankings/latest, query parameterlimitset to500, and your Bearer credential. Under Options, turn on Pagination, choose Update a Parameter in Each Request, name the parametercursorin the query, and set its value to the expression{{ $response.body.next_cursor }}. Set the stop condition so it ends whennext_cursoris empty.Split Out
Field to split out:
rankings. Each page becomes one item per keyword and device row.Google Sheets
Operation: Append Row on the sheet. Map
dateto{{ $now.toFormat('yyyy-MM-dd') }}, thenkeyword_id,phrase,device,rank,rank_absolute,ranking_url,change_7d,change_30d, andserp_featuresas{{ $json.serp_features.join(', ') }}.
Worked numbers for a plumbing client, acmeplumbing.com: 300 keywords tracked on desktop and mobile gives 600 rows. At 500 per page that is two requests, one n8n execution, and 600 appended rows per week. Reading is free in credits, so the only costs are your plan's call allowance (two calls here) and the sheet itself.
rank is null for a keyword outside the top 100, and date can be null for a keyword that has never been checked. Leave those cells empty rather than writing zero, or your charts will show a page-one position that does not exist.
If you would rather skip n8n for this job, a short script in the sheet does the same thing; see Google Sheets rank tracking. There is no Sheets add-on yet.
Workflow 3: a run finishes, so n8n builds a digest
Goal: when any check completes, send a short summary of the biggest weekly movers to the team, without polling.
TrackSERPs Trigger
Events:
run.completedonly. The item is the full envelope:id,type,created_at,account_idanddatawithproject_id,engine,run_id,statusandkeywords_checked.IF
Continue when
{{ $json.data.status }}iscompleted. Apartialstatus means some keywords did not return, and you may prefer to send a different message for it.HTTP Request
GET
/v1/projects/{{ $json.data.project_id }}/rankings/latestwithlimit=500. Split Outrankings.Filter, then Aggregate
Keep rows where
change_7dis at least 3 or at most -3, then aggregate into one list.Gmail, Slack or Notion
Send the list. Include
keywords_checkedfrom the trigger item so the reader knows the run size.
Keep one Trigger node per workflow and one event per node. If you subscribe a single node to several events with Unroll on, rankings events arrive with event_type and the others arrive as raw envelopes with type, and you spend the workflow on branching between two shapes. Separate workflows are clearer, but each active Trigger node holds one of your plan's webhook endpoints. Growth allows two, Pro five and Agency twenty, so on Growth you would run this workflow and the Slack one, and nothing else.
Add run.failed and credits.low as small companion workflows. credits.low fires when the balance drops below 20% of the monthly allowance and is worth a message to whoever pays for the plan.
Keeping webhooks safe: what n8n does and does not check
TrackSERPs signs every delivery with a TrackSERPs-Signature header of the form t=<unix seconds>,v1=<hex>, where the hex value is HMAC-SHA256 of t + "." + rawBody using the endpoint secret. Receivers should reject timestamps more than five minutes old. Webhooks has the full algorithm and the secret rotation rules.
The Trigger node does this for you. When it creates the endpoint it keeps the secret that POST /v1/webhooks returns in the workflow's static data, and it checks the signature on every incoming request: any v1 value in the header may match (so secret rotation works), the timestamp must be within five minutes, and the comparison is constant-time. A request that fails the check, or arrives before a secret is stored, gets a 401 and does not start the workflow. If the node finds an existing endpoint for its URL but has no stored secret, it rotates the secret once to get a fresh one.
Because the check hashes the raw request body, keep n8n's default body handling on the Trigger node. If you use n8n's generic Webhook node instead, verify the signature yourself:
- Turn the Raw Body option on and register the node's production URL with
POST /v1/webhooks. - Compute the HMAC over
t.rawBody. n8n's Crypto node has an Hmac action for SHA256 with HEX output, and the secret comes from a Crypto credential. A Code node can do it too. On self-hosted instances, built-in modules such ascryptomust first be allowed withNODE_FUNCTION_ALLOW_BUILTIN=crypto; on n8n Cloud, n8n's docs say thecryptomodule is already available in the Code node. - Stop the workflow with an IF node when the values differ or the timestamp is stale.
I have not run that manual chain end to end inside n8n, so confirm byte-for-byte equality with a signed test delivery before trusting it. If your signatures never match, the cause is almost always a body that was parsed and re-serialised before hashing.
Delivery behaviour to plan around: TrackSERPs waits 10 seconds for a 2xx reply, makes up to eight delivery attempts in total over about 44 hours, and disables an endpoint after 20 consecutive failures. The Trigger node replies as soon as the request is received, so a long workflow does not cause retries. Each event has a stable id, which the unrolled items expose as event_id. Store it if a duplicate would hurt.
Reaching your n8n from TrackSERPs
TrackSERPs only delivers to HTTPS URLs on public addresses and refuses loopback, link-local and private ranges. A laptop n8n on localhost:5678 cannot be a webhook target without a tunnel, and a tunnel makes the URL public, so weigh that.
Behind a reverse proxy, n8n builds webhook URLs from its host and port settings unless told otherwise. n8n's docs say to set N8N_WEBHOOK_URL (from version 2.30.0; WEBHOOK_URL on older versions) to the public address, plus N8N_PROXY_HOPS=1 with forwarded headers. Without it the editor shows an internal URL and the Trigger node registers something TrackSERPs cannot reach.
Test and production URLs differ in n8n. The production URL is registered when you publish the workflow; the test URL exists while you listen for a test event. Check Settings, API, Webhooks in TrackSERPs after publishing to confirm one endpoint exists and is enabled, and delete orphans from workflows you removed.
What it costs to run
TrackSERPs credits are the same as everywhere: one per phrase per device checked. Reads, webhooks and the n8n workflows themselves spend none.
On the n8n side, n8n defines an execution as one run of the entire workflow, and says step count and data volume do not change it. That favours this design: a rankings.updated delivery with 80 changed keywords is one execution, not 80. n8n's pricing page lists Cloud Starter at 2.5K executions and Pro at 10K, billed annually, and Community Edition is available to self-host from GitHub. Prices change, so check the page. The three workflows above add up to roughly one execution per completed run, one per week for the export, and a handful a month for credit alerts.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Install fails or the option is missing | Not Owner or Admin, or n8n Cloud | Use an admin account on self-hosted; on Cloud use the HTTP Request node |
| Credential test fails with 401 | Wrong, revoked or mistyped key | Create a new key and check for trailing spaces |
403 plan_required when activating the Trigger | Plan has no webhook endpoints (Starter) | Move to a plan with webhooks, or poll with the schedule route |
422 on activation, plan limit reached | Endpoint allowance used up | Delete stale endpoints in Settings, API, Webhooks |
| Trigger activates but nothing arrives | n8n URL not public, or a ts_test_ key | Fix N8N_WEBHOOK_URL; use a live key |
| Only 50 rankings returned | Node has no pagination | Switch to HTTP Request with limit=500 and cursor pagination |
429 run_too_soon | Second manual run inside 10 minutes | Let the schedule run, or wait |
402 insufficient_credits | Balance cannot cover the held credits | Check Usage > Get, top up or reduce the keyword list |
| Messages stop after several days | Endpoint auto-disabled after repeated failures | Fix the receiver, re-enable the endpoint in settings |
When n8n is the wrong tool
- You only want a Slack or email message on rank movement: use the built-in alert rules and skip the maintenance.
- You want a branded client report: use the built-in white-label PDF reports, not a hand-built email.
- You need an agent to decide what to do with rankings: the MCP server lets Claude or another client read and act on the data directly.
- You need verified signatures but do not want to build the Webhook, Crypto and IF chain: write a small receiver instead, using the signature helper in the TrackSERPs SDK.
For other automation tools, see Make and Zapier webhooks. Start with a read-only key and add write scopes only when a workflow needs them.
Frequently asked questions
How do I install the TrackSERPs node in n8n?
Can I use the TrackSERPs node on n8n Cloud?
What operations does the node support?
Does the node paginate results?
Do I need a paid plan to use webhooks from n8n?
Does the Trigger node verify the TrackSERPs-Signature header?
Can I develop workflows with a ts_test_ key?
How quickly does a workflow see fresh rankings?
Sources & references
- n8n Docs: Install and manage community nodes(checked 2026-11-11)
- n8n Docs: Install community nodes from the GUI(checked 2026-11-11)
- n8n Docs: Manual installation of community nodes(checked 2026-11-11)
- n8n Docs: Risks of using community nodes(checked 2026-11-11)
- n8n Docs: Webhook node(checked 2026-11-11)
- n8n Docs: Crypto node(checked 2026-11-11)
- n8n Docs: Code node(checked 2026-11-11)
- n8n Docs: Enable modules in Code node(checked 2026-11-11)
- n8n Docs: HTTP Request node(checked 2026-11-11)
- n8n Docs: Schedule Trigger node(checked 2026-11-11)
- n8n Docs: Set a custom webhook URL behind a reverse proxy(checked 2026-11-11)
- n8n Pricing(checked 2026-11-11)