{
  "name": "Summarize Glassdoor company info with Google Gemini and Bright Data web scraper",
  "nodes": [
    {
      "id": "b2f9fc15-9ccb-48be-ba3c-3a6033c39246",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "72ab6042-72f1-486e-9095-d17de2f441f4",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1320,
        -180
      ]
    },
    {
      "id": "58ac3287-2b92-4f09-85a3-9d5393dd9d2a",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1440,
        -177.5
      ]
    },
    {
      "id": "ad734713-959c-4e09-ac19-4df6b102678e",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1528,
        20
      ]
    },
    {
      "id": "350d4391-4ac2-469e-87ce-e3b84926f350",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        -350
      ]
    },
    {
      "id": "43449263-a73e-4d49-8c0f-3d36569e1d65",
      "name": "Set Snapshot Id",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        -275
      ]
    },
    {
      "id": "040aae51-d79d-408c-9d03-b6b81ed9e752",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -580
      ],
      "parameters": {
        "width": 400,
        "height": 200,
        "content": "## Note\n\nDeals with the Glassdoor data extraction by using the Bright Data Web Scrapper API.\n\nThe summarization chain is being used to demonstrate the usage of the N8N AI capabilities."
      }
    },
    {
      "id": "885986ae-e9e6-48fe-816c-e8fd6f549158",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -580
      ],
      "parameters": {
        "width": 420,
        "height": 200,
        "content": "## LLM Usages\n\nGoogle Gemini Flash Exp model is being used.\n\nSummarization Chain is being used for summarization of the content"
      }
    },
    {
      "id": "165e3335-cc5e-49d1-9eb5-7f196c5669aa",
      "name": "Check Snapshot Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        -280
      ]
    },
    {
      "id": "b0125317-c557-4c38-b9b8-97528a75acb1",
      "name": "Download the Snapshot Response",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1100,
        -400
      ]
    },
    {
      "id": "ec6a6d52-0e67-4100-9b7a-966029628d8e",
      "name": "Wait for 30 seconds",
      "type": "n8n-nodes-base.wait",
      "position": [
        1100,
        -175
      ]
    },
    {
      "id": "0d77c2a9-b820-4943-a215-3f3663842b92",
      "name": "Summarization of Glassdoor Response",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        1336,
        -400
      ]
    },
    {
      "id": "f3753c8f-bd1d-454a-b77e-b2237030219d",
      "name": "Configure Webhook Notification",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1720,
        -400
      ]
    },
    {
      "id": "d5cfc596-c2b8-486f-b410-8d537fca1cf6",
      "name": "HTTP Request to Glassdoor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Download the Snapshot Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for 30 seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Snapshot Id": {
      "main": [
        [
          {
            "node": "Check Snapshot Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Summarization of Glassdoor Response",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Wait for 30 seconds": {
      "main": [
        [
          {
            "node": "Check Snapshot Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Snapshot Status": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summarization of Glassdoor Response",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request to Glassdoor": {
      "main": [
        [
          {
            "node": "Set Snapshot Id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download the Snapshot Response": {
      "main": [
        [
          {
            "node": "Summarization of Glassdoor Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "HTTP Request to Glassdoor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarization of Glassdoor Response": {
      "main": [
        [
          {
            "node": "Configure Webhook Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}