TrackSERPs
Log in

n8n Rank Tracking: Workflows With the TrackSERPs Node

Quick answer

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 n8nRankings and actionsEvents pushed to a workflowNotes
Self-hosted, public HTTPS URLTrackSERPs nodeTrackSERPs Trigger nodeThe full package. Best fit.
Self-hosted, only on a LAN or localhostTrackSERPs nodePolling onlyTrackSERPs refuses to deliver webhooks to private or loopback addresses.
n8n CloudHTTP Request nodeBuilt-in Webhook nodeUnverified 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.

ResourceOperationsEndpoint it calls
ProjectCreate, Get, Get ManyPOST /projects, GET /projects/{id}, GET /projects
KeywordAdd, Delete, Get ManyPOST and GET /projects/{id}/keywords, DELETE .../keywords/{keyword_id}
RankingGet Latest, Get HistoryGET /projects/{id}/rankings/latest and /history
RunStart, Get, Get LatestPOST /projects/{id}/runs, GET .../runs/{run_id}, GET .../runs/latest
LookupCreate, Get, Get ManyPOST /lookups, GET /lookups/{id}, GET /lookups
UsageGetGET /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_credits before 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 /account when 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_cursor and 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 rankings array. 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

  1. Sign in as Owner or Admin

    n8n only lets users with the Owner or Admin role install and manage community nodes from npm.

  2. Open Community Nodes

    Go to Settings, then Community Nodes, and select Install.

  3. Enter the package name

    Type @trackserps/n8n-nodes-trackserps. You can append a version or dist-tag such as @1.1.0 to pin it.

  4. Accept the risk notice and install

    Tick the checkbox confirming you understand you are installing unverified code from a public source, then select Install.

  5. Create the credential

    Add a new TrackSERPs API credential. Paste an API key starting ts_live_, leave Base URL at https://api.trackserps.com/v1, and save. n8n runs the credential test against GET /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_ENABLED variable to false.
  • 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.

  1. TrackSERPs Trigger

    Events: rankings.updated. Leave Unroll Ranking Changes on. Each changed keyword becomes its own n8n item with phrase, device, previous_rank, rank, rank_change, project_id, run_id and event_id.

  2. Filter

    One condition, as a boolean expression: {{ $json.previous_rank !== null && ($json.rank === null || $json.rank - $json.previous_rank >= 3) }} equals true. A null rank means the page is no longer in the top 100.

  3. 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.

  4. Slack

    Message > Send to your alerts channel. Build the text from $json.drops, for example one line per item using phrase, device, previous_rank and rank ?? '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.

  1. 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.

  2. HTTP Request

    Method GET, URL https://api.trackserps.com/v1/projects/cmwc0f1yp0005rqk7w1plnab1/rankings/latest, query parameter limit set to 500, and your Bearer credential. Under Options, turn on Pagination, choose Update a Parameter in Each Request, name the parameter cursor in the query, and set its value to the expression {{ $response.body.next_cursor }}. Set the stop condition so it ends when next_cursor is empty.

  3. Split Out

    Field to split out: rankings. Each page becomes one item per keyword and device row.

  4. Google Sheets

    Operation: Append Row on the sheet. Map date to {{ $now.toFormat('yyyy-MM-dd') }}, then keyword_id, phrase, device, rank, rank_absolute, ranking_url, change_7d, change_30d, and serp_features as {{ $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.

  1. TrackSERPs Trigger

    Events: run.completed only. The item is the full envelope: id, type, created_at, account_id and data with project_id, engine, run_id, status and keywords_checked.

  2. IF

    Continue when {{ $json.data.status }} is completed. A partial status means some keywords did not return, and you may prefer to send a different message for it.

  3. HTTP Request

    GET /v1/projects/{{ $json.data.project_id }}/rankings/latest with limit=500. Split Out rankings.

  4. Filter, then Aggregate

    Keep rows where change_7d is at least 3 or at most -3, then aggregate into one list.

  5. Gmail, Slack or Notion

    Send the list. Include keywords_checked from 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:

  1. Turn the Raw Body option on and register the node's production URL with POST /v1/webhooks.
  2. 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 as crypto must first be allowed with NODE_FUNCTION_ALLOW_BUILTIN=crypto; on n8n Cloud, n8n's docs say the crypto module is already available in the Code node.
  3. 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

SymptomLikely causeFix
Install fails or the option is missingNot Owner or Admin, or n8n CloudUse an admin account on self-hosted; on Cloud use the HTTP Request node
Credential test fails with 401Wrong, revoked or mistyped keyCreate a new key and check for trailing spaces
403 plan_required when activating the TriggerPlan has no webhook endpoints (Starter)Move to a plan with webhooks, or poll with the schedule route
422 on activation, plan limit reachedEndpoint allowance used upDelete stale endpoints in Settings, API, Webhooks
Trigger activates but nothing arrivesn8n URL not public, or a ts_test_ keyFix N8N_WEBHOOK_URL; use a live key
Only 50 rankings returnedNode has no paginationSwitch to HTTP Request with limit=500 and cursor pagination
429 run_too_soonSecond manual run inside 10 minutesLet the schedule run, or wait
402 insufficient_creditsBalance cannot cover the held creditsCheck Usage > Get, top up or reduce the keyword list
Messages stop after several daysEndpoint auto-disabled after repeated failuresFix 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?
On a self-hosted n8n, sign in as an Owner or Admin, open Settings, then Community Nodes, choose Install, and enter @trackserps/n8n-nodes-trackserps. Tick the box that acknowledges the risks of unverified code and select Install. Queue-mode instances should use the manual npm route inside the ~/.n8n/nodes directory instead, then restart n8n.
Can I use the TrackSERPs node on n8n Cloud?
Not today. n8n's docs say unverified community nodes are not available on n8n Cloud, and this node has not been through n8n's verification. On Cloud, use the HTTP Request node with a Bearer credential against https://api.trackserps.com/v1, and the built-in Webhook node if you want TrackSERPs to push events to a workflow.
What operations does the node support?
Project (create, get, get many), Keyword (add, delete, get many), Ranking (get latest, get history), Run (start, get, get latest), Lookup (create, get, get many) and Usage (get). The separate TrackSERPs Trigger node subscribes to the seven webhook event types and removes its subscription when the workflow is deactivated.
Does the node paginate results?
No. The node exposes no limit or cursor field, so list operations return the API's default page of 50 records and the response includes next_cursor. For projects with more than 50 keyword and device rows, call GET /v1/projects/{id}/rankings/latest with the HTTP Request node and its pagination option, as in the weekly export workflow below.
Do I need a paid plan to use webhooks from n8n?
Webhook endpoints need a plan that includes them. The Starter plan allows none, Growth allows two, Pro five and Agency twenty, and each TrackSERPs Trigger node uses one endpoint while its workflow is active. Starter API keys are read-only, so starting runs and adding keywords also fail with a plan error.
Does the Trigger node verify the TrackSERPs-Signature header?
Yes. The node stores the signing secret returned when it creates the endpoint and checks the TrackSERPs-Signature header on every delivery (any v1 value, five minute tolerance). A delivery that fails the check gets a 401 and never starts the workflow.
Can I develop workflows with a ts_test_ key?
Partly. Test keys read a synthetic demo project and never spend credits, which is enough to build HTTP and node steps. Test-mode webhook creation returns a synthetic endpoint and a secret but saves nothing, so a Trigger node on a test key never receives a real delivery. Use a live key to test triggers.
How quickly does a workflow see fresh rankings?
A new check runs in a standard collection queue and normally takes 10 to 20 minutes, even for one keyword. Starting a run returns status queued. Do not wait inside a workflow; subscribe a trigger to run.completed or rankings.updated and let TrackSERPs call n8n when the results are in.

Sources & references

  1. n8n Docs: Install and manage community nodes(checked 2026-11-11)
  2. n8n Docs: Install community nodes from the GUI(checked 2026-11-11)
  3. n8n Docs: Manual installation of community nodes(checked 2026-11-11)
  4. n8n Docs: Risks of using community nodes(checked 2026-11-11)
  5. n8n Docs: Webhook node(checked 2026-11-11)
  6. n8n Docs: Crypto node(checked 2026-11-11)
  7. n8n Docs: Code node(checked 2026-11-11)
  8. n8n Docs: Enable modules in Code node(checked 2026-11-11)
  9. n8n Docs: HTTP Request node(checked 2026-11-11)
  10. n8n Docs: Schedule Trigger node(checked 2026-11-11)
  11. n8n Docs: Set a custom webhook URL behind a reverse proxy(checked 2026-11-11)
  12. n8n Pricing(checked 2026-11-11)