๐Ÿ“ˆ ๐Ÿ›๏ธ Daily US Congress members stock trades report via Firecrawl + OpenAI + Gmail

โšก 3,180 views ยท ๐Ÿ“ˆ Crypto Trading & Stock Market

๐Ÿ’ก Pro Tip โ€” HTTP Request scraping tends to break when sites update their markup. If youโ€™re scraping a major platform, check if ScraperNode covers it โ€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

๐Ÿ“ฌ What This Workflow Does This workflow automatically scrapes recent high-value congressional stock trades from Quiver Quantitative, summarizes the key transactions, and delivers a neatly formatted report to your inbox โ€” every single day.

It combines Firecrawlโ€™s powerful content extraction, OpenAIโ€™s GPT formatting, and n8nโ€™s automation engine to turn raw HTML data into a digestible, human-readable email.

Watch Full Tutorial on how to build this workflow here: https://www.youtube.com/watch?v=HChQSYsWbGo&t=947s&pp=0gcJCb4JAYcqIYzv

๐Ÿ”ง How It Works ๐Ÿ•’ Schedule Trigger Fires daily at a set hour (e.g., 6 PM) to begin the data pipeline.

๐Ÿ”ฅ Firecrawl Extract API (POST) Targets the Quiver Quantitative โ€œCongress Tradingโ€ page and sends a structured prompt asking for all trades over $50K in the past month.

โณ Wait Node Allows time for Firecrawl to finish processing before retrieving results.

๐Ÿ“ฅ Firecrawl Get Result API (GET) Retrieves the extracted and structured data.

๐Ÿง  OpenAI Chat Model (GPT-4o) Formats the raw trading data into a readable summary that includes:

Date of Transaction

Stock/Asset traded

Amount

Congress memberโ€™s name and political party

๐Ÿ“ง Gmail Node Sends the summary to your inbox with the subject โ€œCongress Trade Updates - QQโ€.

๐Ÿง  Why This is Useful Congressional trading activity often reveals valuable signals โ€” especially when high-value trades are made. This workflow:

Saves time manually tracking Quiver Quant updates

Converts complex tables into a daily, readable email

Keeps investors, researchers, and newsrooms in the loop โ€” hands-free

๐Ÿ›  Requirements Firecrawl API Key (with extract access)

OpenAI API Key

Gmail OAuth2 credentials

n8n (self-hosted or cloud)

๐Ÿ’ฌ Sample Output: Congress Trade Summary โ€“ May 21

Nancy Pelosi (D) sold TSLA for $85,000 on April 28

John Raynor (R) purchased AAPL worth $120,000 on May 2 โ€ฆ and more

๐Ÿชœ Setup Steps Add your Firecrawl, OpenAI, and Gmail credentials in n8n.

Adjust the schedule node to your desired time.

Customize the OpenAI system prompt if you want a different summary style.

Deploy the workflow โ€” and enjoy your daily edge.

๐Ÿ”— Nodes Used

HTTP Request, Gmail, Schedule Trigger, OpenAI

๐Ÿ“ฅ Import

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

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup