Email a weekly digest of payment notification emails
An n8n AI workflow reads labeled payment emails in Gmail, pulls the top three takeaways from each and sends a Sunday digest.
Done withn8n
- What they did
- The author labels payment emails in Gmail, then builds an n8n workflow that runs Sunday at 8 AM. It fetches the past week's labeled messages, aggregates them, and truncates the text to 100K characters. An AI Agent node running gpt-4o-mini through OpenRouter writes the digest from a system-message template. A code node converts the markdown to HTML, and Gmail sends it.
- How it went
- The author gets about 15 payment notifications a week, and the workflow turns them into one weekly digest email. The post gives no measured results beyond a successful test run.
- Worth knowing
- Truncating to 100K characters keeps the combined email text within what OpenAI can handle. Without the formatting code node, the email shows raw markdown symbols.
Try it yourself with n8n
Build an n8n workflow that every Sunday reads emails under Gmail label [payment notifications] from the past week, has AI pull the top three takeaways from each, and compiles them into one digest. Send the digest to [my email]. It's finished when a test run produces a digest from the last week's labeled emails.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: mariannanakos.substack.com · Undated
Related use cases
Add todo items to Todoist from Telegram
A Telegram bot with an LLM and an orchestration platform (n8n or windmill) adds todos to the author's Todoist account from natural language messages.
Save and search links via a Telegram second brain
An n8n Telegram agent reads links sent to it, summarises and categorises them into Google Sheets, and answers questions from the library using Supabase semantic search.
Send travel checklists and welcome-back messages
An n8n workflow scans a travel agency's daily trip sheet and sends WhatsApp checklists 3 days before departure and welcome-back messages a day after return.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Automate payroll tax and garnishment cheque processing
A payroll team built an agent to process tax and garnishment cheques, building missing tools when it hit a system limitation.
Custom agent
Offload repetitive business operations tasks to Claude Cowork
A commenter says a company trained over 300 companies to use Claude Cowork for repetitive business operations tasks, with teams adopting paid plans.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.