Templates / Automated business KPI insights with GPT-4, MSSQL, analytics & multi-channel alerts

Automated business KPI insights with GPT-4, MSSQL, analytics & multi-channel alerts

Ready for 3.0

by Mohamed Abubakkar ✓ · 1,591 views · created 2025-12-22 · Market Research, AI Chatbot

Ready 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.

What this workflow does

This AI workflow has 24 nodes and runs on a schedule (every day at 08:00). Along the way it connects Microsoft SQL, Google Analytics, Google Sheets and OpenAI Chat Model and 1 more.

How it runs

Trigger: On a schedule (every day at 08:00).

  1. Yesterday's Revenue (Microsoft SQL): run a query
  2. Yesterday's Registered Users (Microsoft SQL): run a query
  3. Yesterday's Report (Google Analytics): uses Google Analytics
  4. Yesterday's Marketing Expenses (Google Sheets): uses Google Sheets
  5. Check data (If): checks a condition and branches into true / false
  6. If: checks a condition and branches into true / false
  7. Condition for google report (If): checks a condition and branches into true / false
  8. Condition for marketing reports (If): checks a condition and branches into true / false
  9. Get only Total Revenue Amount (Summarize): summarizes / groups the items
  10. Send Error Email (Send Email): sends an email over SMTP

…plus 11 more steps. See the full node list below.

Services it uses

Microsoft SQLGoogle AnalyticsGoogle SheetsOpenAI Chat ModelWhatsApp Business Cloud

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

WORKFLOW OVERVIEW This workflow is an AI-powered business intelligence agent designed for founders and business owners. It automatically collects key business metrics, calculates performance KPIs, applies decision logic, uses AI reasoning, and sends clear,…

Excerpt from Mohamed Abubakkar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.