본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트41k · #6970

suggesting-data-imports

하는 일

이 스킬은 PostHog가 스스로 수집하지 않는 정보, 예를 들어 결제나 CRM 기록이 답에 필요한 순간을 에이전트가 알아채도록 돕습니다. 제품 데이터와 비즈니스 데이터를 결합하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓매출, 결제, 구독, 청구 데이터에 대해 물을 때.
  • ✓PostHog 이벤트를 CRM 거래나 지원 티켓과 결합하고 싶을 때.
  • ✓외부 데이터가 있는 테이블이 아직 없어서 쿼리가 실패할 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/suggesting-data-imports/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“온보딩 영상을 본 사용자가 얼마나 많은 매출을 가져왔나요? 결제 시스템의 데이터도 필요합니다.”

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

작동 방식

에이전트는 어떤 데이터가 빠졌는지, 그리고 어떤 외부 소스가 그것을 가지고 있는지 알아냅니다. 그다음 두 데이터를 결합할 수 있도록 그 소스를 PostHog 데이터 웨어하우스에 가져오는 방법을 안내합니다.

기술 내용 (원본 SKILL.md)

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

Suggesting data imports

This skill helps identify when data the user needs lives outside PostHog and guides them toward importing it via the data warehouse. The key insight is recognizing the gap — then connecting it to the right source type.

What PostHog collects natively

PostHog collects product analytics events, persons, sessions, and groups via its SDKs. Additional products are available but must be enabled: session replay, feature flags, experiments, surveys, web analytics, error tracking, AI observability, conversations, logs, revenue analytics, workflows, CDP destinations, and batch exports. PostHog does not collect external business data like payments, subscriptions, CRM records, support tickets from other systems, or production database tables — that data must be imported via the data warehouse.

When to use this skill

  • A HogQL query fails because a table doesn't exist
  • The user asks about data from an external system (Stripe, Hubspot, Salesforce, etc.)
  • The user wants to correlate PostHog analytics with business data (revenue, support tickets, CRM records, etc)
  • The user asks "how do I get my X data into PostHog?"
  • Analysis requires joining PostHog events with external data
  • The user asks about exporting PostHog data for comparison elsewhere (in a google sheet, external warehouse, etc)

Workflow

1. Understand what data is missing

Listen for signals that the user needs external data:

  • They mention a specific tool or system (Stripe, Hubspot, Zendesk, their production database, etc.)
  • A query references a table that doesn't exist in PostHog
  • They want to analyze something PostHog doesn't track natively (revenue, support tickets, CRM deals, etc.)

If a query failed, check the error — if it's "table not found" or similar, the data likely needs to be imported.

2. Check what's already connected

Call posthog:external-data-sources-list to see existing sources. The data might already be imported but the user doesn't know the table name or prefix.

If a source exists for the system they're asking about, call posthog:external-data-schemas-list to show the available tables. The data might be there but under a different name or prefix.

Also query system.information_schema.tables with posthog:execute-sql to see all queryable tables — the data might already be available as a view or joined table.

3. Identify the right source type

If the data isn't imported yet, call posthog:external-data-sources-wizard to see available source types — when enumerating without source_type, pass fields: ['*.name', '*.caption'] to skip the large per-source config field definitions. Match the user's need to a source:

Common patterns:

User wants Source type Key tables
Revenue / payment data Stripe, Chargebee, Shopify charges, subscriptions, invoices, customers
CRM / sales pipeline Hubspot, Salesforce, Attio contacts, deals, companies
Support tickets Zendesk tickets, users, organizations
Product data from their DB Postgres, MySQL, BigQuery, Snowflake, Redshift user's own tables
Marketing / ads Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads campaigns, ad_groups, ads
Email marketing Mailchimp, Klaviyo campaigns, lists, subscribers
Project management Linear issues, projects
Error tracking (external) Sentry issues, events

4. Suggest the import

Present the recommendation concisely:

  • What source type to connect
  • What tables would become available
  • How this enables the analysis they want

Example: "Your Stripe data isn't in PostHog yet. If you connect a Stripe source, you'll get tables like charges, subscriptions, and customers that you can join with PostHog events to analyze revenue by user behavior."

5. Offer to set up the source

If the user wants to proceed, the fastest path is the one-step `data-warehouse-so

자주 묻는 질문

PostHog가 스스로 수집하는 데이터는 무엇인가요?

제품 분석 이벤트, 사람, 세션, 그룹과, 켜 둔 추가 제품, 예를 들어 리플레이와 설문이 있습니다.

PostHog 데이터를 다른 도구로 내보낼 수 있나요?

네. 이 스킬은 스프레드시트나 다른 웨어하우스에서 비교하기 위해 PostHog 데이터를 내보내는 방법도 다룹니다.

쿼리가 결과를 반환하지 않는 이유는 무엇인가요?

외부 데이터가 아직 가져와지지 않았을 때가 많으므로, 스킬이 알맞은 소스 유형으로 안내합니다.

상세 정보

작성자의 원본 설명

Use when the user asks about revenue, payments, subscriptions, billing, CRM deals, support tickets, ad spend, production database tables, or other data PostHog does not collect natively — or wants to join or correlate PostHog product events with that external business data. Also use when a query fails because a table does not exist or returns no results for expected external data. The data warehouse can import from SaaS tools (Stripe, Hubspot, Zendesk, etc.), ad platforms, production databases (Postgres, MySQL, BigQuery, Snowflake), and other arbitrary data sources. Covers checking existing so

repo: PostHog/posthog

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬