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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/suggesting-data-imports/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كم أدخل المستخدمون الذين شاهدوا فيديو الإعداد من إيرادات؟ أحتاج بيانات من نظام المدفوعات لدي أيضاً.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحدد الوكيل البيانات الناقصة والمصدر الخارجي الذي يحتفظ بها. ثم يرشدك إلى استيراد ذلك المصدر إلى مستودع بيانات 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
الترخيص
—
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة