Monitor a web page for new items and send a webhook

How to monitor a web page for new items and send a webhook: install the Chrome extension, click Build with Browser agent, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.

Here is how the automation works. To monitor a web page for new items, scrape the list on a schedule with Get data from bot's current page, drop every row you already have with Remove results that contain certain words against a Google Sheet of what you saw before, and if anything is left, write it to the sheet and post it with Trigger webhook. It works on any listing or search page: new products, new jobs, new stock, new posts.

Author
Alex Barlow
Published

Build the web page monitor from a description


Describe it and click the button: the agent builds and tests the monitor in your Chrome extension. Schedules and webhooks need a plan that includes them, see pricing.

  1. Go to the listing page I give you
  2. Scrape the title and link of every item
  3. Keep only the ones not already in my sheet
  4. Add the new ones to my sheet and post my webhook
Click to launch the Chrome extension. Not installed? You can create an account and try it free.Opens the Chrome extension. Free account to try.

You need a Google Sheet with one empty tab, which the first run fills (type sheet.new in Chrome to make one), and a URL that receives the webhook: a Slack or Discord webhook, a Zapier or Make webhook, or your own endpoint. The sheet is the memory, so leave it as it is between runs: the first run fills it, every run after that adds only what is new.

The video shows the agent building the web page monitor from the four lines above, in a few minutes.

Build the web page monitor step by step


The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.

  • 1.0 Go to page
    • URL: the listing page
  • 2.0 Get data from bot's current page
    • Select: one item's title and link, one column each
    • Find pager: the Next button
    • Max results: 20 to start
  • 3.0 Read data from a Google Sheet
    • Spreadsheet: your sheet
    • Sheet name: the tab with the items seen before
  • 4.0 Remove results that contain certain words
    • Data: [scrape-data]
    • Words: [google-sheet-data]
    • Word matching mode: Any
  • 5.0 If condition
    • Data to check: [word-removed-data]
    • Condition to check: is not empty
    • 5.1 Write data to a Google Sheet
      • Spreadsheet: your sheet
      • Sheet name: the same tab
      • DATA: [word-removed-data]
      • Write options: Add to existing data
    • 5.2 Trigger webhook
      • Endpoint: your webhook URL
      • Payload: [word-removed-data]

Common questions about monitoring a web page for new items


Why does the monitor post every item on every run?

The sheet is not growing. Write data to a Google Sheet must point at the same sheet Read data from a Google Sheet reads, with Add to existing data, so the sheet grows with each run. Check Data on the write step is [word-removed-data], not [scrape-data].

Why does the monitor never post anything?

The sheet already holds every item, so nothing is new. Delete a few rows and run again to test. When a run fails, hand it to the agent and it repairs the step.

How does the comparison work?

The scrape returns every item on the page as rows, [scrape-data], and the sheet holds every item seen so far, [google-sheet-data]. Remove results that contain certain words drops each scraped row whose title is in the sheet, leaving only the new ones as [word-removed-data]. An If condition checks whether anything is left: if not, the run ends quietly; if so, the new rows are written to the sheet and posted to the webhook.

How do I test the monitor before scheduling it?

Run it once: the sheet fills with everything on the page and the webhook fires with the same rows. Delete a few rows from the sheet and run again, and only those rows should be written back and posted. Then save it and set a schedule, hourly or daily.

Can the monitor post new items to Slack, Zapier or Make?

Yes. Any webhook URL works in Trigger webhook: a Slack incoming webhook, a Zapier Catch Hook, a Make custom webhook. See post scraped data to Make.

Can I monitor a web page for new items without code?

Yes. The seven steps are added in the Chrome extension with no code; the title and link are picked by clicking one item on the page.

Can I get an email instead of a webhook?

Yes. Swap Trigger webhook for Send an email; monitor a website for changes and get an email is that version.

Can I monitor a web page for a price change instead?

Yes, with a different comparison: scrape the price, and use If condition to compare it with the last value in the sheet. The shape is the same: scrape, compare, act.

Where do I get help?

Get in touch with support, or ask in the axiom.ai community.

Related guides