Skip to content

πŸ“Š Welcome to Reportopia! An automated modular reporting tool for Google Sheets that generates stunning daily reports and saves them as PDFs! and automates mails! Under 100 SLOC! πŸ“„βœ¨

License

Notifications You must be signed in to change notification settings

etherbiswas/reportopia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Reportopia

Under 100 SLOC!! πŸ“Š Welcome to Reportopia! An automated modular reporting tool for Google Sheets that generates stunning daily reports and saves them as PDFs! and automates mails!! πŸ“„βœ¨

🧾 Automated Daily Report Script

πŸš€ This Google Apps Script generates daily PDF reports from a Google Sheet, sends them via email, and stores them in Google Drive. πŸ“ŠπŸ“§βœ¨

πŸ›  Use Case

This script is perfect for anyone who needs to automate daily reports or receipts, like:

  • Tracking daily receipts and expenses.
  • Automatically sending email reports to a list of recipients. πŸ“©
  • Generating PDF summaries and saving them to Google Drive. πŸ“‚

Example: Small bussiness that needs a receipt system and or keep track of finances

πŸ’‘ How It Works

  1. Fetches data from your Google Sheets (Daily Receipts & Daily Expenses).
  2. Formats the data into an HTML report with time zones for different regions. πŸŒπŸ•° Uses (California & Dhaka), you can change these to your liking.
  3. Sends the report via email to a list of recipient emails. βœ‰οΈ
  4. Creates PDF versions of the receipts and expenses, then saves them to Google Drive. πŸ“„
  5. Optionally, clears the sheet data (except headers) to prepare for the next day's entries. 🧹

πŸ§‘β€πŸ’» How to Set It Up

1. Add the Script to Your Google Apps Script Project

  • Open your Google Sheets.
  • Go to Extensions > Apps Script.
  • Paste the script code into your Apps Script project.

2. Update the Configuration

You'll need to configure a few variables to match your setup. Look for the following section in the script:

var config = {
  spreadsheetId: SpreadsheetApp.getActiveSpreadsheet().getId(), // Spreadsheet ID
  dailyReceiptsSheetName: "Daily_Receipts", // Replace with your receipts sheet name
  dailyExpensesSheetName: "Daily_Expenses", // Replace with your expenses sheet name
  receiptsFolderId: "YOUR_FOLDER_ID_HERE", // Google Drive Folder ID for Receipts PDFs
  expensesFolderId: "YOUR_FOLDER_ID_HERE", // Google Drive Folder ID for Expenses PDFs
  recipientEmails: [
    "email1@gmail.com", // Add your email here
    "email2@gmail.com", // Add other recipients
    "email3@gmail.com",
  ],
};

About

πŸ“Š Welcome to Reportopia! An automated modular reporting tool for Google Sheets that generates stunning daily reports and saves them as PDFs! and automates mails! Under 100 SLOC! πŸ“„βœ¨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published