Send financial market email alerts with Tradient, GPT-4o mini, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 10:00). Along the way it connects OpenAI and Gmail. It also calls api.tradient.org over HTTP.
How it runs
Trigger: On a schedule (every day at 10:00).
- Fetch Market News API (HTTP Request): calls api.tradient.org
- Filter & Normalize News (Code): runs custom JavaScript code
- AI Event Classification Node (OpenAI): uses OpenAI
- Parse AI Classification JSON (Code): runs custom JavaScript code
- Check Important Market Event (If): checks a condition and branches into true / false
- Remove Duplicate Articles (Code): runs custom JavaScript code
- Generate Advisor Alert (OpenAI): uses OpenAI
- Parse Investor Alert JSON (Code): runs custom JavaScript code
- Format Email Alert Data (Edit Fields (Set)): sets 7 fields: Subject:, Company:, Headline:…
- Send Investor Email Alert (Gmail): uses Gmail
Services it uses
Other OpenAI + Gmail templates (1,623)
HTTP calls to: api.tradient.org
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- OpenAI
@n8n/n8n-nodes-langchain.openAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs daily during Indian market hours, pulls the latest stock-market news from the Tradient API, uses OpenAI to classify event severity and relevance, and emails concise investor alerts via Gmail for high-impact events. How it…