{
  "name": "Collect & analyze reviews with Decodo scraping",
  "nodes": [
    {
      "id": "3b6fb56e-a533-4edc-96cf-a283f0a2eeb2",
      "name": "Start Review Collection",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -2064,
        256
      ]
    },
    {
      "id": "df2fb243-e7a1-4fd3-b8e6-c5c1ebd03158",
      "name": "Set Review Source URL",
      "type": "n8n-nodes-base.set",
      "position": [
        -1856,
        256
      ]
    },
    {
      "id": "7c4ccdde-734c-425f-b6e1-b1b208db64d2",
      "name": "Review Collection Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1392,
        240
      ]
    },
    {
      "id": "c3d953b1-821e-4574-9189-48a3e14d6253",
      "name": "Decodo Review Scraper",
      "type": "@decodo/n8n-nodes-decodo.decodoTool",
      "position": [
        -1264,
        496
      ]
    },
    {
      "id": "920b3c0a-fe06-4848-8f33-a9f8370f7c84",
      "name": "Review Data Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1120,
        496
      ]
    },
    {
      "id": "796ee192-1f4d-4878-bae3-8a5d7590d795",
      "name": "Enrich Review Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -1280,
        784
      ]
    },
    {
      "id": "0557da5b-c9e6-47a6-9d3b-17ee0ad0ede6",
      "name": "OpenAI Review Analyzer",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1424,
        496
      ]
    },
    {
      "id": "50bd54fd-2c57-473f-95a1-2e51a6b93893",
      "name": "Store Reviews in Database",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1056,
        784
      ]
    },
    {
      "id": "fef00f9b-4cdc-4b58-ac2a-e2ed537827f4",
      "name": "Read Aggregated Reviews",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -800,
        784
      ]
    },
    {
      "id": "4da43422-c374-43ac-92b0-cbe99962a7b0",
      "name": "Summary Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1296,
        1184
      ]
    },
    {
      "id": "c465e972-6d5f-4047-aa48-33f5620258fd",
      "name": "OpenAI Summary Analyzer",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1328,
        1488
      ]
    },
    {
      "id": "cb020d3a-91ea-4413-8364-9a0fd7c26cbe",
      "name": "Summary Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1056,
        1504
      ]
    },
    {
      "id": "22f39613-9519-43e4-b84b-3213da6f029b",
      "name": "Send error alert",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1648,
        480
      ]
    },
    {
      "id": "62729373-8f9d-4991-8aef-d4606321ad84",
      "name": "Validate URL Format",
      "type": "n8n-nodes-base.if",
      "position": [
        -1648,
        256
      ]
    },
    {
      "id": "2ab5d61f-25e0-4e85-8dbb-7c46f72d75e7",
      "name": "Send Summary Report via Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -944,
        1184
      ]
    },
    {
      "id": "03b99672-cfb2-4a10-9cb1-75cbd1b60aa1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2880,
        -64
      ],
      "parameters": {
        "width": 368,
        "height": 688,
        "content": "## How it works\nThis workflow collects customer reviews from websites like Trustpilot. It reads the reviews, saves them to Google Sheets, and creates a summary report. You get an email with the main p"
      }
    },
    {
      "id": "b45e146a-5ff1-4681-8053-c61417cc430b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2128,
        80
      ],
      "parameters": {
        "width": 1008,
        "height": 336,
        "content": "## Start & Get Reviews\nClick the start button to begin. This sets the review website URL, checks if it's valid, then visits the site to collect all customer reviews and ratings.\n\n"
      }
    },
    {
      "id": "8f8431ca-886d-4a96-a426-146174e16c93",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        1056
      ],
      "parameters": {
        "width": 544,
        "height": 352,
        "content": "## Send Reports\nThis uses AI to find patterns and create a summary of what customers like and don't like and sends the review summary to your email."
      }
    },
    {
      "id": "13d0384c-39f8-430d-9700-92675f0d60de",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        672
      ],
      "parameters": {
        "width": 688,
        "height": 304,
        "content": "## Save & Analyze\nThis saves all collected reviews to Google Sheets, then reads back the reviews from google sheets"
      }
    }
  ],
  "connections": {
    "Summary Agent": {
      "main": [
        [
          {
            "node": "Send Summary Report via Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summary Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Summary Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Enrich Review Data": {
      "main": [
        [
          {
            "node": "Store Reviews in Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Review Data Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Review Collection Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Validate URL Format": {
      "main": [
        [
          {
            "node": "Review Collection Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send error alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Decodo Review Scraper": {
      "ai_tool": [
        [
          {
            "node": "Review Collection Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set Review Source URL": {
      "main": [
        [
          {
            "node": "Validate URL Format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Review Analyzer": {
      "ai_languageModel": [
        [
          {
            "node": "Review Collection Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Summary Analyzer": {
      "ai_languageModel": [
        [
          {
            "node": "Summary Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Read Aggregated Reviews": {
      "main": [
        [
          {
            "node": "Summary Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Review Collection Agent": {
      "main": [
        [
          {
            "node": "Enrich Review Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Review Collection": {
      "main": [
        [
          {
            "node": "Set Review Source URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Reviews in Database": {
      "main": [
        [
          {
            "node": "Read Aggregated Reviews",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}