Grade and deliver multi-course assignment feedback with GPT-4o, Google Drive, Slack, and Gmail

Go to Workflow
0 views
Built by Cheng Siong Chin Cheng Siong Chin
Created on June 05, 2026

Description

How It Works
This workflow automates business intelligence reporting by aggregating data from multiple sources, processing it through AI models, and delivering formatted dashboards via email. Designed for business analysts, operations managers, and executive teams, it solves the challenge of manually compiling metrics from disparate systems into coherent reports. The system triggers on schedule or webhook, extracting data from Google Sheets, databases, and APIs. Raw data flows through transformation nodes that calculate KPIs, generate trend analyses, and create visualizations. AI models (OpenAI) provide natural language insights and anomaly detection. Results populate multiple dashboard templates—executive summary, departmental metrics, and detailed analytics—each tailored to specific stakeholder needs. Formatted reports are automatically distributed via Gmail with embedded charts and actionable recommendations. This eliminates hours of manual data gathering, reduces reporting errors, and ensures stakeholders receive timely, consistent insights.

Setup Steps
Configure Google Sheets credentials and specify source spreadsheet IDs
Set up database connections (PostgreSQL, MySQL) with read-only access
Add OpenAI API key for GPT-4 analytics and narrative generation
Set Gmail OAuth credentials for automated email delivery
Define recipient lists for each dashboard type (executive, departmental, detailed)
Customize dashboard templates with company branding and preferred KPIs

Prerequisites
Active Google Workspace account with Sheets and Gmail access.
Use Cases
Automated weekly executive dashboards with YoY comparisons.
Customization
Modify dashboard templates to match corporate branding standards.
Benefits
Reduces report preparation time by 80% through full automation.

Nodes Used (10)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Drive
n8n-nodes-base.googleDrive
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Postgres
n8n-nodes-base.postgres
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured