N
n8n Store
Workflow Market
Track Amazon Product Prices with ScrapeGraphAI

Track Amazon Product Prices with ScrapeGraphAI

by n3witalia0 views

説明

Categories

📢 Marketing🤖 AI & Machine Learning

Nodes Used

n8n-nodes-base.ifn8n-nodes-base.mergen8n-nodes-base.telegramn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.googleSheetsn8n-nodes-base.googleSheetsn8n-nodes-base.manualTrigger
Price無料
Views0
最終更新11/28/2025
workflow.json
{
  "id": "GP6WsXTLgM9LhI8E",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Track Amazon Product Prices with ScrapeGraphAI",
  "tags": [],
  "nodes": [
    {
      "id": "c934786f-96c6-4d3e-8e08-6eb7cf522116",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        -160
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtMinute": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3f91dab9-db6e-4a8e-8f5f-4acf2f53f706",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -240,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f928ffea-524e-4f9f-9f4c-c994d0991edd",
      "name": "Scrape Amazon Product Price",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        576,
        0
      ],
      "parameters": {
        "userPrompt": "You are an expert extraction algorithm. Extract the price of the Amazon product",
        "websiteUrl": "={{ $json.URL }}",
        "renderHeavyJs": true,
        "useOutputSchema": true
      },
      "credentials": {
        "scrapegraphAIApi": {
          "id": "EOxCPnl9IynxgpyB",
          "name": "ScrapegraphAI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "32e9c8fb-a015-40f0-b2be-c65a689bc335",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        864,
        272
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "d83e6ad5-621c-4ca4-9177-194d673f626d",
      "name": "Min price?",
      "type": "n8n-nodes-base.if",
      "position": [
        864,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "79dfbedd-c17c-4913-b739-3f6395cea670",
              "operator": {
                "type": "number",
                "operation": "lt"
              },
              "leftValue": "={{ $json.result.price }}",
              "rightValue": "={{ $('Loop').item.json['MIN PRICE'] }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "ddc8c4de-cc4e-4286-a21e-0160a692d897",
      "name": "Update price",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        256,
        256
      ],
      "parameters": {
        "columns": {
          "value": {
            "DATE": "={{$now.format('dd/LL/yyyy')}}",
            "MIN PRICE": "={{ $('Scrape Amazon Product Price').item.json.result.price }}",
            "row_number": "={{ $('Loop').item.json.row_number }}"
          },
          "schema": [
            {
              "id": "PRODUCT ",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "PRODUCT ",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "URL",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "URL",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "DATE",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "DATE",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "MIN PRICE",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "MIN PRICE",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "row_number",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "row_number"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo/edit?usp=drivesdk",
          "cachedResultName": "Amazon Price Alert"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "5e331171-bc70-44b6-92fe-04e8bc9f83f1",
      "name": "Send alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        576,
        256
      ],
      "webhookId": "0ed28553-2c4f-48cc-aed7-9cdb7dff7ff2",
      "parameters": {
        "text": "=The product {{ $('Loop').item.json['PRODUCT '] }} (sold by {{ $json['MIN PRICE'] }}) has just hit its lowest price yet on Amazon! 🎉 Check it out: {{ $('Min price?').item.json.website_url }}",
        "chatId": "XXX",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "0hSq9VwaiJifiscT",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "adefe5e4-1533-4dcc-8933-21de86f3fca6",
      "name": "Get products",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -16,
        -16
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo/edit?usp=drivesdk",
          "cachedResultName": "Amazon Price Alert"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "58665e12-61a2-4fca-ba9c-8632a693f9ef",
      "name": "Loop",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        256,
        -16
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "43d41bfa-6dcf-417c-b645-2cc49220be28",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -608
      ],
      "parameters": {
        "color": 3,
        "width": 640,
        "height": 384,
        "content": "## Track Amazon Product Prices with ScrapeGraphAI\n\nThis workflow automates the process of **monitoring Amazon product prices** and **sending alerts** when a product’s price drops below a defined threshold.\n\nIt integrates **ScrapeGraphAI**, **Google Sheets**, and **Telegram** to provide a complete end-to-end price tracking system.\n\nThis automated workflow tracks Amazon product prices and sends an alert via Telegram when a product hits a new lowest price."
      },
      "typeVersion": 1
    },
    {
      "id": "e0675997-61a9-4ab1-84fa-5fdf11e7861f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -608
      ],
      "parameters": {
        "width": 544,
        "height": 112,
        "content": "## STEP 1\n- Install the ScrapeGraph Community node\n- Register for FREE to [ScrapeGraphAI](https://dashboard.scrapegraphai.com/?via=n3witalia) and get API KEY"
      },
      "typeVersion": 1
    },
    {
      "id": "b9a09f0f-f3c5-43a4-b806-c9675530a2be",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -464
      ],
      "parameters": {
        "width": 544,
        "height": 128,
        "content": "## STEP 2\n- Clone [this sheet](https://docs.google.com/spreadsheets/d/1_FBegOUXt3657og_ScfuiLCERWHtxDWn14799HkVrUo/edit?usp=sharing)\n- Set Product name, Product Amazon Url and Min Price (when you add a new product, please insert 9999)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "c0ad8f90-1a21-4f35-aff4-1e098300d082",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -304
      ],
      "parameters": {
        "width": 544,
        "height": 80,
        "content": "## STEP 3\n- Add your Telegram ID in \"Send Alert\" node"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "97fb6e87-7f47-4690-baac-da63a67313f3",
  "connections": {
    "Loop": {
      "main": [
        [],
        [
          {
            "node": "Scrape Amazon Product Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Min price?": {
      "main": [
        [
          {
            "node": "Update price",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Send alert": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get products": {
      "main": [
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update price": {
      "main": [
        [
          {
            "node": "Send alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Amazon Product Price": {
      "main": [
        [
          {
            "node": "Min price?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

相关工作流