Stop chasing shop managers for sales updates. This workflow turns messy spreadsheets into a clean executive summary delivered to your pocket every night.
Project Overview
This n8n workflow automates business performance reporting for multi-shop retailers. It intelligently detects the report type (daily, weekly, or monthly) based on the schedule and sends comprehensive business metrics directly to the owner via Telegram every night at 11 PM.
Perfect for: Small businesses, retail chains, or anyone managing multiple sales locations who needs daily operational insights.
Key Features
Automated Daily Schedule โ Triggers every night at 11 PM
Smart Report Detection โ Automatically generates Daily, Weekly, or Monthly reports based on the date
Multi-Shop Data Aggregation โ Consolidates sales data from 3 different shop locations
Stock Level Monitoring โ Tracks inventory and low-stock alerts
Debt Management โ Sends separate alerts for outstanding debts
Telegram Notifications โ Delivers formatted reports directly to your phone
Easy to Scale โ Add more shops without modifying the core logic
Report Types
| Trigger | Report Type |
|---|---|
| Day 1 of Month | |
| Saturday | |
| All Other Days |
Workflow Structure
Schedule Trigger (11 PM)
โ
Identify Schedule Type
โ
โโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโ
โ โ โ โ โ โ
โ โ โ โ โ โ
Read Shop A Read Shop B Read Shop C Read Stock Read Debt
โ โ โ โ โ
โโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโ
โ
Merge All Data
โ
Calculate Report
โ
โโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
Send Report Check Debt?
to Telegram โ
Send Debt Alert
Data Structure (Google Sheets)
Shop Tabs (A, B, C)
Columns: date | product_name | qty_sold | unit_price | unit_cost |
total_sale | total_profit | shop_id
Stock Tab
Columns: product_name | current_stock | low_stock_alert |
unit_cost | last_updated
Debt Tab
Columns: debtor_name | shop_id | amount_owed | amount_paid |
due_date | status | paid_date | notes
How It Works
-
Schedule Trigger โ Workflow activates at 11 PM daily
-
Identify Schedule โ Code node detects the report type (Daily/Weekly/Monthly)
-
Data Collection โ Parallel nodes fetch data from all three shops, stock, and debt records
-
Data Merge โ Combines all 5 data sources into a single payload
-
Calculate Report โ Processes and formats the data with calculations
-
Send Report โ Delivers formatted report to Telegram (always)
-
Check Debt โ Conditional node checks if debt alerts exist
-
Send Debt Alert โ If debts found, sends a separate Telegram alert
Setup Requirements
Credentials Needed
-
Google Sheets OAuth2 โ Read access to your business data spreadsheet -
Telegram Bot API โ Send messages to your Telegram account
Steps to Deploy
-
Import the workflow into your n8n instance
-
Connect Google Sheets OAuth2 with your Google account
-
Create a Telegram Bot (via @BotFather on Telegram)
-
Add your Telegram Bot Token to n8n
-
Update the Google Sheet ID in the workflow to match your spreadsheet
-
Verify sheet tab names match the workflow (shop_A, shop_B, shop_C, stock, Debt)
-
Activate the workflow and receive your first report at 11 PM
Use Cases
-
Retail Chains โ Monitor sales across multiple store locations -
Small Businesses โ Daily operational dashboards without manual reporting -
Franchise Operations โ Compare performance between franchises -
Debt Management โ Automated creditor alerts and payment tracking -
Analytics โ Historical data for trend analysis and forecasting
Customization Ideas
-
Add SMS notifications as backup (Twilio) -
Include email reports (Gmail node) -
Create Google Sheets summaries or pivot tables -
Add custom alert thresholds (e.g., low stock warnings) -
Archive reports to Google Drive weekly -
Add WhatsApp integration instead of Telegram -
Create separate reports by shop location
Performance Tips
-
Parallel Execution โ All shop data is read simultaneously for speed
-
Scheduled Trigger โ Uses native n8n scheduler for reliability
-
Conditional Logic โ Debt alerts only sent when necessary
-
Error Handling โ Add error nodes to catch missing data gracefully
Notes
-
Ensure your Google Sheet has headers in the first row
-
The workflow currently supports 3 shops (easily expandable)
-
Telegram Bot must be started with /start command before first message
-
Consider timezone settings if running across different regions
Community Support
Have questions or improvements? Feel free to:
-
Comment below with your feedback -
Report issues or edge cases -
Share your customizations -
Suggest workflow enhancements
Download On GitHub
github.com/Siratalm/business-report-automation
Tags: #n8n #automation #business #reporting telegram #googlesheets #retail #workflow
Author: MD MUSTAKIM ALI (siratal)
Status:
Active & Tested
