How to Automate Competitor Price Monitoring (E-Commerce Example)

banner 16

This workflow automatically visits a competitor's website every day, uses AI to extract all product prices from the page, and logs everything into Google Sheets to build a price history over time. Follow this step-by-step guide to learn how you can build it and be ahead of your competitors just by scraping the pricing data from their websites and tailor your offers accordingly.

Architecture

[Recurrent Event] -> [HTTP Request] -> [LLM] -> [Action in App]

Prerequisites

  • CogniAgent account with a workflow created
  • Competitor product page URL
  • Google Sheets file created and connected
  • Google Sheets columns set up: Name of the Product, Product, Price

Step 1 — Recurrent Event

Click "Add Step" and choose the "Recurrent Event" Node. This node triggers the workflow automatically every day.

  • Frequency: Daily
  • Time: 09:00
  • Timezone: your local timezone
D714230C 5160 4CA2 83E3 FDE40D50ECB4

Step 2 — HTTP Request

This node fetches the raw HTML of the competitor's product page.

  • Method: GET
  • URL: https://competitor.com/their-product-page

To verify it works, click Test. If you see HTML in the response body, you are good to go. If you get a 403 error, the site is blocking requests and you need a different source URL.

In the execution history we see that the node returns the output, thus we continue the execution of the workflow.

Step 3 — LLM

This node reads the raw HTML and extracts all prices using AI. No code needed — the LLM does the parsing.

System instructions - the role of your LLM User instructions - what exactly LLM does Structured Output - map out all of the necessary fields as required. In this scenario: product_name, product, and the price.

64667B8A 3F6C 47E1 A329 BEBF3BC7B556

If it works, in the execution history you will see the structured output:

6405B88D 0228 4128 B011 13B813F4F1D4

Step 4 — Action in App ->  Google Sheets

This node appends one row per product into your spreadsheet.

  • App: Google Sheets
  • Action: Append Row
  • Spreadsheet: your file name
86B49436 755F 458E A5E9 23745D5352A8

Testing the Full Flow

  1. Check HTTP Request returns HTML in the response body
  2. Check LLM output is structured with products and prices
  3. Open Google Sheets and confirm new rows were added

Follow other step-by-step guides in CogniAgent and rebuild workflows!


Other Guides

feature image 3.9MB

How to Build a Candidate Screening Application in CogniAgent: From Job Application to Qualification Conversation

Aug 17, 2026
9 min read
how-to-build-an-ai-receptionist-agent-in-cogniagent

How to Build an AI Receptionist Agent in CogniAgent

Jul 31, 2026
10 min read
how-to-build-an-ai-appointment-booking-agent-in-cogniagent

How to Build an AI Appointment Booking Agent in CogniAgent

Jul 31, 2026
8 min read