Automated Weekly Project Cost Reports with MySQL and Outlook HTML Emails

Automates weekly MySQL queries for projects missing cost data, generates HTML reports, and sends targeted Outlook emails based on cost centers like Retail, Service, and Projects.

n8n
Automated Weekly Project Cost Reports with MySQL and Outlook HTML Emails

This n8n workflow automates the generation and distribution of weekly project cost reports by querying a MySQL database for open external projects lacking budgeted_project_cost data. It triggers every Monday at 8 AM, fetches relevant project details such as project_name and cost_center, and uses a Switch node to route data to specific Outlook email nodes based on cost_center values (e.g., Retail, Service, Projects). Each Outlook node sends a formatted HTML email report to the appropriate team, dynamically injecting values with mustache templates like {{ $json.project_name }}.

Key benefits include significant time savings for finance and operations teams by eliminating manual reporting, ensuring timely identification of missing cost data to prevent budget overruns, and providing customizable, professional HTML emails without needing AI or complex coding. It's ideal for businesses managing projects across multiple cost centers, integrating seamlessly with existing MySQL databases and Microsoft Outlook via OAuth2.

Setup is straightforward: configure MySQL credentials and the SQL query, set up Outlook OAuth2, adjust Switch conditions for your cost centers, and customize HTML templates. This no-frills workflow scales easily for larger organizations, supports SELECT-only permissions for security, and runs reliably on schedule to keep teams proactive on expense management.

$14.99
Last updated September 5, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Miscellaneous workflows

More from Viktor Guerrero

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.