Jean WillameJean WillameAgent IA & Automatisation
Projects
Client Report Automation

Client Report Automation

4 hours of Friday reporting, fully automated

Timeline

Apr 2026

Stack

n8n, PostHog, Linear, Toggl

Result

Client reports generated automatically

The Problem

A small digital agency manages 5 active client projects. Every Friday, the project manager spends 4 hours compiling weekly reports: pulling analytics from PostHog, listing completed tasks from Linear, adding time breakdowns from Toggl, formatting everything into a PDF, uploading to the client’s shared Drive folder, and emailing them.

It’s the most hated task in the company. Reports are sometimes late, sometimes have stale data, and the PM can’t take Fridays off without the whole process breaking.

The Solution

A weekly cron fires Friday at 9am. For each active client (stored in a config sheet), it pulls analytics, completed tasks, and hours logged, compiles them into a branded PDF report, uploads to the client’s Drive, and emails them a summary.

  1. Cron triggers every Friday at 9am
  2. Google Sheets reads the active clients config (API keys, folder IDs)
  3. For each client: PostHog API pulls pageviews and key events
  4. Linear API fetches all issues completed this week
  5. Toggl API pulls hours logged on the project
  6. Code node compiles all data into a branded HTML template
  7. HTML converts to PDF
  8. Google Drive uploads the PDF to the client’s shared folder
  9. Resend emails the client with a summary and Drive link
  10. Slack confirms delivery in #delivery channel

Results

  • Friday reporting: 4 hours to fully automatic
  • 100% on-time delivery (no more “sorry it’s late” emails)
  • Reports always use fresh data (pulled at generation time)
  • PM reclaims 16+ hours/month
  • Scalable: adding a new client is just a new row in the config sheet

Similar project?

Let's discuss it for free.

Get a quote →