In short
An automated weekly KPI reporting workflow that collects performance data, calculates key business metrics, compares weekly results, generates AI-powered insights, and delivers structured HTML reports directly to Discord.
The problem
Weekly performance reporting often requires manually collecting data, calculating business metrics, comparing results across reporting periods, and preparing summaries for stakeholders.
This repetitive process takes time, increases the risk of calculation errors, and delays access to important business insights.
What we built
An automated KPI reporting workflow using n8n, API integrations, AI-powered analysis, and Discord.
The system runs on a weekly schedule, retrieves performance data for the current and previous reporting periods, validates the information, and calculates key business metrics.
AI generates a concise performance summary, while the workflow creates a structured HTML report and delivers the results to Discord.
How it works
Scheduled execution — Automatically start the reporting workflow every week.
Data collection — Retrieve current and previous week's KPI data through HTTP requests.
Data validation — Verify that the required performance information is available.
KPI calculations — Calculate revenue, advertising spend, orders, conversion rate, and return on ad spend (ROAS).
Performance comparison — Compare key metrics between reporting periods.
AI analysis — Generate a concise summary of performance trends and notable changes.
HTML report generation — Format the results into a structured, readable report.
Automated delivery — Send the report and performance summary to Discord.
The result
A repeatable reporting workflow that transforms raw performance data into organized business insights.
The automation reduces manual reporting tasks, standardizes KPI calculations, and provides consistent weekly performance updates in a format that is easy to review and share.




