Guides

n8n: trigger a workflow when a competitor's page changes

Most n8n scraping workflows fetch a page on a timer and compare it with yesterday's copy by hand. Let a crawler do the comparing, and have n8n start only when a competitor's page actually changed, with one item per changed page.

Sid Mishra11 min read
Three connected boxes, MeshArc Trigger, IF changed and Slack, above one item from a real run: modified, +91 / -92 words, 747 to 746, 2 credits for two runs.
On this page

TL;DR

  • Install MeshArc from n8n's nodes panel: it's a verified community node (n8n.io lists it, version 0.2.0). An instance owner or admin installs it once, for everyone on the instance. On n8n Cloud that's the only route; self-hosted n8n can also install n8n-nodes-mesharc by name.

  • A MeshArc project crawls the competitor's pages on a schedule and does the comparing. MeshArc Trigger → Page Changed starts your workflow with one item per changed page: kind, URL, words added and removed.

  • Put an IF node after it so typo fixes don't reach Slack. The expression below passed a real 91-word edit in our test.

  • n8n on localhost? The trigger can't reach it. Poll with Get Changes plus Remove Duplicates instead, keyed on change ID and URL.

  • The trigger and Get Changes cost nothing. You pay for the project's page reads: 1 credit a plain page.

The usual way to watch a competitor in n8n is a Schedule Trigger, an HTTP Request node, and a Code node that compares today's HTML with yesterday's copy kept somewhere. It works for one page. By the fifth you're storing snapshots, stripping cookie banners with regular expressions, and explaining to the sales channel why "Acme changed their pricing page" fired because a testimonial rotated.

This guide moves the comparing out of n8n. A MeshArc project reads the competitor's pricing and docs pages on a schedule and records what changed. n8n starts only when a run finds a page added, modified or removed.

What you'll build

  1. A MeshArc project that reads competitor.example.com/pricing and its /docs/ section daily.

  2. An n8n workflow: MeshArc Trigger → IF (skip small edits) → Slack, with an optional Google Sheets or Postgres row per change.

Each changed page arrives as its own item, so a run that touched three pages starts one execution with three items.

How do I install the MeshArc node in n8n?

MeshArc is a verified community node: n8n's integrations directory lists it as "built and maintained by our partners at MeshArc and verified by n8n", version 0.2.0 (checked 4 December 2026). Verified nodes install from inside the editor:

  1. Open a workflow and the nodes panel (+, or press N).

  2. Search for MeshArc. It appears under More from the community.

  3. Select it and click Install.

Only an instance owner or admin can install it, and it's then available to every member of the instance. That's from n8n's own docs, which also note that verified community nodes can be switched off: in the Cloud console's instance settings on n8n Cloud, or with environment variables when self-hosting.

Self-hosted, and verified nodes are switched off? An owner or admin can install it from npm instead: Settings → Community Nodes → Install, enter n8n-nodes-mesharc, and accept the community-node risk notice. n8n documents this route for self-hosted instances. On n8n Cloud, the nodes panel is the way in. Installing by name gives the latest release on npm, 0.2.1 (published 4 December 2026), which has the same node code as the verified 0.2.0 and an updated README.

Then create a MeshArc API credential with a key from mesharc.dev (Settings → API keys). The instant trigger needs a key that can write, because activating the workflow creates a webhook subscription. A read-only key is enough for Get Changes, used in the localhost fallback below.

Step 1: create the project that does the watching

The project is the scheduled crawl. Create it in the MeshArc app, or with the Python SDK:

pip install mesharc
from mesharc import MeshArc

arc = MeshArc()  # reads MESHARC_API_KEY

project = arc.projects.create(
    "https://competitor.example.com/pricing",
    name="Competitor: pricing and docs",
    schedule="daily",                      # manual | hourly | daily | weekly
    config={
        "max_pages": 50,
        "include_paths": ["/pricing*", "/docs/*"],
    },
)

arc.runs.start(project["id"], wait=True)   # run 1 sets the baseline
print(project["id"])

Or with cURL:

curl -X POST https://api.mesharc.dev/api/v1/projects \
  -H "Authorization: Bearer $MESHARC_API_KEY" -H "Content-Type: application/json" \
  -d '{"seed": "https://competitor.example.com/pricing", "name": "Competitor: pricing and docs",
       "schedule": "daily", "config": {"max_pages": 50, "include_paths": ["/pricing*", "/docs/*"]}}'

Three details matter for a competitor watch:

  • The first run is a baseline. It has nothing to compare with, so it starts nothing in n8n. Run it now rather than waiting for tomorrow's schedule.

  • Daily runs are at 03:00 UTC, and weekly runs on Mondays at 03:00 UTC, according to the configuration docs. Hourly is there if a competitor changes things often.

  • Noise is removed before the comparison. Consent banners and rotating widgets never reach the diff. A page the site refused this run is withheld, not removed, so a bad night at the competitor's CDN doesn't tell your team the pricing page vanished.

Want prices as numbers rather than paragraphs? Add a json_schema to the config: a list of {name, type, required} with types such as number, string and date. Field changes then arrive as their own kind, covered next.

Step 2: the trigger

Add MeshArc Trigger to a new workflow:

  • Event: Page Changed.

  • Project: pick it from the list (it searches by name or host) or paste the ID.

  • Changes: any of Added, Modified, Removed and Fields Changed. The first three are the default. For a pricing watch, add Fields Changed, which fires when only an extracted field moved.

Activate the workflow. Activation calls POST /webhooks/subscriptions on the MeshArc API with the workflow's webhook URL. When a run finishes, MeshArc sends it there, and the node reads that run's change record and outputs one item per changed page. Deactivating deletes the subscription. Each subscription has its own signing secret, and the node answers any request without a valid X-MeshArc-Signature with a 401. A webhook URL you set on the project yourself is left alone.

Listen for Test Event waits for the project's next finished run, so click it, then start a run (arc.runs.start(project["id"])).

One requirement: MeshArc has to reach your n8n. n8n Cloud is fine, and so is a self-hosted instance with a public URL. An n8n on localhost will never hear from it; see the fallback below.

What does the trigger send? A real run

We ran this on 4 December 2026 with a MeshArc project on a page we knew would change within minutes: Hacker News's /newest list. It was one page, read twice about a minute apart. Then we passed the second run's change record through the node's own code (the changeItem function in n8n-nodes-mesharc 0.2.0). This is the item n8n receives:

{
  "projectId": "e179b1bc3b2e46b2ad74fca6c721c69f",
  "runId": "1fc481c257f84aeeaef6f627af734130",
  "previousRunId": "264358e86bbf4ae088f527ccbc5ac39e",
  "changeId": "373b04a24d8d4924903bab8921bbb2f8",
  "changedAt": "2026-12-04T09:14:26.556000+00:00",
  "kind": "modified",
  "url": "https://news.ycombinator.com/newest",
  "path": "/newest",
  "title": "New Links | Hacker News",
  "wordsAdded": 91,
  "wordsRemoved": 92,
  "wordsBefore": 747,
  "wordsAfter": 746,
  "fields": []
}

Run 1

Run 2

Pages read

1, plain fetch

1, plain fetch

Result

Baseline recorded

0 new · 1 changed · 0 removed · 0 withheld

Time

1.3 s

1.3 s

Cost

1 credit

1 credit

Two runs, 2 credits, and reading the change record cost nothing. One thing that surprised us: changeId identifies the run's change record, not the page. Every page changed in the same run shares it, which matters for the fallback below.

Try it on a page you check by hand. Paste a competitor's pricing page into the playground to see what MeshArc reads from it (it asks you to sign in), or start free with 1,000 credits and no card.

Step 3: filter, then tell someone

Even after noise removal, not every edit deserves a message. Put an IF node after the trigger with one boolean condition, is true:

{{ $json.kind === 'removed' || $json.kind === 'added' || $json.fields.length > 0 || ($json.wordsAdded + $json.wordsRemoved) >= 20 }}

That passes new and deleted pages, any page where an extracted field moved, and text edits of 20 words or more. The item above passes (91 + 92 words). Tune the 20 after a week of real runs. The project's notify_min_words setting won't do this for you: it filters the project's own page.changed webhook, while the trigger reads the full change record.

On the true branch, a Slack node (or Teams, Discord, email) with a message such as:

{{ $json.kind.toUpperCase() }}: {{ $json.url }}
+{{ $json.wordsAdded }} / -{{ $json.wordsRemoved }} words ({{ $json.wordsBefore }} → {{ $json.wordsAfter }})

For our run that renders as MODIFIED: https://news.ycombinator.com/newest and +91 / -92 words (747 → 746). If the whole run should be one message rather than one per page, put an Aggregate node before Slack.

Two extensions people add in the first week:

  • A log. A Google Sheets "Append row" or Postgres "Insert" node on the same branch gives you a history of the competitor's edits. If you only want the table and no alert, skip n8n for that part: a MeshArc project can write its pages straight to Postgres, BigQuery or Snowflake, included on every plan. The change monitoring API guide shows the Postgres version.

  • The actual diff. An HTTP Request node to GET https://api.mesharc.dev/api/v1/projects/{{ $json.projectId }}/changes/page?url={{ $json.url }}&run_id={{ $json.runId }}, with the same credential, returns the word-level diff of that page.

What if my n8n runs on localhost?

The instant trigger can't reach it. Poll instead:

  1. Schedule Trigger, an hour after the project's run (for a daily project, 04:00 UTC).

  2. MeshArc → Project → Get Changes for the project. With Run ID empty, it lists what the latest finished run added, changed or removed, one item per page, in the same shape as the trigger.

  3. Remove Duplicates, operation Remove Items Processed in Previous Executions, Keep Items Where: Value Is New, deduplicating on {{ $json.changeId }}:{{ $json.url }}. Don't dedupe on changeId alone: every page of a run shares it, so you'd keep the first page and drop the rest.

  4. Then the same IF and Slack nodes.

Get Changes reads what MeshArc already stored, so it costs nothing however often you poll. Workflows built with version 1 of the trigger, before 0.2.0, already poll and keep working unchanged.

What does it cost?

The n8n side costs nothing: the trigger and Get Changes only read stored change records, and change records and webhooks are free. You pay for the project's page reads (pricing, checked 4 December 2026):

  • A plain page is 1 credit; a page that needs a real browser is 4.

  • A page the site refused, a 404 or a 410 costs 0.

  • An unchanged page that is re-read is still billed. The exception is a project with sitemap_incremental switched on, which carries a page forward at 0 when the sitemap says it hasn't changed. It's off by default.

The worst case for the project above is 50 pages re-read by plain fetch every day: about 1,500 credits a month. The configuration docs give the same rate, about 3,000 a month for a 100-page project read daily. Starter includes 100,000 credits for $29 a month. The free plan's 1,000 credits are once, with no card, and cover a baseline and a few weeks of a smaller watch, such as a pricing page and a changelog.

Where other tools are better

Checked on each vendor's own page on 4 December 2026:

  • Firecrawl's /monitor checks as often as every 5 minutes; MeshArc's fastest schedule is hourly. Firecrawl also has a verified n8n node (version 2.1.4), but the operations n8n.io lists for it (Account, Agent, Browser, Crawling, Extract (Legacy), Interact, Map & Search, Scraping) include no monitor trigger. To use its monitors in n8n, point their signed webhook at n8n's generic Webhook node and verify the signature yourself. Monitors cost 1 credit per page per check, or 7 with deterministic extraction, on plans from $19 a month (billed monthly) for 5,000 credits. The longer comparison is in Firecrawl /monitor vs MeshArc.

  • Visualping lists n8n among its integrations: "Kick off a workflow the instant a change is detected." It's built for people: visual diffs and AI summaries a marketing team can use without a schema.

  • changedetection.io is open source. If you self-host n8n anyway and watch a handful of URLs, running it next to n8n costs nothing; its hosted version is $8.99 a month.

  • Prices that move by the minute need a live feed, not a crawler, whoever sells it.

This setup fits best when you're watching a whole section of a competitor's site rather than a hand-kept list of URLs. It suits a trigger that should fire only on real edits and never on a refused page, and a project that should also feed a warehouse table without a second workflow. For prices specifically, see competitor price monitoring and the daily Python price tracker.

FAQ

Is the MeshArc n8n node free? Yes. The node is MIT-licensed and free to install. Its trigger and Get Changes cost no credits; the project's page reads are billed in MeshArc credits, and the free plan gives 1,000 once.

Does it work on n8n Cloud? Yes. It's a verified node, so an owner or admin installs it from the nodes panel, and n8n Cloud's public URL is reachable for the instant trigger.

Can I install it on self-hosted n8n? Yes, from the nodes panel when verified nodes are enabled, or from Settings → Community Nodes with the package name n8n-nodes-mesharc. Either way it needs an owner or admin. The instant trigger also needs a public URL; on localhost, use the polling fallback.

How often can it check a competitor's page? Hourly, daily (03:00 UTC) or weekly (Mondays, 03:00 UTC), or whenever you start a run. For checks every few minutes, Firecrawl's /monitor goes down to 5 minutes.

Why didn't my workflow start after the first run? The first run is a baseline with nothing to compare against, and a run that changed nothing starts nothing either. Start a second run, or wait for the next scheduled one.

Will a blocked page or a site outage trigger a "removed" alert? No. A page the site refused this run is withheld, not removed. A page is reported removed on a single missed run only when that run reached at least 90% of the pages the last run found, or at once if the site answers 404 or 410. Below 90%, other removals are held back, so an interrupted crawl doesn't read as a mass deletion.

Is scraping a competitor's website legal? Reading public pages is generally fine, but the site's terms, copyright and data-protection law still apply. MeshArc obeys robots.txt by default, and a polite daily schedule helps. This isn't legal advice.

Set the baseline today

Install the node, create the project, and run it once now. Tomorrow's run is the first that can start your workflow, and it will only start it if something actually changed. Start free with 1,000 credits and no card, or try a URL in the playground first.

Node behaviour checked against the n8n-nodes-mesharc 0.2.0 package source (0.2.1 ships the same node code); n8n, MeshArc and vendor facts checked on their own pages on 4 December 2026; the real run is from 4 December 2026.

ShareLinkedInX
Sid Mishra · Founder, MeshArc

Founder of MeshArc, a scraping API for sites you read more than once. Writes about web scraping, keeping RAG data fresh and spotting what changed on a site.

LinkedInXWebsite

The MeshArc newsletter

New posts and what changed, at most twice a month.

Related posts

Guides

Firecrawl MCP vs Crawl4AI vs MeshArc: which web MCP server?

Firecrawl, Crawl4AI (self-hosted and Cloud) and MeshArc side by side: where each one runs, how your assistant signs in, what a page costs and what happens when you ask the same site twice. Plus Playwright, Bright Data and Apify, and a real research run with the numbers.

3 Dec 2026 · 11 min read · Sid Mishra

Guides

PDF to Markdown for RAG: what works and what breaks

Converting PDF to Markdown for RAG is easy when the PDF has a text layer and hard when it has tables, columns or no text at all. Which tool fits which PDF, what breaks, and how to chunk the output.

30 Nov 2026 · 12 min read · Sid Mishra

Crawl a site and see what changed.

A one-time 1,000 credits to start, browser tier included, no card. The playground answers in seconds.