š¬ 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/@Automatewithmarc
š§ 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.