Use this powerful n8n workflow template to automatically monitor Amazon product stock levels using Bright Data and OpenAI. Receive immediate Gmail alerts via this n8n automation when stock runs low.
Download this n8n workflow template and start using it instantly.
Maintaining sufficient stock levels is crucial for e-commerce success. This comprehensive n8n workflow solves the problem of manual stock checking by providing a reliable, automated solution. It leverages a combination of advanced technologies: the Schedule n8n trigger ensures checks run consistently (e.g., daily at 9 AM), Bright Data's Mobile Carrier Proxy (MCP) performs highly resilient web scraping to avoid Amazon blocks, and an OpenAI-powered AI Agent cleans and structures the extracted data. This means the system can reliably determine if an item is 'In Stock' or 'Out of Stock.' If a shortage is detected, the n8n workflow immediately sends a critical Gmail alert to the responsible supplier, minimizing downtime and maximizing sales opportunity. This specific n8n workflow demonstrates best practices for integrating AI and specialized tools within the n8n platform.
The entire process is initiated by an n8n trigger: the Schedule Trigger n8n node, set to run at a specific time each day.
To deploy this powerful n8n workflow template, follow these steps:
Product url value with the Amazon URL you wish to monitor.This n8n workflow utilizes several key n8n node types to achieve its goal:
Schedule Trigger (Check Stock Every X Hours):
Function: Acts as the primary n8n trigger, initiating the stock check automatically at defined intervals (set to run daily at 9 AM in the provided n8n template).
Key Configuration: rule.interval.triggerAtHour: 9.
Set (Define Product URL):
Function: Defines the crucial input data—the Amazon product URL—used by the rest of the n8n workflow.
Key Configuration: Contains the hardcoded Amazon product URL.
AI Agent (Scrape Product Data):
Function: Coordinates the complex scraping and parsing task, ensuring the correct tools (OpenAI Chat and Bright Data MCP) are used to extract structured data.
Key Configuration: Uses the Product url variable in its prompt.
Bright Data MCP (Scraper):
Function: Executes the robust web scraping necessary to reliably retrieve stock information from Amazon without being blocked.
Key Configuration: Uses the webdataamazon_product tool.
If (Product In Stock?):
Function: Provides critical flow control. It checks the output generated by the AI parser to see if the availability key equals 'In Stock'.
Key Configuration: Condition checks ={{ $json.output.availability }} equals In Stock.
Gmail (Email Supplier):
Function: Executes the final action for the 'Out of Stock' scenario, sending an automated alert email using the product title dynamically pulled from the scraped data.
Key Configuration: Uses expression ={{ $json.output.product.title }} in the subject line.
Deploy this powerful n8n workflow to automatically track Amazon product prices using Decodo and Google Sheets. Get instant alerts via Telegram/Gmail for price changes using this repeatable n8n template.

Use this advanced n8n workflow to seamlessly migrate your Airtable data structure and records to a PostgreSQL database. Features credential testing, schema mapping, and batch upserting using custom code in n8n.

Deploy an automated n8n workflow utilizing an AI agent (News Reporter) powered by Perplexity/LLM to monitor and summarize news events, delivering professional reports directly to your inbox using a Gmail n8n node.

Use this comprehensive n8n workflow to automate weekly news research on animal advocacy topics, powered by the Claude AI model and Serper web search. This n8n workflow template generates a detailed HTML email brief.

Automate medical or professional appointment scheduling using n8n. This powerful n8n workflow integrates a JotForm n8n trigger, Telegram for approval, GPT-4 Mini for personalized email generation, and Google Sheets for record keeping.

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos







































