AgentRecipes
Recipes › Finance & invoicing

How to turn payment notification emails into one weekly digest with n8n

Finance & invoicingn8n

The problem

Payment and transaction notifications arrive as a stream of separate emails (about 15 a week for the author), so it is hard to see the week at a glance.

Tools needed

Step-by-step recipe

  1. Create a Gmail label (or filter) for payment emails.
  2. Schedule the n8n workflow for Sunday at 8 AM.
  3. Fetch the past week's labelled messages, aggregate them and truncate the combined text to 100K characters.
  4. Have an AI Agent node write the digest from a system-message template.
  5. Convert the Markdown to HTML in a Code node and send it with Gmail.

Copyable prompt

Prompt template
You summarise a week of payment notification emails for [NAME].
Produce: 1) a one-line total per currency, 2) a table of payments (date, payer or merchant, amount, currency, what it was for), 3) anything unusual: duplicates, failed payments, unknown merchants.
Only use amounts that appear in the emails. Format as Markdown.

Emails: {{emails}}

Original template written by AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

The workflow turns about 15 weekly notifications into a single digest email. The post shows a successful test run but no further measurements.

These are the source author's own claims. AgentRecipes has not tested or verified them.

Watch out for

Source

Original write-up: Substack ↗

Found via Agent Use Cases: “Email a weekly digest of payment notification emails”. This recipe summarises the source in our own words; read the original for the full details. Link last checked 2026-10-15.

More finance & invoicing recipes

Extract invoice data into a bookkeeping sheet with n8n and OpenAIReceipts and invoices arrive as photos and PDFs. Typing date, merchant, amount and VAT into a spreadsheet and filing the file is slow…n8nSend overdue invoice reminders with an AI agent that adjusts its tone (n8n)Chasing late payments is awkward. Reminders should be gentle for a few days overdue and firmer after weeks, and nobody wants to write…n8nGenerate and email invoices from a template with MakeFreelancers who send several invoices a week rebuild the same document by hand each time.Make

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam, unsubscribe anytime.