What problem does it solve?
Support tickets describe what a customer sees, not what actually happened to their data warehouse sync. This Skill lets a PostHog support engineer determine the real state of a customer's warehouse source, schema, or table by querying PostHog's own production databases, turning vague complaints like stale, empty, stuck, or duplicated tables into an evidence-backed diagnosis with one recommended action.
Core Features & Use Cases
- Production data access via direct-connect sources: Runs execute-sql with a connectionId against Production Postgres (externaldatasource, externaldataschema, externaldatajob, datawarehousetable) and Production ClickHouse (log_entries, app_metrics2), always filtered by the customer's team_id.
- Region detection and cross-region access: Identifies whether the customer is on US or EU from project URLs, tokens, or emails, and routes EU queries through posthog-connection-call since team ids repeat across regions.
- Requester verification and safe querying: Verifies the ticket reporter's organization membership before querying a team, validates all ticket-derived values before SQL substitution, and treats log and error text as untrusted data.
- Use Case: A ticket says a customer's Postgres warehouse table stopped updating. The Skill walks through finding the region, locating the source and schema, reading the last 20 job runs, pulling error logs by workflow_run_id, checking app_metrics2 trends, and producing a diagnosis naming the cause, the side responsible, and exactly one recommended action.
Quick Start
Use the triaging-warehouse-sync-tickets skill to diagnose why the warehouse table in this support ticket stopped syncing and recommend one fix.