From 660a0ee75ae581c05dc6b4af748dcdf3b6a3a2cc Mon Sep 17 00:00:00 2001 From: tejaswini Date: Thu, 9 Oct 2025 06:51:43 +0000 Subject: [PATCH] =?UTF-8?q?Day=203=20=E2=80=94=20Data=20Storage=20and=20Ba?= =?UTF-8?q?sic=20Reporting=5FUpdated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Day 3 — Data Storage and Basic Reporting_Updated --- Day_003_Data_Storage_and_Reporting.md | 41 ++++++++++++++------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/Day_003_Data_Storage_and_Reporting.md b/Day_003_Data_Storage_and_Reporting.md index e3bb272..9a03008 100644 --- a/Day_003_Data_Storage_and_Reporting.md +++ b/Day_003_Data_Storage_and_Reporting.md @@ -1,13 +1,13 @@ +Day 3 — Data Storage and Basic Reporting ## 🎯 Goal -Persist the processed data for historical analysis and send a **daily summary report** to stakeholders. +Persist processed data and send a **daily summary report** to stakeholders. --- ## 🧩 Tasks -### 1. Set Up a Data Destination -- Create a **Google Sheet** or **Database Table**. -- Define columns such as: +### 1. Set Up Data Destination +- Create a **Google Sheet** or **Database Table**: Date | ProductID | TotalRevenue | UnitsSold | AvgSentimentScore yaml @@ -15,17 +15,16 @@ Copy code --- -### 2. Store the Processed Data -- Add a **Google Sheets Node** after the Python node. -- Authenticate your Google account. -- Configure it to **Append** new rows. -- Map each field from the Python output to the corresponding columns. +### 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 the Summary Report -- Add a **Set Node** to create a short summary message. -- Example: +### 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 @@ -33,14 +32,18 @@ Copy code --- -### 4. Send the Report -- Add a **Slack** or **Email Node**. -- Send the summary to: -- A Slack channel (e.g., #daily-sales-reports), or -- A mailing list for stakeholders. +### 4. Send Report +- Add **Slack** or **Email Node**. +- Send message to the appropriate channel/email list. --- ## ✅ Deliverable -- The workflow appends daily data to a Google Sheet. -- A formatted summary is sent automatically to Slack or email. +- 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.