{"product_id":"n8n-workflow-tradient-gpt-4o-mini-market-alerts-via-gmail","title":"n8n Workflow: Tradient + GPT-4o Mini Market Alerts via Gmail","description":"\u003ch3\u003eGet real-time-style India market alerts—automatically—using n8n + Tradient + GPT-4o Mini\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors the latest Indian stock-market news from the Tradient API during NSE\/BSE trading hours, uses OpenAI (GPT-4o mini) to assess relevance and severity, and sends concise investor alerts via Gmail for high-impact events.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns daily on a schedule\u003c\/strong\u003e and starts only when the current time is within \u003cstrong\u003eNSE\/BSE market hours (9:15 AM–3:30 PM IST)\u003c\/strong\u003e (Asia\/Kolkata).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches market news\u003c\/strong\u003e from the \u003cstrong\u003eTradient API\u003c\/strong\u003e and normalizes each article into a consistent format.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters noise\u003c\/strong\u003e by excluding routine announcements and keeping only important sub-categories and\/or items containing high-signal keywords.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI to classify events\u003c\/strong\u003e: for each remaining item, the workflow requests GPT-4o mini to determine event type, severity, market impact, investor relevance, and whether an alert should be sent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends alerts only when warranted\u003c\/strong\u003e: it keeps items where OpenAI recommends sending an alert and the \u003cstrong\u003eseverity is not Low\u003c\/strong\u003e, then removes duplicates using article ID.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a short, actionable alert\u003c\/strong\u003e in JSON, formats it for email, and sends it using \u003cstrong\u003eGmail\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eInvestor or operator who wants \u003cstrong\u003ehigh-signal market updates\u003c\/strong\u003e during trading hours without manually scanning headlines.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building an \u003cstrong\u003en8n market intelligence pipeline\u003c\/strong\u003e that combines APIs + LLM classification + email delivery.\u003c\/li\u003e\n  \u003cli\u003eSaaS teams adding \u003cstrong\u003eAI-assisted alerting\u003c\/strong\u003e for newsletters or internal monitoring tools.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n workflow automation\u003c\/strong\u003e with nodes: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, and \u003cstrong\u003esticky note\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: Tradient API (market news fetch), OpenAI via GPT-4o mini (classification + alert JSON), and Gmail OAuth2 (email sending).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey logic\u003c\/strong\u003e: market-hours gating, keyword\/sub-category filtering, OpenAI-driven severity + relevance filtering, deduplication by article ID, and formatted email output.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45748945551539,"sku":"N8N-17689","price":48.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/PAxl-6ZsIEPegZoNzX48h_lgjkavP3.png?v=1785575455","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-tradient-gpt-4o-mini-market-alerts-via-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}