Preparing the same business report every week can become a repetitive task.
You open Google Sheets, review the latest numbers, update a summary, export the report to PDF, and send it to your manager or team.
The process may only take a few minutes, but repeating it every Monday adds unnecessary administrative work.
You can automatically email weekly Google Sheets reports using Google Apps Script.
Instead of manually exporting and attaching a spreadsheet, an automation can generate a PDF from a designated reporting worksheet and send it to approved email recipients on a recurring schedule.
In this tutorial, you’ll build a practical weekly reporting workflow with Google Sheets, Apps Script, and MailApp.
You’ll also learn how to prevent repeated emails, verify the reporting period, test PDF generation without sending messages, and monitor scheduled executions.
A free starter kit includes a formatted reporting template, fictional transaction data, working sample code, and setup instructions.
Can Google Sheets Automatically Send Weekly Reports?
Yes. Google Apps Script supports scheduled execution, spreadsheet access, PDF generation, and email delivery.
A typical workflow looks like this:
Google Sheets Data → Weekly Summary → PDF Export → Email → Delivery Log
Each Monday, the automation can process the previous completed reporting week.
For example, if the script runs on Monday, October 26, 2026, it can send a report covering Monday, October 19, through Sunday, October 25.
The example in this guide uses that reporting convention.
What the Automation Can Do
| Feature | Included |
|---|---|
| Prepare a weekly reporting period | Yes |
| Use spreadsheet formulas for KPIs | Yes |
| Export one report worksheet to PDF | Yes |
| Send an email with the PDF attached | Yes |
| Run automatically every Monday | Yes |
| Preview without sending email | Yes |
| Reduce duplicate weekly sends | Yes |
| Record successful sending attempts | Yes |
| Guarantee exact-minute delivery | No |
| Guarantee exactly-once delivery in every failure scenario | No |
| Independently verify source data accuracy | No |
This distinction is important.
The automation sends a snapshot of the reporting worksheet. It doesn’t automatically prove that every underlying transaction, formula, or external data connection is accurate.
When Are Automated Weekly Reports Useful?
Small businesses and professional teams can use scheduled reports for different operational needs.
Weekly Sales Reports
Summarize order counts, revenue, refunds, and changes compared with the previous week.
Inventory Reports
Track stock levels, products needing replenishment, and outstanding purchasing tasks.
For a related workflow, see our Google Sheets inventory low-stock alerts guide.
Project Status Reports
Report completed assignments, unfinished tasks, and upcoming deadlines.
Our Google Sheets task tracker with email reminders provides a separate approach for managing individual assignments.
Service Business Reports
A cleaning company, maintenance provider, or contractor may summarize jobs completed and unresolved service requests.
Administrative Reports
Departments may distribute weekly summaries of non-sensitive requests, approvals, and operational activity.
The reporting worksheet should include only information that recipients are authorized to receive.
Step 1: Create a Google Sheets Weekly Report
Open Google Sheets and create a new spreadsheet.
Name it:
Weekly Business Report
Create three worksheets:
- Weekly Report
- Transactions
- Email Log
The starter template accompanying this article already includes these tabs.
The Weekly Report Worksheet
This is the only worksheet the script will export as a PDF attachment.
Its main purpose is to display a clean summary rather than every individual transaction.
For example:
| KPI | Last full week | Week before |
|---|---|---|
| Orders | 4 | 5 |
| Revenue | $868.50 | $1,050.00 |
| Refunds | $40.00 | $65.00 |
| Net Revenue | $828.50 | $985.00 |
These are illustrative figures, not real company results.
The Transactions Worksheet
Use this tab to store approved source data.
A simple structure includes:
| Order Date | Order ID | Type | Amount |
|---|---|---|---|
| Oct 12, 2026 | DEMO-101 | Sale | $165.00 |
| Oct 13, 2026 | DEMO-102 | Sale | $235.00 |
| Oct 14, 2026 | DEMO-103 | Refund | $40.00 |
The template contains additional fictional records.
The Email Log Worksheet
This worksheet records completed sending operations.
It can include:
- Sent At
- Report Period
- Status
- File Name
- Recipient Count
It does not need to contain the complete email attachment or customer-level transaction details.
Step 2: Configure the Weekly Reporting Dates
The next step is to define the reporting period.
Our example uses the previous completed Monday–Sunday week.
This avoids sending a report about the current week before all seven days have finished.
Calculate the Previous Monday
In the Weekly Report worksheet, enter the following formula in B2:
=TODAY()-WEEKDAY(TODAY(),2)-6
This calculates the Monday of the previous completed week.
Calculate the Previous Sunday
In D2, enter:
=B2+6
Format both cells as dates.
Example
On Monday, October 26, 2026:
B2: October 19, 2026
D2: October 25, 2026
The script checks these values before sending a report.
Why Validate the Dates?
Imagine that someone accidentally replaces the report’s date formula with a fixed date.
The email could be sent with a filename describing the current week while the data actually covers an older period.
Our script compares the worksheet dates with the reporting period it calculates independently.
If they don’t match, the script stops rather than sending a potentially mislabeled report.
Step 3: Calculate the Weekly Business KPIs
Now create the formulas used in the summary.
The following examples assume the Transactions worksheet contains:
- Column A: Order Date
- Column B: Order ID
- Column C: Type
- Column D: Amount
Count Last Week’s Orders
=COUNTIFS(
Transactions!$A$2:$A$200,">="&$B$2,
Transactions!$A$2:$A$200,"<"&$D$2+1,
Transactions!$C$2:$C$200,"Sale"
)
This counts records marked Sale during the reporting period.
Calculate Last Week’s Revenue
=SUMIFS(
Transactions!$D$2:$D$200,
Transactions!$A$2:$A$200,">="&$B$2,
Transactions!$A$2:$A$200,"<"&$D$2+1,
Transactions!$C$2:$C$200,"Sale"
)
Calculate Last Week’s Refunds
=SUMIFS(
Transactions!$D$2:$D$200,
Transactions!$A$2:$A$200,">="&$B$2,
Transactions!$A$2:$A$200,"<"&$D$2+1,
Transactions!$C$2:$C$200,"Refund"
)
Calculate Net Revenue
If Revenue is in B7 and Refunds in B8:
=B7-B8
For these examples, refunds are stored as positive amounts and subtracted from revenue.
Calculate Week-Over-Week Change
If B7 contains last week’s revenue and C7 contains the previous week’s revenue:
=IFERROR(B7/C7-1,0)
Format the result as a percentage.
A zero result caused by a missing comparison value should be reviewed rather than interpreted automatically as no business change.
Important Data Quality Rule
The sample formulas cover transaction rows 2–200.
For a production report, extend these ranges or use an appropriate dynamic data structure.
If your source data comes from imported CSV files, our automatic CSV consolidation guide explains a related Google Sheets data-import workflow.
Step 4: Download the Free Weekly Reporting Starter Kit
To simplify setup, we’ve prepared a practical starter kit.
Files Included
Weekly_Report_Template.xlsx
A formatted workbook containing a reporting dashboard, fictional transactions, and an email log worksheet.
Transactions_Sample.csv
Sample sales and refund transactions for testing the reporting formulas.
Code.gs
The Google Apps Script used to export the PDF and send weekly email reports.
README.md
Configuration, testing, scheduling, and security instructions.
Download the Starter Kit
Download the Free Google Sheets Weekly PDF Report Starter Kit (ZIP)
After downloading, extract the files and follow the instructions below.
The script starts in dry-run mode, so it will not send an email until you intentionally enable delivery.
Step 5: Convert the Excel Template to Google Sheets
The downloadable template uses the .xlsx format.
Google Apps Script needs a native Google Sheets file for the workflow in this tutorial.
Convert the Template
- Open Google Drive.
- Upload
Weekly_Report_Template.xlsx. - Open the uploaded workbook with Google Sheets.
- Save a native Google Sheets version.
- Open the converted file.
- Confirm that the worksheet names and formulas are intact.
Verify the Report
Check these worksheets:
Weekly Report
Transactions
Email Log
Confirm that the dates in cells B2 and D2 are calculated correctly.
If necessary, set the spreadsheet timezone through:
File → Settings
For the example configuration, use the same business timezone as the script.
Why Conversion Matters
A workbook that opens in Google Sheets isn’t necessarily a native Google Sheets document.
Using the actual converted Google Sheets file avoids confusion when configuring the spreadsheet ID and Apps Script.
Step 6: Open Google Apps Script
In the converted Google Sheets file, select:
Extensions → Apps Script
Create or open the spreadsheet-bound Apps Script project.
Open Code.gs from the starter kit.
Copy its contents into the Apps Script editor.
Save the project.
The starter code includes a configuration object similar to:
const WEEKLY_REPORT = {
spreadsheetId: 'REPLACE_WITH_GOOGLE_SHEETS_ID',
reportSheet: 'Weekly Report',
recipients: ['YOUR_EMAIL@example.com'],
timeZone: 'America/New_York',
dryRun: true,
subjectPrefix: 'Weekly business report',
senderName: 'Weekly Reports'
};
Configure the Spreadsheet ID
Open the converted spreadsheet.
Its URL will resemble:
https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit
Copy the identifier between /d/ and /edit.
Replace:
REPLACE_WITH_GOOGLE_SHEETS_ID
with your actual Google Sheets file ID.
Configure the Report Worksheet
The script expects a tab named:
Weekly Report
If you rename that tab, update the corresponding configuration.
Configure the Recipient Address
Replace:
YOUR_EMAIL@example.com
with an email address you control for the initial test.
Do not add customer or external distribution lists before reviewing the report contents and permissions.
Configure the Timezone
The starter script uses:
America/New_York
Change this if your business reports in another timezone.
The script and spreadsheet should use a consistent calendar convention.
Step 7: Understand How the PDF Export Works
Our script uses Google’s authenticated PDF export endpoint to generate a PDF from one selected worksheet.
This approach is adapted from the official Google Apps Script solution for generating and emailing PDFs.
Export Only One Tab
The source spreadsheet may contain several worksheets.
For example:
- Weekly Report
- Transactions
- Email Log
The script identifies the Weekly Report worksheet and obtains its sheet ID.
It then requests a PDF using that sheet ID.
The result is a PDF of the designated report tab, rather than the entire workbook.
Why This Matters
A business may need to share a summarized weekly report without attaching every transaction row.
Exporting only the approved reporting tab helps reduce unnecessary data disclosure.
However, any sensitive information visible on that tab may still appear in the PDF.
Always inspect the report before activating delivery.
PDF Export in the Script
The main export section uses a URL structured as follows:
const url =
'https://docs.google.com/spreadsheets/d/' +
encodeURIComponent(ss.getId()) +
'/export?format=pdf&gid=' +
sheet.getSheetId() +
'&size=7&portrait=false&fitw=true' +
'&sheetnames=false&printtitle=false' +
'&pagenumbers=false&gridlines=false&fzr=false';
The full starter script also attaches an authorization token, checks the HTTP response, and verifies that the returned file has a PDF signature.
Does It Save the PDF to Google Drive?
Not in the current example.
The PDF is generated for email attachment.
This keeps the workflow focused on weekly delivery without automatically creating another collection of potentially sensitive files.
If you also need scheduled backup copies of source workbooks, see our Google Sheets automatic backup to Google Drive guide.
Step 8: Preview the Report Without Sending an Email
Before enabling delivery, leave:
dryRun: true
Save the script.
Run:
previewWeeklyReport
from the Apps Script editor.
Google may request authorization to access the spreadsheet and generate its PDF.
Review the permissions before approving them.
What Happens During Preview?
The script:
- Opens the configured spreadsheet.
- Locates the Weekly Report worksheet.
- Calculates the previous completed reporting week.
- Checks cells B2 and D2.
- Generates a PDF.
- Checks that the response contains a PDF file.
- Records diagnostic information in the execution log.
It does not send an email or mark the period as delivered.
Check the Execution Log
Open Apps Script:
Executions
Look for a preview message indicating that PDF generation succeeded.
What If the Preview Fails?
Common causes include:
- Incorrect spreadsheet ID.
- Wrong worksheet name.
- Missing access permissions.
- Date formulas not matching the expected period.
- Different spreadsheet and script timezones.
- An error during PDF export.
Fix the reported cause before enabling email.
Step 9: Enable Weekly Email Delivery
Once PDF preview succeeds, configure an approved recipient.
Use your own inbox for the first delivery test.
Then change:
dryRun: true
to:
dryRun: false
Save the script.
Run:
sendWeeklyReport
What Will the Email Contain?
The script generates a subject such as:
Weekly business report | 2026-10-19 to 2026-10-25
The email body identifies the reporting period.
A PDF attachment contains the reporting worksheet.
Which Google Service Sends the Email?
The script uses MailApp.
Google’s MailApp documentation explains that this service supports sending emails with attachments and checking recipient quotas.
Unlike GmailApp, MailApp doesn’t require access to the user’s Gmail inbox for this purpose.
Check the Result
Verify that:
- The email arrives at the approved inbox.
- The PDF opens successfully.
- The reporting period is correct.
- The figures are readable.
- No confidential source worksheet is included unintentionally.
Do not proceed with scheduled delivery until the test is satisfactory.
Step 10: Prevent Sending the Same Weekly Report Twice
A scheduled report can accidentally be sent more than once.
For example:
- An employee runs the function manually.
- The scheduled trigger runs later.
- The same function is executed again during troubleshooting.
The starter script reduces repeated sending by storing a key associated with the report and its weekly period.
How the Check Works
The key contains:
- The source spreadsheet identifier.
- The report worksheet identifier.
- The start date of the reporting period.
Before sending, the script checks whether the same report period has already been recorded as sent.
If it has, the function skips the email.
Test the Duplicate Check
After your first successful send, run:
sendWeeklyReport
again during the same reporting week.
The execution log should indicate that the report was already sent.
No second message should be generated.
Important Limitation
This is practical duplicate protection, not a guarantee of exactly-once email delivery.
If email delivery is accepted but the script fails before recording the sent state, a later execution could send the same report again.
Likewise, recreating the script project or changing its stored properties may affect duplicate detection.
For critical reporting, supplement the script with operational monitoring and a clear incident-handling procedure.
Step 11: Schedule the Report Every Monday
After your manual test works, configure an installable time-driven trigger.
Google supports recurring execution through Apps Script installable triggers.
Configure the Trigger
Open Apps Script.
Select:
Triggers → Add Trigger
Choose:
| Setting | Value |
|---|---|
| Function | sendWeeklyReport |
| Event source | Time-driven |
| Type | Week timer |
| Day | Monday |
| Time | Your preferred business reporting window |
Save and authorize the trigger.
Why Monday?
The template calculates the previous completed Monday–Sunday reporting period.
A Monday schedule allows the previous week’s data to be summarized before the next working week begins.
Can the Report Run on Friday?
Yes, but this example would still report the last fully completed Monday–Sunday week.
If your business requires a Friday cutoff or another reporting calendar, adapt the date formulas and period calculation together.
Does the Trigger Run at an Exact Minute?
Not necessarily.
Google explains that time-driven triggers can execute within an approximate selected time window.
Do not use this example when a report must be delivered at a guaranteed exact minute.
Whose Account Sends the Email?
An installable trigger runs under the identity of the account that created it.
The creator must retain the necessary authorization to access the spreadsheet and send mail.
This should be considered when employees change roles or leave an organization.
Step 12: Review the Email Log and Delivery History
The script records successful send operations in the Email Log worksheet.
Example:
| Sent At | Report Period | Status | Recipient Count |
|---|---|---|---|
| Oct 26, 2026 | Oct 19–25 | SENT | 1 |
The log is an administrative record of the script’s sending attempt.
It does not independently prove that the recipient opened the message, reviewed the PDF, or approved the reported figures.
Review Apps Script Executions
Open:
Apps Script → Executions
Look for recent executions of:
sendWeeklyReport
Check for failures or unexpected skips.
Why Weekly Monitoring Matters
An unattended job can stop working when:
- Authorization expires or is revoked.
- The spreadsheet is moved or deleted.
- The source file permissions change.
- The script exceeds service quotas.
- The export endpoint returns an error.
- Reporting dates no longer match.
- The trigger owner loses access.
A weekly check can help identify these problems before they affect important business decisions.
Step 13: Understand MailApp Quotas and Attachment Limits
Google Apps Script applies quotas and service limits.
The starter script checks the remaining daily email recipient quota before sending.
For example, if three approved addresses are configured, the script checks whether the remaining recipient allowance can accommodate those three recipients.
Why Not Hardcode a Quota?
Google quotas can vary by account type and change over time.
The correct values should be checked against the official Apps Script quotas documentation.
What if the PDF Is Large?
Email systems also have attachment size restrictions.
If your reporting sheet produces a very large PDF, reduce unnecessary content, review print layout, or consider an approved document-sharing workflow.
Don’t Send Reports to Unauthorized Recipients
A spreadsheet may contain revenue information, personal data, or internal business metrics.
Only send reports to recipients authorized to access the data.
Using Google Apps Script does not remove an organization’s responsibility to protect confidential information.
Common Google Sheets Weekly Report Automation Problems
1. The Script Cannot Find the Spreadsheet
Check the spreadsheet ID.
Make sure the file is a native Google Sheets document rather than only an uploaded .xlsx file.
2. The Report Tab Is Missing
Confirm that the worksheet name matches:
Weekly Report
The comparison is based on the configured name.
3. The Date Validation Fails
Check the formulas in B2 and D2.
Verify that the spreadsheet and script use consistent timezones.
4. The Preview Runs but No Email Arrives
This is expected when dry-run mode is enabled.
The preview is designed to generate and validate the PDF without sending it.
5. The Script Says the Report Was Already Sent
The current reporting period has already been recorded in the script properties.
Check the Email Log before making changes.
6. The PDF Contains Unexpected Worksheets
Verify that you are using the single-tab export in the starter code and that the correct worksheet ID is selected.
7. The Report Figures Are Outdated
The script exports the current reporting worksheet.
If its underlying source data is stale, the PDF may also be stale.
Review imports, formulas, and data-refresh processes.
8. The Email Goes to the Wrong Person
Check the configured recipients.
Avoid maintaining outdated distribution lists or using personal email addresses for confidential company reports without authorization.
9. The Trigger Doesn’t Run on Monday
Review the trigger configuration, authorization, timezone, and execution history.
Also verify that the account which created the trigger still has access.
10. The PDF Export Returns an HTTP Error
Check spreadsheet permissions and the export configuration.
Inspect the HTTP status reported in the Apps Script execution log.
11. The Same Report Is Sent Twice
Check for duplicate triggers, manually repeated executions, or lost sent-state information.
Remember that the example reduces repeated sending but doesn’t provide transactional email guarantees.
12. The Report Layout Is Cut Off
Adjust the reporting worksheet’s print-friendly layout.
Reduce unnecessary columns, review cell wrapping, and test the exported PDF before scheduling it.
How Automated Reporting Connects With Other Google Sheets Workflows
Weekly PDF reports are most useful when the underlying data is organized and updated reliably.
CSV Data Imports
If a company imports daily exports from another system, the weekly reporting formulas should operate on validated source records.
Our Google Sheets CSV consolidation tutorial explains a related import workflow.
Inventory Alerts
Weekly reporting can summarize inventory activity, while immediate alerts can handle urgent low-stock conditions.
Read our Google Sheets inventory alert guide for that separate use case.
Task Tracking
A team can use a weekly report to summarize outstanding work.
Individual reminders remain a different operational process, covered in our task tracker with email reminders guide.
Spreadsheet Backups
Automated email delivery does not create a reliable backup of the underlying transaction data.
For periodic workbook snapshots, see our Google Sheets automatic backup tutorial.
These workflows can complement one another without requiring every business process to run inside one large script.
Frequently Asked Questions
Can Google Sheets automatically email a weekly report?
Yes. Google Apps Script can generate a PDF from a reporting worksheet and send it through MailApp using an installable time-driven trigger.
How do I schedule a Google Sheets email every Monday?
Create an Apps Script function that sends the report, then add a weekly time-driven trigger selecting Monday as the execution day.
Can I send only one worksheet as a PDF?
Yes. The example uses the reporting worksheet’s sheet ID to generate a PDF containing that selected tab.
Do I need a paid add-on?
Not for the approach shown here. It uses Apps Script services subject to the applicable Google account permissions and quotas.
Can the email include the report as an attachment?
Yes. MailApp supports sending PDF attachments.
Can I send the report to multiple recipients?
Yes. Add approved email addresses to the recipients configuration and verify that the send remains within your account’s limits.
How do I stop duplicate weekly emails?
Store a unique key for the reporting period and check it before sending. This reduces repeated sending, though it doesn’t guarantee exactly-once delivery in every failure scenario.
Can I preview the report without sending it?
Yes. The starter kit includes a preview function and starts with dry-run mode enabled.
Does the script automatically calculate all business metrics?
No. The sample reporting worksheet uses formulas to calculate its metrics. The script exports the current report and handles email delivery.
Does the script send the current week or last week?
The sample is designed to send the previous completed Monday–Sunday week.
Why doesn’t my scheduled report run?
Possible causes include missing trigger authorization, incorrect settings, lost file access, script errors, or quota restrictions.
Can I automatically save the PDF to Google Drive too?
Yes, with additional code. The current example focuses on creating and emailing the PDF without saving extra copies.
Can I send weekly reports from Excel instead?
Yes, but an Excel-based workflow generally uses different tools, such as Microsoft 365 and Power Automate.
Is automated reporting suitable for sensitive company data?
It can be used in an appropriately controlled environment, but recipients, file permissions, report contents, and applicable organizational requirements must be reviewed.
What happens if nobody opens the Google Sheet?
An authorized time-driven Apps Script trigger can execute without someone manually opening the spreadsheet. However, formulas and external data dependencies still need validation.
Final Thoughts
Learning how to automatically email weekly Google Sheets reports can reduce repetitive administrative work and help teams distribute consistent business summaries.
Google Sheets handles the reporting data and calculations.
Google Apps Script exports the selected worksheet as a PDF.
MailApp sends the report to approved recipients.
And a weekly time-driven trigger runs the process without requiring a manual export every Monday.
The most reliable implementation includes safe testing, reporting-period validation, duplicate-send protection, and regular monitoring.
Begin with the fictional starter template and verify the generated PDF.
Then send a test report to an inbox you control before scheduling automatic delivery.
For more practical automation tutorials, explore our Google Sheets task tracking guide, automatic CSV import tutorial, and other workflow resources on IA Network.
The best weekly reporting automation is one that sends accurate, readable information to the right people while making failures easy to detect.





