Skip to main content

Track competitor prices and email AI insights with Google Sheets, Groq and Gmail

Workflow preview

Workflow preview
100%
Track competitor prices and email AI insights with Google Sheets, Groq and Gmail preview
Open on n8n.io

1. Workflow Overview

How it works This workflow automatically monitors competitor product prices stored in Google Sheets. It scrapes product pages, extracts pricing and offer data using AI, and compares it with histori...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Track competitor prices and email AI insights with Google Sheets, Groq and Gmail
Workflow name
Track competitor prices and email AI insights with Google Sheets, Groq and Gmail

How it works

This workflow automatically monitors competitor product prices stored in Google Sheets. It scrapes product pages, extracts pricing and offer data using AI, and compares it with historical values. Based on changes, it updates records and generates a market intelligence report. The workflow then emails the report and resets data for the next execution cycle.

Step-by-step

  • Step 1: Database sync

  • Schedule Trigger – Runs the workflow at a scheduled time.

  • Get row(s) in sheet – Fetches competitor data and product URLs.

  • Step 2: Scraping

  • Loop Over Items – Processes each competitor entry.

  • HTTP Request3 – Retrieves raw HTML using ScraperAPI.

  • Clean Content – Cleans and prepares text for AI processing.

  • Step 3: Price extraction

  • AI Agent1 – Extracts product name, price, and offers.

  • Groq Chat Model1 – Provides AI extraction capability.

  • current Price and offer – Converts AI output into structured data.

  • If2 – Checks if it's the first recorded entry.

  • First time price and offer added – Stores initial values.

  • If1 – Compares current vs previous price and offers.

  • Updated current price and offer in sheet – Updates if changes detected.

  • If No changes then update – Updates sheet even when no change is found.

  • Step 4: Analysis

  • Get row(s) in sheet1 – Retrieves updated dataset.

  • Data Aggregator – Builds structured market comparison data.

  • AI Agent – Generates strategic insights and recommendations.

  • Groq Chat Model – Powers the analysis output.

  • Update row in sheet – Saves AI-generated summary in sheet.

  • Step 5: Reporting

  • Edit Fields1 – Formats the report into HTML email layout.

  • Send a message – Sends the final report via Gmail.

  • Step 6: Reset

  • Get row(s) in sheet2 – Retrieves final processed data.

  • Update row in sheet1 – Moves current data to history and clears fields.

Why use this?

  • Ensures all price scenarios (change or no change) are handled properly
  • Keeps your Google Sheets always updated with accurate data
  • Provides AI-powered competitive intelligence automatically
  • Sends clean, formatted reports without manual effort
  • Maintains structured historical tracking for better decision-making

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get row(s) in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 2 - First time price and offer added

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Clean Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - If1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 5 - current Price and offer

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Updated current price and offer in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - If No changes then update

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Get row(s) in sheet1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 11 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 12 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 13 - Groq Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 14 - Data Aggregator

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 16 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 17 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 18 - Update row in sheet1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 19 - Get row(s) in sheet2

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 20 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Track competitor prices and email AI insights with Google Sheets, Groq and Gmail
Complexity advanced
Nodes 30
Categories Market Research, AI Summarization
Author Avkash Kakdiya
Published 25 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14311/14311.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track competitor prices and email AI insights with Google Sheets, Groq and Gmail do?

How it works This workflow automatically monitors competitor product prices stored in Google Sheets. It scrapes product pages, extracts pricing and offer data using AI, and compares it with histori...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.