Use this robust n8n workflow to monitor competitor prices across Amazon, Best Buy, and Target, leveraging AI for structured data extraction, powerful analysis, and automated Slack alerts.
Download this n8n workflow template and start using it instantly.
Maintaining a competitive edge requires timely and accurate pricing data. Manually checking competitor sites is inefficient and slow. This n8n workflow provides a powerful solution by combining reliable web scraping with advanced AI data extraction.
The automation starts with a flexible n8n trigger system (daily schedule or manual webhook). It then simultaneously scrapes multiple e-commerce platforms (Amazon, Best Buy, Target). The crucial next step uses a specialized AI n8n node to turn raw HTML into perfectly structured JSON data, eliminating reliance on brittle CSS selectors. A custom Code n8n node then analyzes this clean data, calculating value scores and detecting alert-worthy price drops.
Finally, this sophisticated n8n workflow ensures that all historical data is logged automatically into Google Sheets for dashboarding, while immediate, actionable alerts are sent via Slack when a significant price change is detected. This makes it an indispensable n8n tool for competitive analysis.
This comprehensive n8n workflow follows a five-step process:
Daily Price Check Trigger running every 24 hours for scheduled monitoring, or a Manual Price Check Webhook for on-demand execution.Amazon Price Scraper, Best Buy Price Scraper, Target Price Scraper) to retrieve the raw HTML search results from major competitor websites for 'wireless headphones'.AI Price Data Extractor n8n node (ScrapeGraphAI). This powerful n8n node uses a user-defined schema and AI prompting to reliably extract clean, structured pricing data (price, brand, rating, discount, etc.) from the potentially complex HTML content.Price Analysis & Intelligence Code n8n node processes the extracted data. This custom logic analyzes price changes, calculates competitive value scores, determines market positioning, and assigns a priority level, setting the alert_worthy flag if significant price movement is detected.Google Sheets Price Log n8n node for historical archiving. Simultaneously, the data is routed through the Price Change Alert Filter n8n node. If any condition is met (e.g., price drop is 'high significance' or discount is over 20%), the workflow proceeds to the Slack Price Alert n8n node, sending a detailed, actionable notification.To deploy this n8n template, follow these steps:
Google Sheets Price Log n8n node.Slack Price Alert n8n node.AI Price Data Extractor n8n node.Google Sheets Price Log n8n node, select the target spreadsheet document ID and sheet name where you want the historical price data to be logged.Slack Price Alert n8n node, ensure the correct channel ID is selected.Daily Price Check Trigger will automatically begin monitoring. Daily Price Check Trigger (n8n trigger):
Function: Starts the n8n workflow automatically at a fixed interval.
Key Configuration: Set to run every 24 hours.
Manual Price Check Webhook (n8n trigger):
Function: Allows external systems or manual requests to initiate a price check immediately.
Key Configuration: Uses a GET method on the path /price-check-webhook.
Amazon/Best Buy/Target Price Scraper (HTTP Request n8n node):
Function: Executes raw HTTP requests to fetch search result pages from competitor sites.
Key Configuration: Uses a custom User-Agent header to mimic a browser, improving reliability.
AI Price Data Extractor (ScrapeGraphAI n8n node):
Function: Converts the raw, unstructured HTML output from the scraping nodes into clean, structured JSON data using AI intelligence, based on a comprehensive pricing schema.
Key Configuration: Requires a detailed JSON schema prompt to guide extraction (including fields like currentprice, rating, brand, and discountpercentage).
Price Analysis & Intelligence (Code n8n node):
Function: Executes custom JavaScript logic to analyze and enrich the extracted pricing data.
Key Configuration: Contains functions to calculate value scores, determine market position (budget/premium), and critically, set the alertworthy flag based on predefined price change thresholds (e.g., 15% drop).
Price Change Alert Filter (If n8n node):
Function: Acts as a gatekeeper, determining if the analyzed price change warrants an immediate alert.
Key Configuration: Combines conditions using 'any' operator, checking if the item is alertworthy, has a discount >= 20%, or has been marked with 'high' change significance.
Google Sheets Price Log (Google Sheets n8n node):
Function: Stores the detailed, analyzed price data for historical tracking and dashboard creation.
Key Configuration: Uses the appendOrUpdate operation, mapping input fields automatically to columns like productid, currentprice, and tracking_priority.
Slack Price Alert (Slack n8n node):
Function: Sends a highly formatted, detailed alert notification to a specified Slack channel if the price change filter passes.
Key Configuration: Uses extensive templating (Jinja2) to format the alert, including current price, discount percentage, source, and competitive intelligence metrics like market position, providing an actionable alert from this powerful n8n workflow.
Use this powerful n8n workflow template to prevent simultaneous executions of critical workflows using Redis as a distributed locking mechanism. Ensures reliable, sequential n8n automation.

Secure your AI applications against prompt injection and malicious inputs using this advanced, multi-layered GPT-4O security n8n workflow. Includes moderation, sanitization, and quality assurance steps.

Use this robust n8n workflow to prevent duplicate processing by centrally managing item states in Redis. Features include automatic troubleshooting links and detailed audit logging.

Use this powerful n8n workflow to automatically fetch Todoist tasks, prioritize them using a structured AI agent (via OpenRouter), and deliver a comprehensive, formatted daily summary directly to Slack.

Automate Zendesk ticket prioritization using this n8n workflow. Analyze ticket urgency with GPT-4, update priorities, and send instant Slack alerts for critical issues directly via an n8n node.









































