Files
Data-Analytics/Day_003_Data_Storage_and_Reporting.md
tejaswini 77e099784f Day 3 — Data Storage and Basic Reporting_Updated
Day 3 — Data Storage and Basic Reporting_Updated
2025-10-09 06:54:55 +00:00

1.1 KiB

#Day 3 — Data Storage and Basic Reporting

🎯 Goal

Persist processed data and send a daily summary report to stakeholders.


🧩 Tasks

1. Set Up Data Destination

  • Create a Google Sheet or Database Table: Date | ProductID | TotalRevenue | UnitsSold | AvgSentimentScore

yaml Copy code


2. Store Processed Data

  • Add a Google Sheets Node after Python node.
  • Authenticate Google account.
  • Configure to Append new rows.
  • Map fields from Python output to sheet columns.

3. Craft Summary Report

  • Add a Set Node to create a summary message: Daily Report: Top product by revenue was {{ $json.product_name }} with ${{ $json.total_revenue }} in sales.

yaml Copy code


4. Send Report

  • Add Slack or Email Node.
  • Send message to the appropriate channel/email list.

Deliverable

  • Daily analysis appended to Google Sheet.
  • Formatted summary sent to Slack/email automatically.

💡 Solution

  • Historical data now stored.
  • Stakeholders receive a daily summary without manual effort.