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.

chore(workflows): clarify distinct_id input description on update person properties (#58831)

Meikel Ratz2e82feb318fd
diff --git a/nodejs/src/cdp/templates/_destinations/posthog_capture/posthog-update-person-properties.template.ts b/nodejs/src/cdp/templates/_destinations/posthog_capture/posthog-update-person-properties.template.ts
index 563807f76f2e..b0647453ad4c 100644
--- a/nodejs/src/cdp/templates/_destinations/posthog_capture/posthog-update-person-properties.template.ts
+++ b/nodejs/src/cdp/templates/_destinations/posthog_capture/posthog-update-person-properties.template.ts
@@ -33,7 +33,8 @@ postHogCapture({
secret: false,
hidden: false,
default: '{event.distinct_id}',
- description: 'The distinct ID associated with the Person.',
+ description:
+ 'Which person to update. Use `{event.distinct_id}` for event-triggered workflows, or `{person.id}` for batch workflows.',
},
{
type: 'dictionary',