Skip to main content

Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery

Workflow preview

Workflow preview
100%
Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Generate Weekly n8n Execution Report and Email Summary How it works Automatically runs every 7 days to pull all n8n workflow executions from the past week Merges execution data with workflow inform...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.n8n, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.filter, n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.microsoftoutlook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Wessel Bulte.

Original n8n.io source

1.1 Workflow description

Title
Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery
Workflow name
Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery

Generate Weekly n8n Execution Report and Email Summary


**Description:**

How it works

  • Automatically runs every 7 days to pull all n8n workflow executions from the past week
  • Merges execution data with workflow information to provide context
  • Generates a professional HTML report with execution statistics (errors, successes, waiting status)
  • Sends the formatted report with Outlook or Gmail

Set up steps

1. Configure n8n API Credential

  • Go to your n8n instance → Settings → API
  • Create a new API token with read access to workflows and executions
  • In this workflow, add a new "n8n" credential and paste your API token
  • This credential is used by two nodes: "Get all Workflows" and "Get all previous executions"

2. Connect Email Services

  • Configure your Outlook credential in the "Send a message outlook" node
  • Configure your Gmail credential in the "Send a message gmail" node
  • Set your preferred email recipients in both nodes

3. Adjust Schedule (Optional)

  • By default, the workflow runs every 7 days
  • Edit the "Schedule Trigger" node to change the interval if needed

Key features

  • Tracks workflow execution status and runtime metrics
  • Calculates average and total runtime for each status type
  • Provides visual HTML report with color-coded status indicators
  • Dual email delivery (Outlook + Gmail options)
  • Requires only n8n API credentials (no external API keys needed)
  • Need Help

🔗 LinkedIn – Wessel Bulte

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 2 - Get all previous executions

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 3 - Get all Workflows

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 4 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 5 - Edit Field ID to workflowId

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Filter executions last week

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 7 - Prepare html report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Send a message gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 9 - Send a message outlook

Type / Role
n8n-nodes-base.microsoftOutlook - microsoftOutlook
Config choices
Version 2

Block 10 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note - Send a message gmail

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note - Send a message outlook

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note - Prepare html report

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note - Filter executions last week

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note - Merge

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note - Edit Field ID to workflowId

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note - Get all previous executions

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note - Get all Workflows

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note - Schedule Trigger

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery
Complexity advanced
Nodes 19
Categories DevOps
Author Wessel Bulte
Published 27 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10226/10226.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate Weekly Workflow Analytics Reports with n8n API & Email Delivery do?

Generate Weekly n8n Execution Report and Email Summary How it works Automatically runs every 7 days to pull all n8n workflow executions from the past week Merges execution data with workflow inform...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.