Report Generation với AI
Tạo báo cáo thủ công mỗi tuần tốn 4-8 giờ. AI có thể tự động generate reports từ data, thêm insights, và format đẹp trong vài phút.
🎯 Mục tiêu bài học
- Tự động pull data từ multiple sources
- AI analyze và generate insights
- Format professional reports
- Schedule automated delivery
📊 Types of Business Reports
Common Report Types
Text
1┌─────────────────────────────────────────────┐2│ BUSINESS REPORTS │3├─────────────────────────────────────────────┤4│ │5│ 📈 PERFORMANCE REPORTS │6│ ├── Weekly sales report │7│ ├── Monthly KPI dashboard │8│ ├── Quarterly business review │9│ └── Annual performance summary │10│ │11│ 💰 FINANCIAL REPORTS │12│ ├── P&L summary │13│ ├── Cash flow report │14│ ├── Budget vs actual │15│ └── Expense breakdown │16│ │17│ 👥 TEAM REPORTS │18│ ├── Team productivity │19│ ├── Project status updates │20│ ├── Resource utilization │21│ └── Meeting summaries │22│ │23│ 🎯 MARKETING REPORTS │24│ ├── Campaign performance │25│ ├── Social media analytics │26│ ├── Lead generation report │27│ └── Customer acquisition cost │28│ │29└─────────────────────────────────────────────┘Traditional vs AI-Powered
| Aspect | Traditional | AI-Powered |
|---|---|---|
| Data gathering | Manual export | Auto-sync |
| Analysis | Manual calculation | AI insights |
| Writing | Type from scratch | AI generates |
| Formatting | Manual styling | Templates |
| Time | 4-8 hours | 15-30 minutes |
| Frequency | Weekly/Monthly | Daily possible |
🛠️ Report Generation Tools
Tool Comparison
| Tool | Best For | Complexity | Price |
|---|---|---|---|
| ChatGPT + Sheets | Simple reports | Low | $20/mo |
| Rows.com | Spreadsheet + AI | Low | Free-$59 |
| Akkio | Business analytics | Medium | $50/mo |
| Narrative Science | Enterprise | High | Custom |
| Make + Claude | Custom automation | Medium | $50/mo |
Selection Guide
Text
1Quick one-off reports → ChatGPT2Spreadsheet-based → Rows.com3Automated recurring → Make + Claude4Enterprise scale → Narrative Science5Data visualization → Akkio + AI📝 Report Generation Workflow
Complete Workflow
Text
1┌─────────────────────────────────────────────┐2│ AUTOMATED REPORT GENERATION │3└─────────────────┬───────────────────────────┘4 │5Step 1: DATA COLLECTION6│ ├── Google Sheets (sales data)7│ ├── CRM (pipeline data)8│ ├── Analytics (traffic data)9│ └── Database (customer data)10│11Step 2: DATA AGGREGATION12│ ├── Combine sources13│ ├── Calculate metrics14│ ├── Compare periods15│ └── Identify trends16│17Step 3: AI ANALYSIS18│ ├── Generate insights19│ ├── Highlight anomalies20│ ├── Provide recommendations21│ └── Predict trends22│23Step 4: REPORT FORMATTING24│ ├── Executive summary25│ ├── Key metrics26│ ├── Charts/tables27│ └── Action items28│29Step 5: DISTRIBUTION30│ ├── Email to stakeholders31│ ├── Post to Slack32│ ├── Save to Drive33│ └── Update dashboard🔧 Hands-on: Weekly Sales Report
Step 1: Data Source Setup
Google Sheets Structure:
Text
1Sheet: Sales Data2 3| Date | Product | Quantity | Revenue | Region | Rep |4|------------|------------|----------|---------|-----------|----------|5| 2024-01-15 | Product A | 50 | $5,000 | North | Alice |6| 2024-01-15 | Product B | 30 | $3,600 | South | Bob |7| 2024-01-16 | Product A | 45 | $4,500 | North | Alice |8| ... | ... | ... | ... | ... | ... |Step 2: Create Summary Formulas
Text
1Summary Sheet:2 3This Week Metrics:4├── Total Revenue: =SUMIFS(Revenue, Date, ">="&WeekStart)5├── Total Units: =SUMIFS(Quantity, Date, ">="&WeekStart)6├── Avg Order Value: =Revenue/Orders7├── Top Product: =INDEX(Product, MATCH(MAX(Revenue), Revenue, 0))8└── Top Region: =INDEX(Region, MATCH(MAX(RegionRevenue), RegionRevenue, 0))9 10Week over Week:11├── Revenue Change: =(ThisWeek-LastWeek)/LastWeek12├── Units Change: =(ThisWeekUnits-LastWeekUnits)/LastWeekUnits13└── AOV Change: =(ThisWeekAOV-LastWeekAOV)/LastWeekAOVStep 3: AI Analysis Prompt
Claude/ChatGPT Prompt:
markdown
1You are a business analyst. Generate a weekly sales report 2based on the following data:3 4**This Week (Jan 15-21, 2024):**5- Total Revenue: $125,0006- Total Units: 1,2507- Average Order Value: $1008- Top Product: Product A ($45,000)9- Top Region: North ($52,000)10- Top Rep: Alice ($38,000)11 12**Last Week (Jan 8-14, 2024):**13- Total Revenue: $118,00014- Total Units: 1,18015- Average Order Value: $10016- Top Product: Product A ($42,000)17- Top Region: North ($48,000)18 19**Create a report with:**201. Executive Summary (3-4 sentences)212. Key Metrics Table with WoW change223. Highlights (what went well)234. Concerns (what needs attention)245. Recommendations (action items)256. Next Week Forecast26 27Use professional business language. 28Include percentage changes where relevant.29Format with clear headers and bullet points.Step 4: AI-Generated Report
markdown
1# Weekly Sales Report2## Week of January 15-21, 20243 4### Executive Summary5 6Strong week with revenue up 5.9% to $125,000, driven by 7continued strength in the North region and Product A 8performance. All key metrics showed positive momentum, 9with unit sales increasing 5.9% week-over-week.10 11### Key Metrics12 13| Metric | This Week | Last Week | Change |14|-------------------|------------|------------|---------|15| Total Revenue | $125,000 | $118,000 | +5.9% ↑ |16| Total Units | 1,250 | 1,180 | +5.9% ↑ |17| Avg Order Value | $100 | $100 | 0% |18| Active Customers | 312 | 295 | +5.8% ↑ |19 20### 🟢 Highlights21 22- **Revenue growth**: +$7,000 vs last week, marking 23 third consecutive week of growth24- **North region**: Continues to outperform, contributing 25 42% of total revenue26- **Alice (Top Rep)**: $38,000 in sales, 30% of team total27 28### 🟡 Areas of Attention29 30- **Product B**: Down 8% WoW, needs promotional support31- **South region**: Underperforming at only 18% of revenue32- **AOV flat**: Opportunity for upselling/cross-selling33 34### 📋 Recommendations35 361. **Product B promotion**: Launch 15% discount campaign 37 to boost lagging sales382. **South region focus**: Schedule coaching session with 39 South team reps403. **Upselling initiative**: Train team on bundle offers 41 to increase AOV42 43### 📈 Next Week Forecast44 45Based on current trends and pipeline:46- **Projected Revenue**: $128,000-$132,00047- **Key opportunity**: Enterprise deal ($15K) expected to close48- **Risk**: Holiday Monday may reduce selling days by 20%🔄 Automation with Make.com
Automated Weekly Report Flow
Text
1Schedule: Every Monday 8:00 AM2 3Module 1: Google Sheets4│ Action: Get weekly data5│ Range: Sales!A:F6│ Filter: Date >= Last Monday7│8Module 2: Aggregate Data9│ Calculate: Sum revenue10│ Calculate: Count orders11│ Calculate: Average order value12│ Group by: Product, Region, Rep13│14Module 3: Get Last Week Data15│ For comparison16│17Module 4: Claude API18│ Prompt: [Report generation template]19│ Include: This week + Last week data20│21Module 5: Create Google Doc22│ Template: Weekly Report Template23│ Insert: AI-generated content24│ Add: Charts from data25│26Module 6: Convert to PDF27│ Professional formatting28│29Module 7: Send Email30│ To: leadership@company.com31│ Subject: "Weekly Sales Report - [Date]"32│ Attachment: Report PDF33│34Module 8: Post to Slack35│ Channel: #sales-updates36│ Message: Summary + link to full reportClaude API Request
JSON
1{2 "model": "claude-3-sonnet-20240229",3 "max_tokens": 2000,4 "messages": [5 {6 "role": "user",7 "content": "Generate weekly sales report...\n\nData:\n[aggregated_data]\n\nLast Week:\n[last_week_data]"8 }9 ]10}📊 Different Report Templates
Executive Dashboard Report
markdown
1# Executive Dashboard2## [Month] [Year]3 4### 🎯 KPIs at a Glance5 6| Metric | Actual | Target | Status |7|--------|--------|--------|--------|8| Revenue | $1.2M | $1.1M | ✅ 109% |9| Profit Margin | 28% | 25% | ✅ 112% |10| Customer Acquisition | 450 | 400 | ✅ 113% |11| Churn Rate | 3.2% | 3% | ⚠️ 107% |12| NPS Score | 72 | 70 | ✅ 103% |13 14### 📈 Trend Analysis15 16[AI-generated insights about trends]17 18### ⚡ Quick Wins This Month19 20[AI-identified successes]21 22### ⚠️ Watch Items23 24[AI-identified concerns]25 26### 📋 Strategic Priorities Next Month27 28[AI recommendations based on data]Project Status Report
markdown
1# Project Status Report2## [Project Name] - Week [Week Number]3 4### Overall Status: 🟢 On Track / 🟡 At Risk / 🔴 Off Track5 6### Progress Summary7 8| Phase | Status | Progress | Due Date |9|-------|--------|----------|----------|10| Discovery | ✅ Complete | 100% | Jan 15 |11| Design | 🔄 In Progress | 75% | Jan 30 |12| Development | ⏳ Pending | 0% | Feb 28 |13| Testing | ⏳ Pending | 0% | Mar 15 |14 15### This Week's Accomplishments16 17[AI summary of completed tasks]18 19### Next Week's Priorities20 21[AI-generated priority list]22 23### Blockers & Risks24 25[AI-identified issues]26 27### Resource Needs28 29[AI analysis of resource requirements]Marketing Performance Report
markdown
1# Marketing Report2## [Date Range]3 4### Campaign Performance5 6| Campaign | Spend | Leads | CPL | Conv% |7|----------|-------|-------|-----|-------|8| Google Ads | $5K | 250 | $20 | 4.2% |9| Facebook | $3K | 180 | $17 | 3.8% |10| LinkedIn | $2K | 45 | $44 | 6.1% |11| Email | $0.5K | 120 | $4 | 8.5% |12 13### Channel Analysis14 15[AI insights on channel performance]16 17### Content Performance18 19| Content | Views | Engagement | Leads |20|---------|-------|------------|-------|21| Blog: AI Tips | 5,200 | 12% | 45 |22| Video: Demo | 2,800 | 28% | 32 |23| Webinar | 450 | 65% | 78 |24 25### Recommendations26 27[AI-generated optimization suggestions]🎨 Formatting & Visualization
Adding Charts to Reports
Option 1: Google Sheets Charts
Text
11. Create charts in Google Sheets22. In Make.com, export chart as image33. Insert into Google Docs report44. Auto-update when data changesOption 2: QuickChart API
Text
1URL: https://quickchart.io/chart?c={config}2 3Config:4{5 "type": "line",6 "data": {7 "labels": ["Week 1", "Week 2", "Week 3", "Week 4"],8 "datasets": [{9 "label": "Revenue",10 "data": [100000, 105000, 118000, 125000]11 }]12 }13}Option 3: Rows.com
Text
11. Import data to Rows22. Use built-in chart functions33. AI generates insights alongside44. Export as PDFProfessional Formatting Tips
Text
1✅ DO:2- Use consistent headers (H1, H2, H3)3- Include executive summary first4- Use tables for comparisons5- Add ↑↓ indicators for changes6- Color code: Green = good, Red = bad7- Include action items8 9❌ DON'T:10- Wall of text without structure11- Too many metrics (focus on key ones)12- Missing context (vs target, vs last period)13- No recommendations14- Data without insights📧 Distribution & Scheduling
Email Distribution
Text
1Distribution List:2 3CEO/Executives:4 - Frequency: Weekly summary, Monthly detailed5 - Format: PDF attachment + key highlights in body6 7Department Heads:8 - Frequency: Weekly9 - Format: Full report + department-specific section10 11Team Members:12 - Frequency: Daily/Weekly13 - Format: Slack message with key metricsSlack Integration
Text
1Channel: #weekly-reports2 3Message Format:4━━━━━━━━━━━━━━━━━━━━━━━5📊 Weekly Sales Report6Week of Jan 15-21, 20247━━━━━━━━━━━━━━━━━━━━━━━8 9💰 Revenue: $125,000 (+5.9% ↑)10📦 Units: 1,250 (+5.9% ↑)11🏆 Top Product: Product A12🌟 Top Rep: Alice13 14📎 Full Report: [link]15━━━━━━━━━━━━━━━━━━━━━━━Schedule Options
Text
1Report Type → Frequency → Best Time2 3Daily Metrics → Daily → 7:00 AM4Weekly Summary → Monday → 8:00 AM5Monthly Review → 1st of month → 9:00 AM6Quarterly Report → End of quarter → 10:00 AM7 8Tip: Send before key meetings so stakeholders 9can review beforehand.💡 Advanced: Multi-Source Reports
Combining Data Sources
Text
1Report: Comprehensive Business Review2 3Data Sources:4├── Google Sheets: Sales data5├── HubSpot: Pipeline & leads6├── Stripe: Payment metrics7├── Google Analytics: Traffic8├── Zendesk: Support tickets9└── Slack: Team activity10 11Make.com Flow:121. Pull data from all sources (parallel)132. Normalize to common format143. Aggregate key metrics154. Send to Claude for analysis165. Generate unified reportCross-Functional Insights
Text
1AI Prompt for Cross-Functional Analysis:2 3"Analyze these datasets together and identify:4 51. Correlations:6 - How does marketing spend relate to sales?7 - How does support ticket volume affect churn?8 92. Leading Indicators:10 - What predicts next month's sales?11 - What signals potential churn?12 133. Bottlenecks:14 - Where are customers getting stuck?15 - What's limiting growth?16 174. Opportunities:18 - Underserved segments19 - Product expansion possibilities20 21Data:22Marketing: [marketing_data]23Sales: [sales_data]24Support: [support_data]25Product: [product_usage_data]"🎯 Bài tập thực hành
Task 1: Create Report Template (20 phút)
Text
11. Choose a report type for your work22. Define sections needed33. List metrics to include44. Create template in Google Docs55. Identify data sourcesTask 2: Write AI Prompts (20 phút)
Text
11. Write prompt for executive summary22. Write prompt for insights generation33. Write prompt for recommendations44. Test with sample data in ChatGPT55. Refine based on output qualityTask 3: Build Automation (40 phút)
Text
11. Create Make.com scenario22. Connect Google Sheets data source33. Add Claude AI module44. Format output in Google Docs55. Setup email delivery66. Test end-to-end📚 Tổng kết
| Concept | Key Takeaway |
|---|---|
| Data Collection | Automate từ multiple sources |
| AI Analysis | Generate insights, not just numbers |
| Formatting | Professional templates save time |
| Distribution | Right format to right audience |
| Scheduling | Consistent, automated delivery |
Tiếp theo: Bài 09 - Meeting AI - Tự động ghi chú và tổng hợp action items từ meetings!
