{"product_id":"discord-to-gmail-article-digest-openai-google-sheets-n8n","title":"Discord to Gmail Article Digest (OpenAI + Google Sheets) | n8n","description":"\u003ch3\u003eGet an AI-powered article digest from your Discord—then email it automatically with n8n.\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eDiscord to Gmail Article Digest (OpenAI + Google Sheets)\u003c\/strong\u003e workflow monitors a Discord channel for shared links, uses \u003cstrong\u003eOpenAI (gpt-4o-mini)\u003c\/strong\u003e to summarize each article, stores results in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and sends a formatted email digest via \u003cstrong\u003eGmail\u003c\/strong\u003e when someone types \u003cstrong\u003e!digest\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every 15 minutes\u003c\/strong\u003e to fetch recent messages from a specified Discord channel.\u003c\/li\u003e\n  \u003cli\u003e \u003cstrong\u003eIgnores bot messages\u003c\/strong\u003e, extracts URLs from user messages, and detects the \u003cstrong\u003e!digest\u003c\/strong\u003e command while tracking the \u003cem\u003elast processed command ID\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003eFor each new URL, reads the Google Sheets \u003cstrong\u003e“articles”\u003c\/strong\u003e tab and filters out URLs already saved or duplicated in the current run.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDownloads each new article’s HTML\u003c\/strong\u003e and sends it to \u003cstrong\u003eOpenAI (gpt-4o-mini)\u003c\/strong\u003e to generate:\n    \u003cul\u003e\n      \u003cli\u003eTitle\u003c\/li\u003e\n      \u003cli\u003eThree-sentence summary\u003c\/li\u003e\n      \u003cli\u003eCategory\u003c\/li\u003e\n      \u003cli\u003eKey takeaway\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends the results to Google Sheets\u003c\/strong\u003e and posts ingestion success (or error notice) back to Discord.\u003c\/li\u003e\n  \u003cli\u003eWhen a new \u003cstrong\u003e!digest\u003c\/strong\u003e command is detected, it pulls \u003cstrong\u003eunsent rows\u003c\/strong\u003e, builds an \u003cstrong\u003eHTML digest\u003c\/strong\u003e, and emails it via \u003cstrong\u003eGmail\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eAfter successful email delivery, the workflow marks those rows as \u003cstrong\u003esent\u003c\/strong\u003e in Google Sheets and confirms back to Discord.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTurn community-shared links into an \u003cstrong\u003eautomated newsletter\u003c\/strong\u003e for SaaS teams.\u003c\/li\u003e\n  \u003cli\u003eKeep operators informed by emailing a curated \u003cstrong\u003earticle digest\u003c\/strong\u003e whenever \u003cstrong\u003e!digest\u003c\/strong\u003e is requested.\u003c\/li\u003e\n  \u003cli\u003eMaintain a searchable archive of summarized links in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, deduplicated by URL.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDiscord\u003c\/strong\u003e: monitor channel messages and post processing confirmations\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e: generate structured summaries using \u003cstrong\u003egpt-4o-mini\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e: store article URL + generated fields (including a sent status) in the \u003cstrong\u003earticles\u003c\/strong\u003e tab\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e: send the HTML digest email\u003c\/li\u003e\n  \u003cli\u003eIncludes nodes\/logic such as \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eswitch\u003c\/strong\u003e, and \u003cstrong\u003esticky note\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003ePerfect for n8n automation engineers and SaaS operators\u003c\/strong\u003e who want an end-to-end OpenAI + Google Sheets workflow that starts from Discord and ends in a Gmail digest.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45758762680499,"sku":"N8N-17766","price":6.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/at9NV4fDo6JW_FdTg95p-_FUAKWnOd.png?v=1785835037","url":"https:\/\/buyflowscripts.com\/products\/discord-to-gmail-article-digest-openai-google-sheets-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}