Skip to main content

Stock market daily digest with Bright Data scraping & Gemini AI email reports

Workflow preview

Workflow preview
100%
Stock market daily digest with Bright Data scraping & Gemini AI email reports preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow makes it easier to keep track of the stocks market and get an email with a summary of the daily highlights on what happened, key insights and trends Setup Guide 1. Define the schedule...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.switch, n8n-nodes-base.splitout, n8n-nodes-base.set, n8n-nodes-base.aggregate, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Stock market daily digest with Bright Data scraping & Gemini AI email reports
Workflow name
Stock market daily digest with Bright Data scraping & Gemini AI email reports

This workflow makes it easier to keep track of the stocks market and get an email with a summary of the daily highlights on what happened, key insights and trends

Setup Guide

  1. Define the schedule (days, times, intervals).

  2. Replace sample stock data with your desired stock list (ticker, name, etc.) in JSON format.

  3. Split Out the fields to have a clean list of the stocks to monitor

  4. set keyword node Extracts the stock ticker from each item and sets it to the keyword property.

  5. Financial times scraper Triggers the Bright Data Datasets API to scrape financial data. Set the node as below

    • Method: POST
    • URL: https://api.brightdata.com/datasets/v3/trigger
    • Query Parameters:
      • dataset_id: Replace with your Bright Data dataset ID.
      • include_errors: true
      • type: discover_new
      • discover_by: keyword
    • Headers:
      • Authorization: Bearer YOUR_BRIGHTDATA_API_KEY Replace with your Bright Data API key.
    • Body: JSON, ={{ $('set keyword').all().map(item => item.json)}}
    • Execute Once: Checked.
  6. Get progress node Checks the status of the Bright Data scraping job if complete, or running Setup:

    • URL: https://api.brightdata.com/datasets/v3/progress/{{ $json.snapshot_id }}
    • Headers:
      • Authorization: Bearer YOUR_BRIGHTDATA_API_KEY Replace with your Bright Data API key.
  7. Get snapshot + data retrieves the scraped data from the Bright Data API. Pass the request as

    • URL: https://api.brightdata.com/datasets/v3/snapshot/{{ $json.snapshot_id }}
    • Query Parameters: format: json
    • Headers:
      • Authorization: Bearer YOUR_BRIGHTDATA_API_KEY Replace with your Bright Data API key.
  8. Aggregate. Combines the data from each stock item into a single object

  9. Update to sheet and add all items to This sheet. Make a copy before you can map the data

  10. create summary node generates a summary of the scraped stock data using the Google Gemini AI model and notifies you via Gmail. Setup:

    • Prompt Type: define
    • Text: Customize the prompt to define the AI's role, input format, tasks, output format (HTML email), and constraints.
  11. Google Sheets. Appends the scraped data to a Google Sheet. This should be set to automap so as to adjust to the results found in the request

Important Notes:

  • Remember to replace placeholder values (API keys, dataset IDs, email addresses, Google Sheet IDs) with your actual values.
  • Review and customize the AI prompt for the "create summary" node to achieve the desired email summary output.
  • Consider adding error handling for a more robust workflow.
  • Monitor API usage to avoid rate limits.

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 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 2 - Get progress

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 4 - Split Out

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

Block 5 - SAMPLE DATA

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

Block 6 - set keyword

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

Block 7 - Financial times scraper

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Get snapshot + data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Aggregate

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

Block 10 - Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 11 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 12 - create summary

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

Block 13 - Schedule Trigger

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

Block 14 - Sticky Note

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

Block 15 - Sticky Note1

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

Block 16 - Sticky Note2

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

Block 17 - Sticky Note3

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

Block 18 - Sticky Note4

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

Block 19 - Sticky Note5

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

Block 20 - Sticky Note6

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

Block 21 - Sticky Note7

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

Block 22 - Gmail1

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

3. Summary Table

Workflow Stock market daily digest with Bright Data scraping & Gemini AI email reports
Complexity advanced
Nodes 22
Categories Crypto Trading, AI Summarization
Author Zacharia Kimotho
Published 25 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5305/5305.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 Stock market daily digest with Bright Data scraping & Gemini AI email reports do?

This workflow makes it easier to keep track of the stocks market and get an email with a summary of the daily highlights on what happened, key insights and trends Setup Guide 1. Define the schedule...

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 Crypto Trading, AI Summarization use case.