PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.05k stars 1.33k forks source link

feat: weekly digest #26337

Open raquelmsmith opened 1 day ago

raquelmsmith commented 1 day ago

Problem

I'd like to start letting people know what is happening in their posthog org/data every week. This is a first stab at that.

Changes

On mondays, gathers up a bunch of things that have happened in a project, like new feature flags created or surveys launched, and sends and event to posthog with that info. The event will be consumed by customer.io and an email sent out with the deets.

Todo:

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

Added a test, but need to move it when I abstract this out