Overview
Filtering TradingView alert emails manually wastes time and risks missed signals. This template automates daily email detection, extracts stock symbols from alerts, records them in Google Sheets, and sends instant summary notifications—eliminating manual drudgery and ensuring timely, consistent data capture.
The Impact
- Automate symbol extraction. No more manual scanning of alert emails.
- Centralize data logging. All symbols recorded daily in Google Sheets for easy analysis.
- Instant notifications. Receive timely email summaries of detected stock symbols.
- Improve accuracy. Regex-based extraction reduces errors and duplicates.
Who This Is For
- Quantitative Researchers aggregating daily TradingView signals for backtesting strategies.
- Active Traders needing real-time alerts and recordkeeping of triggered stock signals.
- Market Analysts monitoring frequently mentioned stocks for sentiment and trend spotting.
- Data Analysts automating extraction and logging of financial alert data.
How It Works
- Get Today Date
- Calculate today and tomorrow's date strings to filter emails within the current day.
- Get Today Emails
- Retrieve all TradingView alert emails sent today using Gmail API with time and sender filters.
- Extract Stock Symbols
- For each email, extract stock symbols using multiple regex patterns, deduplicate, and count them.
- Record and Notify
- Append extracted data to Google Sheets and send a notification email summarizing detected symbols.
- Complete
- End workflow after processing all emails and logging results.
What You'll Need
Before using this template, make sure you have:
- Gmail OAuth credentials configured to access your email for alert retrieval.Google Sheets OAuth credentials to append data to your spreadsheet.A Google Sheets spreadsheet with headers set to Date, Symbols, Symbol Count, and Original Subject.Access to the spreadsheet ID and target range or sheet name for data entry.An email address to receive daily notifications of extracted symbols.
How to Use
- Step 1. Prepare Google Sheets
- Step 2. Configure Credentials
- Step 3. Set Parameters
- Step 4. Run the Workflow
- Step 5. Verify Results
Create a Google Sheets table with columns: Date, Symbols, Symbol Count, Original Subject.
Set up Gmail and Google Sheets OAuth credentials in the workflow.
Input SpreadsheetId, RangeName, and NotificationEmail in the start node.
Execute to automatically fetch, extract, log, and notify based on today’s TradingView emails.
Check your Google Sheets for new entries and confirm receipt of notification emails.