Automated business KPI insights with GPT-4, MSSQL, analytics & multi-channel alerts
Ready for 3.0What 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).
- Yesterday's Revenue (Microsoft SQL): run a query
- Yesterday's Registered Users (Microsoft SQL): run a query
- Yesterday's Report (Google Analytics): uses Google Analytics
- Yesterday's Marketing Expenses (Google Sheets): uses Google Sheets
- Check data (If): checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Condition for google report (If): checks a condition and branches into true / false
- Condition for marketing reports (If): checks a condition and branches into true / false
- Get only Total Revenue Amount (Summarize): summarizes / groups the items
- Send Error Email (Send Email): sends an email over SMTP
…plus 11 more steps. See the full node list below.
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Microsoft SQL
n8n-nodes-base.microsoftSql - Google Analytics
n8n-nodes-base.googleAnalytics - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Summarize
n8n-nodes-base.summarize - Edit Fields (Set)
n8n-nodes-base.set - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
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,…