Shopping online is convenient—but tracking price drops manually can become tedious. What if you could turn a plain spreadsheet into a real-time price monitor that alerts you whenever a product you’re watching gets cheaper? Using Google Sheets and a bit of Google Apps Script, you can create an “Amazon Price Tracker” that does just that.
This guide walks you through how to set up a spreadsheet that monitors Amazon product URLs, checks their current price, and notifies you when the price falls below a threshold you set.
There are many reasons why a spreadsheet-based tracker works well:
It’s flexible: you control the list of products, thresholds, alert times, etc.
It’s transparent: you can see at a glance current prices, history, savings.
It’s free in terms of using Google Sheets & Apps Script (excluding any API costs).
It’s customizable: you could extend it to other stores, currencies, or notifications.
It helps you avoid “buying too early” or “missing out on a deal” by monitoring changes.
Here’s a high-level view of the process:
Create a Google Sheet and list one or more Amazon product URLs (or ASINs).
Set up columns for current price, previous price, savings, threshold (your target price).
Use Google Apps Script (embedded in the Sheet) to fetch data for each product (price, title, availability).
The script compares the fetched price against your threshold or previous price.
If the price has dropped or hits your target, send an email alert (or some form of notification).
Schedule the script to run automatically (for example once a day) so tracking is continuous.
Open Google Sheets.
Create a new blank spreadsheet.
In row-1, add headers such as: Product URL, ASIN, Title, Current Price, Previous Price, Target Price, Savings, Last Checked, Alert Sent?.
In column A, start listing the Amazon product URLs you want to track (one per row).
From the spreadsheet menu choose Extensions → Apps Script.
Delete any boilerplate code and paste in a script that does the following:
Reads each product URL (or ASIN).
Calls Amazon’s API (or scrapes page data if API not available) to get the current price and other details.
Updates the sheet with Current Price, Previous Price (older value), Savings, and Last Checked.
Checks Current Price vs. Target Price, or checks if price dropped by a certain percentage.
If criteria met, sends an email to your address or marks Alert Sent? true.
Save the script and authorize it (Google will ask permission to access your sheet and send email).
In the Target Price column, add a numeric value for each product (for example “₹1999” or “$399”).
This is the price at or below which you want to be alerted.
In Apps Script, go to Triggers (icon of clock) → Add Trigger.
Set it so that your main tracking function runs daily (or hourly if you prefer).
Save and let the trigger run autonomously.
Each time the trigger runs, the script will update your sheet.
If the price is below your threshold (or dropped by your chosen percentage), you will receive an email (or some alert you configured).
You can then decide whether to buy, wait, or remove the product from tracking.
Use the Amazon ASIN (Amazon Standard Identification Number) when possible—this helps reliably identify the product rather than relying solely on URL.
In countries where Amazon has many sub-domains (e.g., amazon.in, amazon.co.uk, amazon.com), ensure you detect the correct region and currency.
Record the price history in your sheet: for example, keep a log sheet where each run appends a timestamp and price value—this lets you plot trend graphs.
Customize the alert format: include product title, URL, previous price, current price, savings amount, and date—so you get a meaningful summary.
Respect Amazon’s API usage policies (if using the Product Advertising API) or scrape responsibly (avoid excessive requests).
Use formatting in the spreadsheet to highlight big savings or price drops (for example conditional formatting turning cells green when price falls).
Add a “ReadMe” sheet explaining your columns, the alert logic, and how to add/remove products so others using the spreadsheet understand how it works.
Here’s a pseudo-code outline of how your Apps Script might look:
In this example:
fetchCurrentPriceFromAmazon(url) is a custom function you write that likely uses Amazon’s API or parsing logic.
The logic checks if currentPrice <= targetPrice, and if no alert was sent yet (Alert Sent? column).
If alert condition met, you send an email and mark the row as alerted.
Broken URLs or changed ASINs: If a product is discontinued, or its page layout changes, your fetch logic may fail. Periodically validate your URLs.
Currency exchange and region mismatch: Ensure that the target price is comparable with the product’s region/currency.
Frequent requests hitting API limits: If you run the script very frequently across many products, you may hit Amazon’s rate limits. Consider throttling or batching.
Missing authorization: When you first run the script, you’ll need to authorize required scopes (Drive, Sheets, Gmail). Without proper authorization, it may silently fail.
Excel-style formulas vs Scripts: While you could try using built-in IMPORTXML or IMPORTHTML functions in Google Sheets to scrape prices, Amazon often blocks or changes structure. A script with proper API or parsing is more robust.
Overwriting important data: If you modify the spreadsheet layout (move columns, change headers), the script may stop working. Maintain a consistent structure.
With online shopping becoming increasingly dynamic (flash sales, lightning deals, regional offers), manually keeping track of prices is impractical. A spreadsheet-based tracker gives you a central dashboard of your watched items, with historical pricing and alerts. Over time, you’ll build valuable insight into pricing trends — which items drop often, what time of the year they dip, and how much savings you can anticipate. For bargain hunters, frequent shoppers, or businesses managing procurement, this becomes a powerful tool.
Turning Google Sheets into an automated Amazon price tracker is a creative and practical application of Apps Script. With minimal setup you gain an alerting system, data dashboard, and proactive purchasing assistant. By defining your product list, target prices, and schedule, you can reclaim time otherwise lost to manual monitoring.
Whether you want to track one item or hundreds, customize the logic, add advanced features (like saving price history, plotting charts, integrating with Slack/Telegram for alerts), this system gives you a foundation. Once set up, it runs quietly in the background, and you’ll be notified when a product’s price drops—ensuring you never miss a deal again.