Langsung ke konten
Skillpedia
Analisis & spreadsheet41k Β· #6970

suggesting-data-imports

Fungsinya

Skill ini membantu agent mengenali kapan jawaban membutuhkan informasi yang tidak dikumpulkan PostHog sendiri, seperti data pembayaran atau catatan CRM. Skill ini untuk orang yang ingin menggabungkan data produk mereka dengan data bisnis.

Kapan dipakai

  • βœ“Saat Anda bertanya tentang pendapatan, pembayaran, langganan, atau data penagihan.
  • βœ“Saat Anda ingin menggabungkan event PostHog dengan deal CRM atau tiket dukungan.
  • βœ“Saat sebuah kueri gagal karena tabel dengan data eksternal belum ada.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/suggesting-data-imports/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBerapa pendapatan dari pengguna yang menonton video onboarding? Saya butuh data dari sistem pembayaran saya juga.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mencari tahu data apa yang kurang dan sumber luar mana yang menyimpannya. Lalu agent memandu Anda mengimpor sumber tersebut ke data warehouse PostHog agar keduanya bisa digabungkan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Data apa yang dikumpulkan PostHog secara mandiri?

Event analitik produk, orang, sesi, dan grup, serta produk tambahan yang Anda aktifkan, seperti replay dan survei.

Bisakah saya mengekspor data PostHog ke alat lain?

Bisa. Skill ini juga mencakup ekspor data PostHog untuk dibandingkan di spreadsheet atau warehouse lain.

Mengapa sebuah kueri tidak menampilkan hasil?

Seringnya data eksternal belum diimpor, sehingga skill ini mengarahkan Anda ke jenis sumber yang tepat.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
41k
Peringkat
#6970
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa