Quick overview
This workflow runs daily to compare Mercado Livre competitor prices against your own price and minimum floor, using Apify to collect organic listings, Google Sheets to store decisions and history, and Gmail to email a concise review list.
How it works
- Runs every day at 7:00 (America/Sao_Paulo).
- Reads the Watchlist tab in Google Sheets and validates rows, flagging duplicates, invalid prices, and searches over the per-run limit.
- Sends all valid search terms in one request to the Apify Mercado Livre Scraper Actor to collect organic listings for each query.
- Filters out your own listings and non-matching results, then calculates the cheapest comparable listing and a decision per product (hold, review price, below your floor, or check matching).
- Updates each Watchlist row with the latest metrics and decision, and writes a daily snapshot to the Price log tab keyed by date.
- When a decision changes (or a significant drop is detected), upserts the item into the Review queue tab and sends a single HTML summary email via Gmail.
Setup
- Create a Google Sheets spreadsheet with the tabs Watchlist, Price log and Review queue, with the column names listed in the sticky notes in row 1 (row_number is added by n8n, no column needed).
- Add Google Sheets OAuth credentials in n8n and replace the sheetUrl in the Settings node with your spreadsheet URL.
- Add a Gmail OAuth credential in n8n and set the recipient email address in the Settings node.
- Create an Apify API token and configure an HTTP Header Auth credential with header name Authorization and value Bearer <YOUR_APIFY_TOKEN> for the Apify request.
- Populate the Watchlist with Search, MyPrice, MinAllowedPrice, PriceStep, Exclude, and MyListingIds values, then run the workflow once to verify updates and email output.
Requirements
- A Google account for Google Sheets and Gmail (OAuth2), and an Apify account with an API token (the free plan includes monthly credits).
Customization
- In Settings, change listingsPerSearch, condition, maxSearches, defaultPriceStep or alertDropPct, list your own listing IDs in myListingIds so they are never compared, or replace the Gmail node with Telegram or Slack.
Additional info
Prices are in BRL and come from a sample of organic listings, not every offer on Mercado Livre. The workflow only suggests prices; it never changes your listings. I built and maintain the Mercado Livre Scraper Actor used here; Apify charges per listing collected plus a small fee per run (see the Actor page).