Automated Marketing Reporting: Send Weekly Lead Summaries with n8n – 30 Days of n8n & Automation – Day 14

1/2/2026By Alfaz Mahmud
Automated Marketing Reporting: Send Weekly Lead Summaries with n8n – 30 Days of n8n & Automation – Day 14

Dashboards are where data goes to die.

We build them with the best intentions. We set up Looker Studio, Tableau, or complex CRM dashboards. But let’s be honest: nobody logs in to check them. Clients lose their login details, and sales managers are too busy closing deals to interpret line graphs.

If you want your stakeholders to actually value your results, you must push the data to where they live: their inbox.

Comparison of manual spreadsheet chaos versus clean automated marketing reporting via email. Title reads '30 Days of n8n & Automation - Day 14'. Branded with whoisalfaz.me  by Alfaz Mahmud Rizve

Automated marketing reporting changes the dynamic from “passive tracking” to “active accountability.” When a CEO or Agency Client wakes up every Monday to a clean summary of exactly how many leads came in, where they came from, and how many were qualified, the perceived value of your service skyrockets.

In this Day 14 guide of 30 Days of n8n & Automation, we are building a “Push” reporting engine. We will aggregate data from the past week, summarize it by source, and deliver a beautiful HTML report via email—automatically.

Throughout this guide, examples come from the actual reporting pipelines Alfaz Mahmud Rizve builds for high-ticket agencies at whoisalfaz.me.


Why “Push” Reporting Beats “Pull” Dashboards

A “Pull” system (like a dashboard) requires willpower. You have to remember to log in, filter the dates, and interpret the data. A “Push” system (like automated marketing reporting) requires zero effort. It arrives like a newspaper.

For agencies, this is a retention tool. If your client doesn’t hear from you, they assume you aren’t working. A weekly automated report saying “We generated 43 leads this week” is a heartbeat signal that proves your value.

At whoisalfaz.me, Alfaz Mahmud Rizve follows the “Monday Morning Rule”: The most important metrics must be in the client’s inbox before they finish their first coffee.


Architecture: The “Aggregation Pattern”

Unlike previous days where we reacted to a single event (New Lead), today we are processing batches of data.

n8n workflow diagram for automated marketing reporting showing the flow from scheduling to email delivery at whoisalfaz.me with alfaz mahmud rizve

The Workflow Logic:

  1. Trigger: A Schedule Node runs every Monday at 8:00 AM.
  2. Fetch: We pull all leads created in the last 7 days from the database (Google Sheets or CRM).
  3. Transform: We use a Code Node to group them by “Source” (FB, LinkedIn, Organic) and count the totals.
  4. Format: We convert that raw JSON data into a clean HTML table.
  5. Deliver: We send a professionally formatted email via Gmail or Outlook.

Step-by-Step: Building Your Automated Marketing Reporting Engine

Let’s open n8n and build this reporting machine.

Phase 1: The Schedule & The Fetch

Node 1: Schedule Trigger

Node 2: Date & Time (The “Lookback” Window)

Node 3: Google Sheets (or HubSpot/Pipedrive)

Phase 2: The Aggregation (The Brains)

This is where n8n shines. Most automated marketing reporting tools charge extra for “custom logic.” In n8n, it’s just a few lines of JavaScript. We don’t want to send a list of 50 names; we want a summary.

Node 4: Code Node (The Summarizer) We need to group leads by source.

JavaScript

// Simple grouping logic for Marketing Reporting
const leads = $input.all().map(item => item.json);
const summary = {};

leads.forEach(lead => {
  // Ensure your column in Sheets/CRM is named 'Source'
  const source = lead.Source || 'Unknown'; 
  summary[source] = (summary[source] || 0) + 1;
});

// Convert back to n8n format for the HTML node
return Object.keys(summary).map(key => ({
  json: { "Marketing Source": key, "Lead Count": summary[key] }
}));

Phase 3: The Formatting (Making it Beautiful)

Sending raw JSON is ugly. Executives want tables.

Node 5: HTML (or “Create HTML Table”)

Phase 4: Delivery

Node 6: Gmail / Outlook

Example of an automated marketing reporting email displayed on a mobile device with a lead summary table at whoisalfaz.me with alfaz mahmud rizve

Real-World Use Case: The “Health Score” Highlight

At whoisalfaz.me, we take automated marketing reporting a step further. We don’t just count leads; we grade them.

In the aggregation step, we calculate a “Lead Health Score”:

  1. Qualified Leads: Count of leads where Status = “Qualified”.
  2. Response Rate: Percentage of leads who replied (using data from Day 12).
  3. Speed to Lead: Average time between “Created” and “First Call”.

If the “Speed to Lead” is over 1 hour, we set a flag to highlight that row in RED in the HTML email. This turns the report from a “summary” into a “call to action.”


Common Mistakes with Automated Reporting

  1. Sending Empty Reports: If you had 0 leads this week, sending a blank table looks broken. Use an If node to check if leads.length == 0 and send a different email (“Quiet week, let’s review ad spend”) instead.
  2. Timezone Confusion: Ensure your Schedule trigger matches your client’s timezone, not the server’s. A Monday report arriving on Sunday night confuses everyone.
  3. Broken HTML: Email clients (especially Outlook) are notoriously bad at rendering complex HTML. Keep your tables simple. No Javascript, no complex CSS grids.

Checklist: Go Live


Series Context

This article is part of the 30 Days of n8n & Automation series at whoisalfaz.me.

Earlier posts you should read next:

If you are ready to stop being a data clerk and start being a strategic partner, build this automated marketing reporting workflow today.

Then, subscribe to the newsletter at whoisalfaz.me so you do not miss tomorrow’s Day 15 automation in the 30 Days of n8n & Automation series from Alfaz Mahmud Rizve.