Automated weekly project cost reports with MySQL and Outlook HTML emails
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (4)
- MySQL
n8n-nodes-base.mySql - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - Microsoft Outlook
n8n-nodes-base.microsoftOutlook
What it does
Automated Weekly Project Cost Reports with MySQL and Outlook HTML Emails π§ Use Case Need to keep your finance or operations team updated on missing project costs? This practical automated report workflow does the job without AI β and saves hours weekly. - Runs on a weekly schedule - Queries your MySQL database for projects missing cost data - Filters by budgetedprojectcost IS NULL - Generates a clean HTML email report - Sends it through Microsoft Outlook to relevant teams π How It Works 1. Schedule Trigger β Runs every Monday at 8 AM 2. MySQL Node β Connects and runs SQL to fetch project data missing budgetedprojectcost 3. Switch Node β Routes logic based on costcenter (e.g., Retail, Service, Projects) 4. Outlook Nodes β Sends formatted HTML emails; each node handles a specific group 5. Dynamic Content β Inject values using mustache tags like {{ $json.projectname }} π§ Setup Instructions 1. MySQL Setup: - Ensure the MySQL node is connected using a valid credential set: - Hostname/IP - Port (default: 3306) - Database name - Username with SELECT permissions - Password - Query Example: sql SELECT projectname, costcenter FROM tabProject WHERE status = 'Open' AND projecttype = 'External' AND budgetedprojectcost IS NULL; 2. Outlook Configuration: - Connect your Microsoft Outlook node using OAuth2 credentials. - Rename each Outlook node clearly (e.g., Send Email - Retail, Send Email - Service). 3. Switch Node: - Modify cost center values as needed to match your organization (e.g., 'Retail', 'Service', 'Projects'). 4. HTML Email Formatting: - Customize the HTML message body using inline styles and mustache syntax. - Sample: html <h3Missing Budgeted Cost Report</h3 <ul <liProject: {{ $json.projectname }}</li <liCost Center: {{ $json.costcenter }}</li </ul 5. Recipients: - Replace [email protected] with the actual email addresses of the concerned teams. π Read More π Why Simple Workflows Work πΊ Demo & Tutorial π₯ Watch the video walkthrough: https://youtube.com/@syncbricks --- π€ About the Creator Amjid Ali π amjidali.com π n8n Book π Learn n8n > βStart simple, scale smart. Even basic workflows like this can save your team hours!β β Amjid Ali