{"product_id":"n8n-market-news-summarizer-gemini-to-discord-webhook","title":"n8n Market News Summarizer: Gemini to Discord Webhook","description":"\u003ch3\u003eGet a clean Discord “market brief” every 6 hours—plus on-demand queries via Webhook\u003c\/h3\u003e\n\u003cp\u003e\u003cb\u003en8n Market News Summarizer: Gemini to Discord Webhook\u003c\/b\u003e automatically collects market and finance news from multiple sources, summarizes the latest headlines with \u003cb\u003eGoogle Gemini\u003c\/b\u003e, and posts a Discord-ready update to your admin channel. It also exposes a \u003cb\u003ewebhook command interface\u003c\/b\u003e for on-demand lookups (market, stock, gold, USD\/INR, and recent news) backed by \u003cb\u003en8n Data Tables\u003c\/b\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eScheduled summaries (every 6 hours):\u003c\/b\u003e Loads the latest stored market snapshot from an \u003cb\u003en8n Data Table\u003c\/b\u003e, then fetches fresh \u003cb\u003eUSD\/INR\u003c\/b\u003e, \u003cb\u003egold price\u003c\/b\u003e, and major index data from public APIs (including \u003cb\u003eYahoo Finance\u003c\/b\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eFailure handling:\u003c\/b\u003e Normalizes responses into a single metrics object and sends an alert to a \u003cb\u003eDiscord admin channel\u003c\/b\u003e if all market sources fail.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eNews aggregation + deduplication:\u003c\/b\u003e Pulls RSS feeds from \u003cb\u003eRBI\u003c\/b\u003e, \u003cb\u003eEconomic Times Markets\u003c\/b\u003e, \u003cb\u003eLivemint Markets\u003c\/b\u003e, \u003cb\u003eCNBC Markets\u003c\/b\u003e, and \u003cb\u003eUS Federal Reserve press releases\u003c\/b\u003e, merges them, filters recent items, and removes duplicates using previously sent records in an \u003cb\u003en8n “sent news” Data Table\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGemini-based summarization:\u003c\/b\u003e Builds a prompt containing market figures and shortlisted headlines, requests a \u003cb\u003eJSON output\u003c\/b\u003e summary from \u003cb\u003eGoogle Gemini\u003c\/b\u003e, and formats a finance update message for Discord.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePersistence for future runs:\u003c\/b\u003e Posts to Discord, upserts the new market snapshot into an \u003cb\u003en8n Data Table\u003c\/b\u003e, and records sent news items for future command queries.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eWebhook command interface:\u003c\/b\u003e Accepts \u003cb\u003ePOST\u003c\/b\u003e requests on a webhook endpoint, parses a chat-style command, fetches the requested data (\u003ci\u003emarket\/stock\/compare\/beststock\/gold\/usd\/news\/help\u003c\/i\u003e), and posts the result.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eWallboard-style finance updates for operators: one automated Discord brief with market + deduped news.\u003c\/li\u003e\n  \u003cli\u003eOn-demand market intelligence: answer “USD\/INR”, “gold”, or “recent news” questions via webhook commands.\u003c\/li\u003e\n  \u003cli\u003eResilient monitoring: notify admins when market sources fail, while still maintaining stored snapshots.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (n8n)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eScheduling:\u003c\/b\u003e runs every \u003cb\u003e6 hours\u003c\/b\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eIntegrations:\u003c\/b\u003e \u003cb\u003eDiscord\u003c\/b\u003e, \u003cb\u003eGoogle Gemini\u003c\/b\u003e, \u003cb\u003eYahoo Finance\u003c\/b\u003e, RSS sources, public FX\/gold APIs\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCore nodes used:\u003c\/b\u003e \u003cb\u003eif\u003c\/b\u003e, \u003cb\u003ecode\u003c\/b\u003e, \u003cb\u003eno op\u003c\/b\u003e, \u003cb\u003emerge\u003c\/b\u003e, \u003cb\u003eswitch\u003c\/b\u003e, \u003cb\u003ediscord\u003c\/b\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eState management:\u003c\/b\u003e \u003cb\u003en8n Data Tables\u003c\/b\u003e for market snapshots and “sent news” deduplication\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eWebhook endpoint:\u003c\/b\u003e command parsing and dynamic lookups via POST requests\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45905435623603,"sku":"N8N-18736","price":69.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/xNFNBCkacErBKoNeOHuzv_GvyzjZDJ.png?v=1787821864","url":"https:\/\/buyflowscripts.com\/products\/n8n-market-news-summarizer-gemini-to-discord-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}