{
  "name": "TrustPilot SaaS product review tracker with Bright Data & OpenAI",
  "nodes": [
    {
      "id": "61361e03-f532-48ff-bea7-9902ec770ecc",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1700,
        -210
      ]
    },
    {
      "id": "f962255b-66cc-43a6-8d56-ce12905a03cf",
      "name": "Set URL and Bright Data Zone",
      "type": "n8n-nodes-base.set",
      "position": [
        -1480,
        -210
      ]
    },
    {
      "id": "6b1c8aa5-143f-47cd-acb4-f377fdbb5e66",
      "name": "Perform Bright Data Web Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1260,
        -210
      ]
    },
    {
      "id": "1c6175c1-2378-4c5e-99ea-20f2e3150ae3",
      "name": "Markdown to Textual Data Extractor",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1040,
        -210
      ]
    },
    {
      "id": "d6202509-b9ba-4c34-96b7-c1dde45db533",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1720,
        -640
      ],
      "parameters": {
        "width": 400,
        "height": 320,
        "content": "## Note\n\nDeals with the Trust Pilot data extraction and summarization by utilizing the Bright Data Web Unlocker Product.\n\n**Please make sure to set the TrustPilot URL with the Bright Data zone name. A"
      }
    },
    {
      "id": "be54db23-e209-4f46-af32-9adb8d19bac9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1260,
        -640
      ],
      "parameters": {
        "width": 480,
        "height": 320,
        "content": "## LLM Usages\n\nOpenAI GPT 4o model is being used.\n\nBasic LLM Chain for converting the markdown to textual content.\n\nInformation Extractor is being used for transforming the markdown to textual content"
      }
    },
    {
      "id": "16abf06e-1974-47c0-9b38-78c58053c54b",
      "name": "Structured JSON Data Extractor",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        -580,
        40
      ]
    },
    {
      "id": "7679de49-6ec5-4af2-9203-70e8f6f14f69",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        -440
      ]
    },
    {
      "id": "e557ffcd-cf51-424c-acf7-3596fb7bb4f5",
      "name": "Create a binary data for Structured Data Extract",
      "type": "n8n-nodes-base.function",
      "position": [
        760,
        -240
      ]
    },
    {
      "id": "e1d2fcab-c139-42df-95ca-ae8ab5aa8be2",
      "name": "Write the structured content to disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        980,
        -240
      ]
    },
    {
      "id": "f01185d3-d41e-41a2-94fb-771eaf7d8f42",
      "name": "Summarization Chain",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        -460,
        -640
      ]
    },
    {
      "id": "4579a12b-e6a7-4adb-8892-0bd3c4009e90",
      "name": "Merge the responses",
      "type": "n8n-nodes-base.merge",
      "position": [
        220,
        -240
      ]
    },
    {
      "id": "e310c62c-2ba4-4dbf-a47d-11b75e6e0e2c",
      "name": "Code to extract the first element",
      "type": "n8n-nodes-base.code",
      "position": [
        -140,
        40
      ]
    },
    {
      "id": "b784fd99-2016-439d-aff0-f489a0f183af",
      "name": "Aggregate the responses",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        440,
        -240
      ]
    },
    {
      "id": "4ce9f460-0158-4d82-9467-881866e54215",
      "name": "Initiate a Webhook Notification for the Structured Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        -40
      ]
    },
    {
      "id": "9dd0000c-daaa-4fa7-b3eb-6b389fb86f89",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -720
      ],
      "parameters": {
        "width": 440,
        "height": 460,
        "content": "## Summarization"
      }
    },
    {
      "id": "7b6e0751-d6af-4f79-9eb5-f45e1f1452ac",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -20
      ],
      "parameters": {
        "width": 740,
        "height": 420,
        "content": "## Structured Data Extract"
      }
    },
    {
      "id": "64723920-d48a-4f60-b3cb-d301afc0f3e0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -600
      ],
      "parameters": {
        "width": 1000,
        "height": 760,
        "content": "## Outbound Data Push\nOutbound data handling by merging, aggregating the data and pushing the same to multiple sources such as Google Sheets, Save to Disk, Webhook Notification"
      }
    },
    {
      "id": "a2f3ac27-3356-418d-96bc-2b14a87b375f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1720,
        -1080
      ],
      "parameters": {
        "width": 400,
        "height": 400,
        "content": "## Logo\n\n\n![logo](https://images.seeklogo.com/logo-png/43/1/brightdata-logo-png_seeklogo-439974.png)\n"
      }
    },
    {
      "id": "9128bb19-6bd1-48bc-8219-fa43e2b86218",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -960,
        20
      ]
    },
    {
      "id": "ac51c8fe-6441-41ef-b90d-a03e310bd365",
      "name": "OpenAI Chat Model for Structured Data",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -500,
        260
      ]
    },
    {
      "id": "7faf6ec0-2ff6-4f23-9122-5f0333c068b2",
      "name": "OpenAI Chat Model for Summarization",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -420,
        -420
      ]
    }
  ],
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Markdown to Textual Data Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Merge the responses": {
      "main": [
        [
          {
            "node": "Aggregate the responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarization Chain": {
      "main": [
        [
          {
            "node": "Merge the responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate the responses": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Initiate a Webhook Notification for the Structured Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create a binary data for Structured Data Extract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set URL and Bright Data Zone": {
      "main": [
        [
          {
            "node": "Perform Bright Data Web Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured JSON Data Extractor": {
      "main": [
        [
          {
            "node": "Code to extract the first element",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perform Bright Data Web Request": {
      "main": [
        [
          {
            "node": "Markdown to Textual Data Extractor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code to extract the first element": {
      "main": [
        [
          {
            "node": "Merge the responses",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Set URL and Bright Data Zone",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown to Textual Data Extractor": {
      "main": [
        [
          {
            "node": "Structured JSON Data Extractor",
            "type": "main",
            "index": 0
          },
          {
            "node": "Summarization Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model for Summarization": {
      "ai_languageModel": [
        [
          {
            "node": "Summarization Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model for Structured Data": {
      "ai_languageModel": [
        [
          {
            "node": "Structured JSON Data Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Create a binary data for Structured Data Extract": {
      "main": [
        [
          {
            "node": "Write the structured content to disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}