Track changes on website

Hi guys,

I am interested in som how I can track changes on any website e.g. e-shop and track change on the element. For example, I want to get notification when price will be changed.

I think, that it can be done via Cron trigger (every hour) => http request to the website => parse html => compare the value with the old one.

I found, that there is a function called Introduction | Docs for storage small data and I want to ask you, if there is no better way for this type of use.

Thank you very much.

If you want to store larger amounts of data the static-data is really not a good option. It is then better to simply store in some kind of external datastore like Postgres, Redis, MySql, Airtable, Google Sheets, … or even a simple local file. For all the mentioned possibilities nodes exist already and should so not be too complicated to set it up.

I hope that helps!

Thank you for the confirmation :slight_smile:

Sure always happy to help. Have a great weekend!

Hi!

I’m in the process of creating such a workflow, and as a new n8n user I wanted to know if there were public examples of such workflows?

@stehos did you finally manage to create such a workflow?

Thanks in advance for the information.

Hi @real34,

You have lots of samples at
https://n8n.io/workflows

Hope this helps you.

2 Likes

Hi @real34 thank you for your reply. I just published the workflow at https://n8n.io/workflows/837

You can use it and modify it in the way you want.

Hope it will help you.

7 Likes

Just gave your workflow a whirl and so far so good. However, I’d like to track all prices change - not just lower prices - but I can’t seem to figure things out. I hoped it would be enough to change the condition in IF2 to “not equal to” but then I get a notification every time the flow runs with the current price as the new price and nothing for the previous price.

if i track changes on any website e.g. https://www.price.com.hk/product.php?p=589751

Workflows Track_changes_of_product_prices_copy.json - Google Drive
kopacky.json - Google Drive

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.