Skip to content

chore(workflows): revert distinct_id description on update person properties#60647

Merged
meikelmosby merged 1 commit into
masterfrom
posthog-code/revert-update-person-properties-description
May 29, 2026
Merged

chore(workflows): revert distinct_id description on update person properties#60647
meikelmosby merged 1 commit into
masterfrom
posthog-code/revert-update-person-properties-description

Conversation

@meikelmosby
Copy link
Copy Markdown
Collaborator

Problem

The Update person properties workflow action's distinct_id input description was changed in #58831 to suggest using {person.id} for batch-triggered workflows. That guidance is incorrect — {person.id} is the person UUID, which does not match an existing distinct_id and ends up creating a new person profile on capture.

Now that batch-trigger workflows populate {event.distinct_id} directly, the older, simpler description is accurate again.

Changes

Revert the distinct_id input description on template-posthog-update-person-properties back to:

The distinct ID associated with the Person.

How did you test this code?

Agent-authored change. No tests were run — this is a single string-literal revert in a template file. The default value ({event.distinct_id}) and surrounding schema are unchanged.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Docs update

No docs changes.

🤖 Agent context

Authored by PostHog Code at a user's request after a support thread surfaced that batch-trigger workflows now provide {event.distinct_id} correctly, so the prior advice to use {person.id} for batch workflows is no longer accurate (and was actively misleading — it minted new person profiles). The user asked to revert the description to its pre-#58831 wording. The previous wording was retrieved from the GitHub commit history (commit 2e82feb3) since the local checkout only contained a single commit.


Created with PostHog Code

…perties

Revert the description back to "The distinct ID associated with the Person." now that batch-trigger workflows can use `{event.distinct_id}` directly. The previous wording suggesting `{person.id}` for batch workflows is no longer accurate.

Generated-By: PostHog Code
Task-Id: 63f5eb2b-31eb-4c91-88d1-0cd14338a5b6
@meikelmosby meikelmosby marked this pull request as ready for review May 29, 2026 10:53
@assign-reviewers-posthog assign-reviewers-posthog Bot requested a review from a team May 29, 2026 10:53
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 29, 2026

Reviews (1): Last reviewed commit: "chore(workflows): revert distinct_id des..." | Re-trigger Greptile

@meikelmosby meikelmosby enabled auto-merge (squash) May 29, 2026 10:58
@meikelmosby meikelmosby merged commit 58cfc97 into master May 29, 2026
159 of 161 checks passed
@meikelmosby meikelmosby deleted the posthog-code/revert-update-person-properties-description branch May 29, 2026 11:28
@deployment-status-posthog
Copy link
Copy Markdown

deployment-status-posthog Bot commented May 29, 2026

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-05-29 11:56 UTC Run
prod-us ✅ Deployed 2026-05-29 12:17 UTC Run
prod-eu ✅ Deployed 2026-05-29 12:24 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants