Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(data-pipelines): capture template_id on notify_me_pipeline events (#63207)

Tom Owers3c9e05cac518
diff --git a/frontend/src/scenes/hog-functions/list/hogFunctionTemplateListLogic.tsx b/frontend/src/scenes/hog-functions/list/hogFunctionTemplateListLogic.tsx
index a53658a995d7..cd050dd01ddc 100644
--- a/frontend/src/scenes/hog-functions/list/hogFunctionTemplateListLogic.tsx
+++ b/frontend/src/scenes/hog-functions/list/hogFunctionTemplateListLogic.tsx
@@ -302,6 +302,10 @@ export const hogFunctionTemplateListLogic = kea<hogFunctionTemplateListLogicType
posthog.capture('notify_me_pipeline', {
name: template.name,
type: template.type,
+ // Canonical template id (e.g. "managed-<SourceType>" for coming-soon
+ // warehouse sources) so consumers can match requests exactly instead
+ // of via the free-text display name.
+ template_id: template.id,
email: values.user?.email,
})