← All projects

Sending daily reports automatically

Field staff pick a date, add remarks and click one button. The daily report goes out as a clean PDF to the right recipients.

Category
Reporting & internal tools
Stack
Google Apps Script · Google Sheets · Google Drive · Gmail
What it delivers
  • One date and one click
  • Always the right recipients

Starting point

Every shift ended with the same administrative ritual.

Field staff at an operational site closed every shift with a daily report for external stakeholders. Typing out routine tasks by hand, wrestling a spreadsheet into a presentable PDF, and emailing it to the right people. Every day again, at the end of a long shift.

The problem

The service’s calling card was too easy to get inconsistent.

Reports varied: tasks were forgotten, typos crept in, formatting broke regularly, and occasionally an email went to the wrong address. External parties judged the service precisely by that report. The goal was a one-click experience for staff who don’t work with IT every day.

The approach

A spreadsheet as the app, with one button to send.

A Google Sheet serves as the app’s screen. When a staff member picks the date, the script recognises the weekday and fills in that day’s roster and standard tasks automatically. The staff member only adds remarks and clicks “Send PDF”. The script turns the sheet into a properly scaled PDF and sends it in a branded email with logo and signature.

  1. Staff member picks the date
  2. Weekday is recognised
  3. Roster and standard tasks filled infrom a hidden tab
  4. Staff member adds remarks
  5. Click Send PDFcustom menu button
  6. Sheet becomes a clean PDFproperly scaled, always the same
  7. Branded email with the PDFto fixed, protected recipients
The standard tasks per weekday are data in a hidden tab, so a supervisor can change them without touching the script.

The recipients are fixed and protected. Staff can’t change them, so a report no longer ends up with the wrong person by accident.

Key decisions

Four choices that made the difference.

  • A spreadsheet as the app. Staff already knew Google Sheets. A web or mobile app would have meant training, login management and development time for what is essentially a daily form.
  • Standard tasks per weekday as data. Routine tasks differ per day. Because they live in a tab rather than in code, a supervisor can adjust them.
  • Recipients deliberately locked. In one place flexibility was removed on purpose: staff can’t choose who receives the report. Misdirected reports really happened, and removing the choice largely removes that risk.
  • The sheet itself as the layout. The PDF is created straight from the sheet, so the layout is managed in the sheet everyone already uses, with no separate template to keep in sync.

What made it hard

A PDF that always looks right.

The PDF export takes a set of poorly documented settings for size, scale, gridlines and print area. The defaults produce exactly the broken layouts the team was already struggling with. Finding the combination that renders the report correctly, however much text someone enters, took plenty of trial and error.

The result

One date, one click, a consistent report every day.

  • The whole end-of-shift process is one date choice and one click, with no IT knowledge, downloads or manual formatting.
  • Routine tasks are filled in automatically, so fewer get forgotten.
  • External parties receive a consistently formatted PDF in a professional email every day. Their feedback showed they were glad to get a clear, predictable report instead of the varying versions from before.
  • The risk of a report reaching the wrong recipient has practically disappeared by design.
Technical write-up on GitHub ↗Architecture, trade-offs and limitations, for those who want the details.

Built at organisations in finance, operations and business services. Client names and confidential details are left out.

Case studies

More projects

Free intro call, no strings attached

Stop repeating.
Start automating.

Want to know where automation could add value to your process? Book a free intro call and I’ll think it through with you.

Book a free call →Take the free check first