{
  "id": "DRjTkkZrfqMbhifO",
  "meta": {
    "instanceId": "workflow-71897b01",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:50.090949",
    "updatedAt": "2025-09-29T07:07:50.090960",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Summarize Glassdoor Company Info with Google Gemini and Bright Data Web Scraper",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "nodes": [
    {
      "id": "b2f9fc15-9ccb-48be-ba3c-3a6033c39246",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "72ab6042-72f1-486e-9095-d17de2f441f4",
      "name": "Google Gemini Chat Model",
      "type": "n8n-nodes-base.noOp",
      "notes": "Gemini Experimental Model",
      "position": [
        1320,
        -180
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-thinking-exp-01-21"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "YeO7dHZnuGBVQKVZ",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "58ac3287-2b92-4f09-85a3-9d5393dd9d2a",
      "name": "Default Data Loader",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1440,
        -177.5
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1,
      "notes": "This documentDefaultDataLoader node performs automated tasks as part of the workflow."
    },
    {
      "id": "ad734713-959c-4e09-ac19-4df6b102678e",
      "name": "Recursive Character Text Splitter",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1528,
        20
      ],
      "parameters": {
        "options": {},
        "chunkOverlap": 100
      },
      "typeVersion": 1,
      "notes": "This textSplitterRecursiveCharacterTextSplitter node performs automated tasks as part of the workflow."
    },
    {
      "id": "350d4391-4ac2-469e-87ce-e3b84926f350",
      "name": "If Node",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        -350
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "6a7e5360-4cb5-4806-892e-5c85037fa71c",
              "operator": {
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "ready"
            }
          ]
        }
      },
      "typeVersion": 2.2,
      "notes": "This if node performs automated tasks as part of the workflow."
    },
    {
      "id": "43449263-a73e-4d49-8c0f-3d36569e1d65",
      "name": "Set Snapshot Id",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        -275
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "2c3369c6-9206-45d7-9349-f577baeaf189",
              "name": "snapshot_id",
              "type": "string",
              "value": "={{ $json.snapshot_id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "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."
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "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"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "165e3335-cc5e-49d1-9eb5-7f196c5669aa",
      "name": "Check Snapshot Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        -280
      ],
      "parameters": {
        "url": "{{ $env.BASE_URL }}",
        "options": {},
        "sendHeaders": true,
        "authentication": "{{ $credentials.genericCredentialType }}",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "kdbqXuxIR8qIxF7y",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "b0125317-c557-4c38-b9b8-97528a75acb1",
      "name": "Download the Snapshot Response",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1100,
        -400
      ],
      "parameters": {
        "url": "{{ $env.BASE_URL }}",
        "options": {
          "timeout": 10000
        },
        "sendQuery": true,
        "authentication": "{{ $credentials.genericCredentialType }}",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "kdbqXuxIR8qIxF7y",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "ec6a6d52-0e67-4100-9b7a-966029628d8e",
      "name": "Wait for 30 seconds",
      "type": "n8n-nodes-base.wait",
      "position": [
        1100,
        -175
      ],
      "webhookId": "8f2ad619-abe4-4e4e-8de7-9046d4cf3082",
      "parameters": {
        "amount": 30
      },
      "typeVersion": 1.1,
      "notes": "This wait node performs automated tasks as part of the workflow."
    },
    {
      "id": "0d77c2a9-b820-4943-a215-3f3663842b92",
      "name": "Summarization of Glassdoor Response",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1336,
        -400
      ],
      "parameters": {
        "options": {},
        "operationMode": "documentLoader"
      },
      "typeVersion": 2,
      "notes": "This chainSummarization node performs automated tasks as part of the workflow."
    },
    {
      "id": "f3753c8f-bd1d-454a-b77e-b2237030219d",
      "name": "Configure Webhook Notification",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1720,
        -400
      ],
      "parameters": {
        "url": "{{ $env.WEBHOOK_URL }}",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "summary",
              "value": "={{ $json.response.text }}"
            }
          ]
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "d5cfc596-c2b8-486f-b410-8d537fca1cf6",
      "name": "HTTP Request to Glassdoor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "method": "POST",
        "options": {},
        "jsonBody": "[\n  {\n    \"url\": \"{{ $env.WEBHOOK_URL }}\"\n  }\n]",
        "sendBody": true,
        "sendQuery": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "{{ $credentials.genericCredentialType }}",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "dataset_id",
              "value": "gd_l7j0bx501ockwldaqf"
            },
            {
              "name": "include_errors",
              "value": "true"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "kdbqXuxIR8qIxF7y",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "versionId": "50a2d845-ec43-4b97-8425-36105a8a8178",
  "connections": {
    "165e3335-cc5e-49d1-9eb5-7f196c5669aa": {
      "main": [
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-0e6eba33",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-6d1d153e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-dc8739d7",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-914a9ef3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-ce09e553",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-40cb9252",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-cf8d1d1c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-165e3335-cc5e-49d1-9eb5-7f196c5669aa-d386f3d8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b0125317-c557-4c38-b9b8-97528a75acb1": {
      "main": [
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-627745d3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-82c6bfb3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-b47444f1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-60d39bbe",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-4d6a1bf4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-a3a859db",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-a2a8b3fb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b0125317-c557-4c38-b9b8-97528a75acb1-698d71b1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f3753c8f-bd1d-454a-b77e-b2237030219d": {
      "main": [
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-def4df65",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-cd2ec342",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-1fdd30de",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-479dce41",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-cd079550",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-c9ba4227",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-f6bb5c89",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-f3753c8f-bd1d-454a-b77e-b2237030219d-f3aafc13",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d5cfc596-c2b8-486f-b410-8d537fca1cf6": {
      "main": [
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-0619de3d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-3786b312",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-beb94c36",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-cd33e67f",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-ad31d794",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-2656483e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-5f57b9d8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-d5cfc596-c2b8-486f-b410-8d537fca1cf6-0b1f26f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "72ab6042-72f1-486e-9095-d17de2f441f4": {
      "main": [
        [
          {
            "node": "error-handler-72ab6042-72f1-486e-9095-d17de2f441f4-3ae1d1e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "description": "Automated workflow: Summarize Glassdoor Company Info with Google Gemini and Bright Data Web Scraper. This workflow integrates 11 different services: stickyNote, httpRequest, wait, textSplitterRecursiveCharacterTextSplitter, lmChatGoogleGemini. It contains 23 nodes and follows best practices for error handling and security.",
  "notes": "Excellent quality workflow: Summarize Glassdoor Company Info with Google Gemini and Bright Data Web Scraper. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}