Daily Gmail inbox digest to Discord with GPT-4.1-mini and PDF conversion
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 20:00). Along the way it connects Discord, OpenAI Chat Model, Gmail and Pdfco (community).
How it runs
Trigger: On a schedule (every day at 20:00).
- get mails from past 24 h (Gmail): get many
- extract required sections from mails (Code): runs custom JavaScript code
- Aggregate: combines items into one
- Summarization Chain: summarizes text with AI, with model: OpenAI Chat Model
- separate text and markdown (Code): runs custom JavaScript code
- Markdown: converts between Markdown and HTML
- PDFco Api: url/html to pdf
- HTTP Request: calls an HTTP API
- Discord: uses Discord
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdfco is verified or supports 3.0 (used in PDFco Api).
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Discord
n8n-nodes-base.discord - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - Summarization Chain
@n8n/n8n-nodes-langchain.chainSummarization - PDFco Api
n8n-nodes-pdfco.PDFco Api - Markdown
n8n-nodes-base.markdown - Aggregate
n8n-nodes-base.aggregate - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview Automate your email management with this n8n workflow that fetches, summarizes, and shares critical emails from your Gmail inbox. Designed for busy…