본문으로 건너뛰기
Skillpedia
데이터베이스41k · #6844

adding-warehouse-person-properties

하는 일

이 스킬은 동기화된 웨어하우스 테이블의 열을 PostHog의 사람이나 그룹 속성에 매핑합니다. 고객 정보를 웨어하우스에 보관하고, 그것을 PostHog에서 타겟팅과 인사이트에 쓰고 싶은 팀을 위한 것입니다.

사용하는 경우

  • ✓청구 테이블에서 요금제 등급이나 매출을 사람들에게 추가하고 싶을 때.
  • ✓웨어하우스에 있는 데이터로 기능 플래그나 코호트를 타겟팅하고 싶을 때.
  • ✓웨어하우스 값이 사람에게 나타나지 않아서 원인을 찾아야 할 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Stripe 테이블의 요금제 등급 열을 PostHog의 각 사람에게 추가해서, 기능 플래그로 타겟팅할 수 있게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

원본 테이블, 일치시킬 ID 열, 복사할 열을 고릅니다. 그러면 PostHog가 그 열을 일반 사람 또는 그룹 속성으로 기록하며, 다른 속성과 똑같이 작동합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Adding warehouse person and group properties

A warehouse property mapping reads a synced warehouse table and writes chosen columns onto people or groups. Each row is matched to a person by a distinct ID column, or to a group by a group key column. The mapped columns are then written as ordinary person properties ($set) or group properties ($groupidentify).

The result is not a separate kind of property. After the first sync the values behave like any other person or group property, so they work in feature flags, cohorts, insights, surveys, and replay filters. See references/where-they-can-be-used.md for the full surface list and the caveats that matter per surface.

In the UI this lives at Data > Warehouse properties, with a Persons tab and a Groups tab.

When to use this skill

  • "Add plan tier from my Stripe table to my people"
  • "I want to run a feature flag only for customers with ARR over 50k"
  • "Sync my Postgres accounts table onto organizations"
  • "Why isn't my warehouse property showing up on people?"
  • "Backfill the warehouse property I just added"

Use a different skill when:

  • The warehouse source does not exist yet. Connect it first with setting-up-a-data-warehouse-source.
  • The user wants a Customer analytics account property. That target reads a materialized view, not a synced table, and uses saved_query + source_column instead of the column map below.
  • The user only wants to query warehouse data. Join it in HogQL instead of writing properties onto people.

Prerequisites

Check these before you start. Each one produces a confusing failure later if it is missing.

Requirement Why How it fails
The warehouse-person-properties feature is enabled for the project Gates the whole feature Definition create rejects a person or group target; sync and backfill return 400
A synced warehouse table Only tables imported by a data warehouse source carry the schema a source binds to Views, saved queries, and materialized views cannot be used for person or group targets
A column holding a real person distinct_id, or a real group key Rows are matched on this column Runs complete with a high skipped_missing_person count and no properties change
The caller has warehouse source editor access Mapping a table drives its billable source Create is rejected even when the caller holds account:write
For group targets: the groups paid feature, an existing group type, and group:read / group:write Group properties are keyed per group type The Groups tab is hidden; group tools reject the call

Tools

Tool Purpose
external-data-schemas-list Find the table and its schema id. The schema id is what a source binds to
query (HogQL) Inspect columns and sample the key column before you map anything
custom-property-definitions-create Create the mapping's definition with target_type of person or group
custom-property-sources-create Bind the definition to the warehouse table and column map
custom-property-sources-list / -retrieve See sync status, schedule, and the latest run
자주 묻는 질문

웨어하우스 소스를 먼저 연결해야 하나요?

네. 소스가 이미 있고 동기화 중이어야 합니다. 연결은 별도의 설정 단계입니다.

이 속성은 어디에서 쓸 수 있나요?

사람 및 그룹 속성이 작동하는 곳이라면 어디서든 씁니다. 예를 들어 기능 플래그, 코호트, 인사이트, 설문, 워크플로가 있습니다.

값은 자동으로 업데이트되나요?

원본 테이블이 동기화되는 일정에 따라 업데이트됩니다.

상세 정보

작성자의 원본 설명

Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties already work: feature flag targeting, cohorts, insight filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the user wants to "add a person property from my warehouse", "enrich people with Stripe/Postgres/Salesforce data", "put ARR or plan tier on my persons", "target a feature flag by a warehouse column", "sync warehouse columns onto groups or organizations", or wants to inspect, backfill,

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6844
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬