Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

sending-notifications

Call create_notification to send a real-time in-app notification from PostHog backend code.

When to use it

You're adding notifications to a PostHog feature and need to pick the right target type, priority, and notification type.

For example

You say

Using the sending-notifications skill, add a notification to our alerting code so the alert owner gets an in-app notice when a dashboard alert fires, linking to the dashboard.

You get
  • create_notification call
  • NotificationData fields
  • source_url link

How it works

  • Critical priority adds a persistent toast, so it's reserved for genuine emergencies.
  • Access-controlled resource types automatically drop recipients without viewer access.
  • Kafka publish waits for transaction commit, so rolled-back transactions send nothing.