Skip to main content

Generate a personal newsfeed using Bright Data web scraping and GPT-4.1

Workflow preview

Workflow preview
100%
Generate a personal newsfeed using Bright Data web scraping and GPT-4.1 preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it Works Disclaimer: This template is for self hosted n8n instances only. This workflow is designed for developers, data analysts, a...

Best for

  • Personal Productivity automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-mcp.mcpclienttool, n8n-nodes-base.emailsend, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Daniel Shashko.

Original n8n.io source

1.1 Workflow description

Title
Generate a personal newsfeed using Bright Data web scraping and GPT-4.1
Workflow name
Generate a personal newsfeed using Bright Data web scraping and GPT-4.1

How it Works

Disclaimer: This template is for self-hosted n8n instances only.

This workflow is designed for developers, data analysts, and automation enthusiasts seeking to automate personalized news collection and delivery. It seamlessly combines n8n, OpenAI (e.g., GPT-4.1), and Bright Data’s Model Context Protocol (MCP) to collect, extract, and email the latest global news headlines.
On a schedule or via a manual trigger, the workflow prompts an AI agent to gather fresh news. The agent leverages context-aware memory and integrated MCP tools to conduct both search engine queries and direct web page scraping in real time, delivering more than just meta search results—it extracts actual on-page headlines and trusted links. Results are formatted and delivered automatically by email via your SMTP provider, requiring zero manual effort once configured.


Who is this for?

  • Developers, data engineers, or automation pros wanting an AI-powered, fully automated newsfeed
  • Teams needing up-to-date news digests from trusted global sources
  • Anyone self-hosting n8n who wishes to combine advanced LLMs with real-time web data

Setup Steps

  • Setup time: Approx. 15–30 minutes (n8n install, API configuration, node setup)
  • Requirements:
    • Self-hosted n8n instance
    • OpenAI API key
    • Bright Data MCP account credentials
    • SMTP/email provider details
  • Install the community MCP node (n8n-nodes-mcp) for n8n and set up Bright Data MCP access.
  • Configure these nodes:
    • Schedule Trigger: For automated delivery at your chosen interval.
    • Edit Fields: To inject your AI news collection prompt.
    • AI Agent: Connects to OpenAI and MCP, enabled with memory for context.
    • OpenAI Chat Model: Connects via your OpenAI credentials.
    • MCP Clients: Configure at least two—one for search (e.g. search_engine) and one for scraping (e.g. scrape_as_markdown).
    • Send Email: Set up with recipient and SMTP information.
  • Credentials must be entered into their respective nodes for successful execution.

Customization Guidance

  • Prompt Tweaks: Refine your AI news prompt to target specific genres, regions, or sources, or broaden/narrow the coverage as needed.
  • Tool Configuration: Carefully define tool descriptions and parameters in MCP client nodes so the agent can pick the best tool for each step (e.g., only scrape real news sites).
  • Delivery Settings: Adjust email recipient(s) and SMTP details as needed.
  • Workflow Enhancements: Use sticky notes in n8n for extended documentation, alternate prompts, or troubleshooting tips.
  • Run Frequency: Set schedule as needed—from hourly to daily updates.

Once configured, this workflow will automatically gather, extract, and email curated news headlines and links—no manual curation required!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 5 - List MCP Tools

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 6 - Scrape SERP Results

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 7 - Scrape Webpage

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 8 - Send the custom newsletter via email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 9 - AI news collection prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate a personal newsfeed using Bright Data web scraping and GPT-4.1
Complexity advanced
Nodes 15
Categories Personal Productivity, AI RAG
Author Daniel Shashko
Published 21 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4272/4272.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate a personal newsfeed using Bright Data web scraping and GPT-4.1 do?

How it Works Disclaimer: This template is for self hosted n8n instances only. This workflow is designed for developers, data analysts, a...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI RAG use case.