DMO Geek
Back to Use Cases
Operations & AutomationAdded January 12, 202645+ consecutive nights

Nightly Session Recap

Automatically generate and publish a daily recap of AI work sessions to Notion with token cost tracking.

Overview

Every night at 11 PM, an AI agent reviews the day's work sessions, summarizes key decisions and outputs, calculates token costs, and publishes a structured recap to Notion. The recap includes links to deliverables and flags any blockers.

How It Works

A cron job triggers the recap agent, which calls the OpenClaw sessions API to pull the day's history. It categorizes work by type (content, research, ops), extracts deliverables and decisions, calculates Anthropic API spend via the admin API, and writes a formatted Notion page under the agent operations section.

Tools Used

OpenClaw cronAnthropic APINotionPython

Outcome

Generated 45 nightly recaps with zero missed nights. Provides leadership a single source of truth for 'what did the AI team do today' and tracks spending trends over time.