π Send weekly project health dashboard with Google Sheets, GPT-4o mini and Gmail
β‘ 159 views Β· π Project Management
Description
Quick Overview
This workflow runs every Friday at 5 PM, reads project metrics from three Google Sheets tabs, calculates a Red/Amber/Green health status, uses OpenAI (GPT-4o mini) to generate executive summaries, and sends a color-coded HTML dashboard email via Gmail, with Slack alerts for failures.
How it works
- Runs every Friday at 5 PM on a schedule.
- Reads the latest rows from three Google Sheets tabs (Alpha, Beta, and Gamma) in parallel.
- Merges the sheet data and calculates each projectβs schedule variance, budget burn, open issue count, and overall RAG (Red/Amber/Green) status.
- Sends a per-project prompt to OpenAI (GPT-4o mini) to generate a concise three-line executive health summary.
- If the AI step fails for any project, posts an alert to a specified Slack channel.
- Aggregates all projects into a styled HTML dashboard email with overall RAG counts and sends it to your leadership list via Gmail.
- If the workflow errors at any point, posts an error alert to Slack using the workflow error trigger.
Setup
- Connect Google Sheets OAuth2 credentials and replace
YOUR_SPREADSHEET_IDand the tab references so the three read steps point to your spreadsheet. - Ensure each Google Sheets tab includes the expected columns:
project_name,planned_end,forecast_end,budget_total,budget_spent,open_issues_count, andpct_complete. - Add your OpenAI credentials and confirm the model selection (GPT-4o mini) is available in your OpenAI account.
- Connect Gmail OAuth2 credentials and update the recipient address in the email step (
your-leadership-list@example.com). - Connect Slack OAuth2 credentials and set the correct channel IDs for both the AI-failure alert and the workflow error alert.
π Nodes Used
Google Sheets, Slack, Gmail, Schedule Trigger, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File