πŸ“Š Email news briefing by keyword from Bright Data with AI summary

⚑ 974 views Β· πŸ“Š Market Research & Insights

Description

This n8n workflow automatically retrieves recent Reuters news articles related to a user-specified keyword, summarizes the main findings using Google Gemini, formats the output into styled HTML, and sends a clean email report to a specified address.

πŸš€ What It Does

πŸ› οΈ Step-by-Step Setup

  1. User Form: Accepts a keyword from the user via an n8n form trigger.
  2. Bright Data API: Posts a discover_new request to Bright Data’s Reuters dataset using the keyword.
  3. Snapshot Polling: Waits and checks for dataset readiness using the snapshot ID.
  4. Data Retrieval: Downloads the news data once the snapshot is complete.
  5. Parsing: Filters and sorts the latest 10 articles using a Python Code node.
  6. AI Analysis: Google Gemini summarizes the filtered content into one briefing.
  7. Markdown β†’ HTML: Converts AI response into styled HTML using Markdown + Code node.
  8. Email Delivery: Sends the briefing as an email to a predefined recipient.

🧠 How It Works

πŸ“¨ Final Output The email includes:

πŸ” Credentials Used Bright Data API (replace YOUR_API_KEY in the HTTP nodes)

Google Gemini (Flash) API

Email SMTP (configured in Email Send node)

⚠️ Notes

πŸ”— Nodes Used

Send Email, HTTP Request, Markdown, Basic LLM Chain, n8n Form Trigger, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup