Workflow: Extract & Summarize Wikipedia Data with Bright Data and Gemini AI
Integrations: httpRequest, manualTrigger, noOp, set, stickyNote

{"id": "sczRNO4u1HYc5YV7", "meta": {"instanceId": "workflow-ac4fb2f7", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:50.734787", "updatedAt": "2025-09-29T07:07:50.734808", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "name": "Extract & Summarize Wikipedia Data with Bright Data and Gemini AI", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "nodes": [{"id": "0f4b4939-6356-4672-ae61-8d1daf66a168", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [340, -440], "parameters": {}, "typeVersion": 1, "notes": "This manualTrigger node performs automated tasks as part of the workflow."}, {"id": "167e060a-c36c-462a-826c-81ef379c824b", "name": "Google Gemini Chat Model For Summarization", "type": "n8n-nodes-base.noOp", "position": [1520, -60], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "YeO7dHZnuGBVQKVZ", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1, "notes": "This lmChatGoogleGemini node performs automated tasks as part of the workflow."}, {"id": "a51f2634-8b59-4feb-be39-674e8f198714", "name": "Google Gemini Chat Model2", "type": "n8n-nodes-base.noOp", "position": [1000, -240], "parameters": {"options": {}, "modelName": "models/gemini-2.0-pro-exp"}, "credentials": {"googlePalmApi": {"id": "YeO7dHZnuGBVQKVZ", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1, "notes": "This lmChatGoogleGemini node performs automated tasks as part of the workflow."}, {"id": "a1ec001f-6e97-4efb-91d9-9a037fbf472c", "name": "Summary Webhook Notifier", "type": "n8n-nodes-base.httpRequest", "position": [1860, -280], "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": "f4dd93b5-2a33-4ac7-a0c9-9e0956bea363", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [340, -820], "parameters": {"width": 400, "height": 300, "content": "## Note\n\nThis template deals with the Wikipedia data extraction and summarization of content with the Bright Data. \n\nThe LLM Data Extractor is responsible for producing a human readable content.\n\nThe Concise Summary Generator node is responsible for generating the concise summary of the Wikipedia extracted info.\n\n**Please make sure to update the Wikipedia URL with Bright Data Zone. Also make sure to set the Webhook Notification URL.**"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "9bd6f913-c526-4e54-81f8-8885a0fe974f", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [780, -820], "parameters": {"width": 500, "height": 300, "content": "## LLM Usages\n\nGoogle Gemini Flash Exp model is being used to demonstrate the data extraction and summarization aspects.\n\nBasic LLM Chain is being used for extracting the html to text\n\nSummarization Chain is being used for summarization of the Wikipedia data.\n\n**Note - Replace Google Gemini with the Open AI or suitable LLM providers of your choice.**"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "30008ce4-4de2-43c5-bb03-94db58262f86", "name": "Wikipedia Web Request", "type": "n8n-nodes-base.httpRequest", "position": [780, -440], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "sendBody": true, "sendHeaders": true, "authentication": "{{ $credentials.genericCredentialType }}", "bodyParameters": {"parameters": [{"name": "zone", "value": "={{ $json.zone }}"}, {"name": "url", "value": "={{ $json.url }}"}, {"name": "format", "value": "raw"}]}, "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": "28656a7d-4bd8-41c8-8471-50d19d88e7f2", "name": "LLM Data Extractor", "type": "n8n-nodes-base.noOp", "position": [1000, -440], "parameters": {"text": "={{ $json.data }}", "messages": {"messageValues": [{"message": "You are an expert Data Formatter. Make sure to format the data in a human readable manner. Please output the human readable content without your own thoughts"}]}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.6, "notes": "This chainLlm node performs automated tasks as part of the workflow."}, {"id": "7045af3b-9e74-42ef-92f0-f8d3266f2890", "name": "Concise Summary Generator", "type": "n8n-nodes-base.noOp", "position": [1440, -280], "parameters": {"options": {"summarizationMethodAndPrompts": {"values": {"prompt": "Write a concise summary of the following:\n\n\n\"{text}\"\n"}}}, "chunkingMode": "advanced"}, "typeVersion": 2, "notes": "This chainSummarization node performs automated tasks as part of the workflow."}, {"id": "0cc843c1-252a-4c18-9856-5c7dfc732072", "name": "Set Wikipedia URL with Bright Data Zone", "type": "n8n-nodes-base.set", "notes": "Set the URL which you are interested to scrap the data", "position": [560, -440], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "1c132dd6-31e4-453b-a8cf-cad9845fe55b", "name": "url", "type": "string", "value": "{{ $env.API_BASE_URL }}"}, {"id": "0fa387df-2511-4228-b6aa-237cceb3e9c7", "name": "zone", "type": "string", "value": "web_unlocker1"}]}}, "notesInFlow": true, "typeVersion": 3.4}, {"id": "6cb9930f-1924-4762-8150-f5cd0e063348", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [940, -500], "parameters": {"color": 4, "width": 380, "height": 420, "content": "## Basic LLM Chain Data Extractor\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "47811535-bce5-4946-aaa6-baef87db1100", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [1400, -340], "parameters": {"color": 5, "width": 340, "height": 420, "content": "## Summarization Chain\n"}, "typeVersion": 1, "notes": "This stickyNote 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": "5b5e78fb-6e5a-4b92-838c-6c4060618e9c", "connections": {"a1ec001f-6e97-4efb-91d9-9a037fbf472c": {"main": [[{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-e8b670b1", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-14503f29", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-662e6332", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-0d02e258", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-810f102b", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-493d5ad5", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-6b856a63", "type": "main", "index": 0}], [{"node": "error-handler-a1ec001f-6e97-4efb-91d9-9a037fbf472c-81cf7c91", "type": "main", "index": 0}]]}, "30008ce4-4de2-43c5-bb03-94db58262f86": {"main": [[{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-95c2f7a2", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-dba57205", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-2780ead3", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-56bb9bd7", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-24584835", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-752d04ab", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-79bedbc2", "type": "main", "index": 0}], [{"node": "error-handler-30008ce4-4de2-43c5-bb03-94db58262f86-e4d4bdae", "type": "main", "index": 0}]]}, "167e060a-c36c-462a-826c-81ef379c824b": {"main": [[{"node": "error-handler-167e060a-c36c-462a-826c-81ef379c824b-ff22948b", "type": "main", "index": 0}]]}, "a51f2634-8b59-4feb-be39-674e8f198714": {"main": [[{"node": "error-handler-a51f2634-8b59-4feb-be39-674e8f198714-400af3d0", "type": "main", "index": 0}]]}}, "description": "Automated workflow: Extract & Summarize Wikipedia Data with Bright Data and Gemini AI. This workflow integrates 8 different services: stickyNote, httpRequest, lmChatGoogleGemini, chainLlm, set. It contains 18 nodes and follows best practices for error handling and security.", "notes": "Excellent quality workflow: Extract & Summarize Wikipedia Data with Bright Data and Gemini AI. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}