Real Agent Cases

Automate a daily analytics summary to Slack with Claude Code

Source date:
Last verified:
Method:
How we verify

Evidence: Described by posterThe person describes what happened in words, without screenshots or video.

Outcome

Claude Code set up a GitHub Actions cron that pulls PostHog data at 8am, summarizes it in Python and posts to Slack; the first report arrived the next morning.

Agent

Claude Code

Prompt Recreated prompt

The source did not publish its exact prompt. This one is our reconstruction from what the source describes.

Not sure how to start? Tell me what you're trying to get done and I'll help you turn it into a clear request.

Goal: Automate my morning analytics check: every day at 8am, pull yesterday's PostHog numbers, summarize them and post the summary to Slack.

Quick check first: Should it run even when your laptop is off?

What I need from you:
- Access to your PostHog data (an API key)
- The Slack channel or DM where the summary should go
- A GitHub account if you want it to run in the cloud

Rules:
- Explain the options for running it on a schedule before setting anything up.
- Store keys safely (for example in GitHub's built-in secrets) and never put them in the code.
- If something is missing or unclear, ask me instead of guessing.
- Stop once it's set up, and let the first run confirm it works.

Output: The working setup, plus plain-language steps for how it runs and how to change it.

If any of this is unclear, tell me what you have and I'll help fill the gaps.

You'll know it worked when: the summary shows up in Slack the next morning without you doing anything.

Source

https://x.com/PranavDate/status/2031210925806530779

By Pranav Date (@PranavDate) · Published Mar 10, 2026 · Added Oct 15, 2026 · Last verified Oct 15, 2026