:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import type { ExternalDataSourceType } from '~/types'
import type { SignalSourceProductApi, SignalSourceConfigSourceTypeEnumApi } from '../generated/api.schemas'
interface ExternalSignalSourceDefinition {
source: SignalSourceProductApi
label: string
category: string
watches: string
dwSourceType: ExternalDataSourceType
requiredTables: readonly string[]
sourceType: SignalSourceConfigSourceTypeEnumApi
// Creation-only cursors miss later edits, so these sources opt into full refresh.
requiredTableSyncType?: 'full_refresh'
}
// Only warehouse tables registered in the signals emission registry belong here.
export const EXTERNAL_SIGNAL_SOURCES = [
{
source: 'asana',
label: 'Asana',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Asana',
requiredTables: ['tasks'],
sourceType: 'issue',
},
{
source: 'azure_devops',
label: 'Azure DevOps',
category: 'Issue tracking',
watches: 'Monitor new work items',
dwSourceType: 'AzureDevOps',
requiredTables: ['work_item_revisions'],
sourceType: 'issue',
},
{
source: 'cursor',
label: 'Cursor Bugbot',
category: 'Code review',
watches: 'Surface bugs that Bugbot finds in pull requests',
dwSourceType: 'Cursor',
requiredTables: ['bugbot_reviews'],
sourceType: 'issue',
},
{
source: 'gitea',
label: 'Gitea',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Gitea',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'github',
label: 'GitHub issues',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Github',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'gitlab',
label: 'GitLab',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'GitLab',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'jira',
label: 'Jira',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Jira',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'linear',
label: 'Linear',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Linear',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'monday',
label: 'monday.com',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Monday',
requiredTables: ['items'],
sourceType: 'issue',
},
{
source: 'plane',
label: 'Plane',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Plane',
requiredTables: ['work_items'],
sourceType: 'issue',
},
{
source: 'shortcut',
label: 'Shortcut',
category: 'Issue tracking',
watches: 'Monitor new issues and updates',
dwSourceType: 'Shortcut',
requiredTables: ['stories'],
sourceType: 'issue',
},
{
source: 'clickup',
label: 'ClickUp',
category: 'Issue tracking',
watches: 'Monitor new tasks and updates',
dwSourceType: 'ClickUp',
requiredTables: ['tasks'],
sourceType: 'issue',
},
{
source: 'wrike',
label: 'Wrike',
category: 'Issue tracking',
watches: 'Monitor new tasks and updates',
dwSourceType: 'Wrike',
requiredTables: ['tasks'],
sourceType: 'issue',
},
{
source: 'trello',
label: 'Trello',
category: 'Issue tracking',
watches: 'Monitor new cards and updates',
dwSourceType: 'Trello',
requiredTables: ['cards'],
sourceType: 'issue',
},
{
source: 'bugherd',
label: 'BugHerd',
category: 'Issue tracking',
watches: 'Monitor new bug reports and tasks',
dwSourceType: 'Bugherd',
requiredTables: ['Tasks'],
sourceType: 'issue',
},
{
source: 'bugsnag',
label: 'Bugsnag',
category: 'Error tracking',
watches: 'Surface new and reopened errors',
dwSourceType: 'Bugsnag',
requiredTables: ['errors'],
sourceType: 'issue',
},
{
source: 'checkly',
label: 'Checkly',
category: 'Error tracking',
watches: 'Surface recurring check errors',
dwSourceType: 'Checkly',
requiredTables: ['error_groups'],
sourceType: 'issue',
},
{
source: 'honeybadger',
label: 'Honeybadger',
category: 'Error tracking',
watches: 'Surface new and reopened errors',
dwSourceType: 'Honeybadger',
requiredTables: ['faults'],
sourceType: 'issue',
},
{
source: 'raygun',
label: 'Raygun',
category: 'Error tracking',
watches: 'Surface new and reopened errors',
dwSourceType: 'Raygun',
requiredTables: ['error_groups'],
sourceType: 'issue',
},
{
source: 'roark',
label: 'Roark',
category: 'Error tracking',
watches: 'Surface open voice and chat agent issues',
dwSourceType: 'Roark',
requiredTables: ['issue'],
sourceType: 'issue',
},
{
source: 'rollbar',
label: 'Rollbar',
category: 'Error tracking',
watches: 'Surface new and reopened errors',
dwSourceType: 'Rollbar',
requiredTables: ['items'],
sourceType: 'issue',
},
{
source: 'sentry',
label: 'Sentry',
category: 'Error tracking',
watches: 'Surface new and reopened errors',
dwSourceType: 'Sentry',
requiredTables: ['issues'],
sourceType: 'issue',
},
{
source: 'trigger_dev',
label: 'Trigger.dev',
category: 'Error tracking',
watches: 'Surface failing background task errors',
dwSourceType: 'TriggerDev',
requiredTables: ['errors'],
sourceType: 'issue',
},
{
source: 'appsignal',
label: 'AppSignal',
category: 'Error tracking',
watches: 'Surface new unresolved errors',
dwSourceType: 'Appsignal',
requiredTables: ['exception_incidents'],
sourceType: 'issue',
},
{
source: 'azure_application_insights',
label: 'Azure Application Insights',
category: 'Error tracking',
watches: 'Surface new and recurring exceptions',
dwSourceType: 'AzureApplicationInsights',
requiredTables: ['exceptions'],
sourceType: 'issue',
},
{
source: 'google_play_console',
label: 'Google Play Console',
category: 'Error tracking',
watches: 'Surface new crashes and ANRs in your Android apps',
dwSourceType: 'GooglePlayConsole',
requiredTables: ['error_issues'],
sourceType: 'issue',
},
{
source: 'dixa',
label: 'Dixa',
category: 'Support',
watches: 'Monitor incoming support conversations',
dwSourceType: 'Dixa',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'freshdesk',
label: 'Freshdesk',
category: 'Support',
watches: 'Monitor incoming support tickets',
dwSourceType: 'Freshdesk',
requiredTables: ['tickets'],
sourceType: 'ticket',
},
{
source: 'freshservice',
label: 'Freshservice',
category: 'Support',
watches: 'Monitor incoming support tickets',
dwSourceType: 'Freshservice',
requiredTables: ['tickets'],
sourceType: 'ticket',
},
{
source: 'decagon',
label: 'Decagon',
category: 'Support',
watches: 'Monitor customer messages in AI agent conversations',
dwSourceType: 'Decagon',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'front',
label: 'Front',
category: 'Support',
watches: 'Monitor incoming support conversations',
dwSourceType: 'Front',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'gorgias',
label: 'Gorgias',
category: 'Support',
watches: 'Monitor incoming support tickets',
dwSourceType: 'Gorgias',
requiredTables: ['tickets'],
sourceType: 'ticket',
},
{
source: 'helpscout',
label: 'Help Scout',
category: 'Support',
watches: 'Monitor open support conversations',
dwSourceType: 'HelpScout',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'hubspot',
label: 'HubSpot',
category: 'Support',
watches: 'Monitor incoming support tickets',
dwSourceType: 'Hubspot',
requiredTables: ['tickets'],
sourceType: 'ticket',
},
{
source: 'dynamics365',
label: 'Dynamics 365',
category: 'Support',
watches: 'Monitor open support cases',
dwSourceType: 'Dynamics365',
requiredTables: ['Cases'],
sourceType: 'ticket',
},
{
source: 'zoho_crm',
label: 'Zoho CRM',
category: 'Support',
watches: 'Monitor open support cases',
dwSourceType: 'ZohoCRM',
requiredTables: ['Cases'],
sourceType: 'ticket',
},
{
source: 'intercom',
label: 'Intercom',
category: 'Support',
watches: 'Monitor incoming support conversations',
dwSourceType: 'Intercom',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'vitally',
label: 'Vitally',
category: 'Support',
watches: 'Monitor incoming customer conversations',
dwSourceType: 'Vitally',
requiredTables: ['Conversations'],
sourceType: 'ticket',
},
{
source: 'kustomer',
label: 'Kustomer',
category: 'Support',
watches: 'Monitor incoming support conversations',
dwSourceType: 'Kustomer',
requiredTables: ['conversations'],
sourceType: 'ticket',
},
{
source: 'plain',
label: 'Plain',
category: 'Support',
watches: 'Monitor incoming support conversations',
dwSourceType: 'Plain',
requiredTables: ['threads'],
sourceType: 'ticket',
},
{
source: 'zendesk',
label: 'Zendesk',
category: 'Support',
watches: 'Monitor incoming support tickets',
dwSourceType: 'Zendesk',
requiredTables: ['tickets'],
sourceType: 'ticket',
},
{
source: 'pganalyze',
label: 'pganalyze',
category: 'Database performance',
watches: 'Postgres performance findings, slow queries, and index recommendations',
dwSourceType: 'PgAnalyze',
requiredTables: ['issues', 'servers'],
sourceType: 'issue',
},
{
source: 'aws_guardduty',
label: 'AWS GuardDuty',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'AwsGuardduty',
requiredTables: ['findings'],
sourceType: 'scanner_finding',
},
{
source: 'aws_inspector',
label: 'AWS Inspector',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'AwsInspector',
requiredTables: ['findings'],
sourceType: 'scanner_finding',
},
{
source: 'aws_security_hub',
label: 'AWS Security Hub',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'AwsSecurityHub',
requiredTables: ['findings'],
sourceType: 'scanner_finding',
},
{
source: 'microsoft_defender_cloud_apps',
label: 'Microsoft Defender for Cloud Apps',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'MicrosoftDefenderCloudApps',
requiredTables: ['alerts'],
sourceType: 'scanner_finding',
},
{
source: 'rapid7_insightvm',
label: 'Rapid7 InsightVM',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'Rapid7Insightvm',
requiredTables: ['vulnerabilities'],
sourceType: 'scanner_finding',
},
{
source: 'semgrep',
label: 'Semgrep',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'Semgrep',
requiredTables: ['sast_findings'],
sourceType: 'scanner_finding',
},
{
source: 'snyk',
label: 'Snyk',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'Snyk',
requiredTables: ['issues'],
sourceType: 'scanner_finding',
},
{
source: 'sonarqube',
label: 'SonarQube',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'Sonarqube',
requiredTables: ['issues'],
sourceType: 'scanner_finding',
requiredTableSyncType: 'full_refresh',
},
{
source: 'lacework',
label: 'Lacework',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'Lacework',
requiredTables: ['alerts'],
sourceType: 'scanner_finding',
},
{
source: 'orca_security',
label: 'Orca Security',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'OrcaSecurity',
requiredTables: ['alerts'],
sourceType: 'scanner_finding',
},
{
source: 'tenable_vulnerability_management',
label: 'Tenable Vulnerability Management',
category: 'Security',
watches: 'Surface new security and code-quality findings',
dwSourceType: 'TenableVulnerabilityManagement',
requiredTables: ['vulnerabilities'],
sourceType: 'scanner_finding',
},
{
source: 'aha',
label: 'Aha',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Aha',
requiredTables: ['ideas'],
sourceType: 'feedback',
},
{
source: 'asknicely',
label: 'AskNicely',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Asknicely',
requiredTables: ['responses'],
sourceType: 'feedback',
requiredTableSyncType: 'full_refresh',
},
{
source: 'bettermode',
label: 'Bettermode',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Bettermode',
requiredTables: ['posts'],
sourceType: 'feedback',
},
{
source: 'canny',
label: 'Canny',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Canny',
requiredTables: ['posts'],
sourceType: 'feedback',
},
{
source: 'discourse',
label: 'Discourse',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Discourse',
requiredTables: ['posts'],
sourceType: 'feedback',
},
{
source: 'featurebase',
label: 'Featurebase',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Featurebase',
requiredTables: ['posts'],
sourceType: 'feedback',
},
{
source: 'frill',
label: 'Frill',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Frill',
requiredTables: ['ideas'],
sourceType: 'feedback',
},
{
source: 'gainsight_px',
label: 'Gainsight PX',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'GainsightPx',
requiredTables: ['survey_responses'],
sourceType: 'feedback',
},
{
source: 'langsmith',
label: 'LangSmith',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'LangSmith',
requiredTables: ['feedback'],
sourceType: 'feedback',
},
{
source: 'mintlify',
label: 'Mintlify',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Mintlify',
requiredTables: ['feedback'],
sourceType: 'feedback',
},
{
source: 'productboard',
label: 'Productboard',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Productboard',
requiredTables: ['notes'],
sourceType: 'feedback',
},
{
source: 'retently',
label: 'Retently',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Retently',
requiredTables: ['feedback'],
sourceType: 'feedback',
requiredTableSyncType: 'full_refresh',
},
{
source: 'sleekplan',
label: 'Sleekplan',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Sleekplan',
requiredTables: ['Posts'],
sourceType: 'feedback',
},
{
source: 'sprig',
label: 'Sprig',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Sprig',
requiredTables: ['Responses'],
sourceType: 'feedback',
},
{
source: 'usersnap',
label: 'Usersnap',
category: 'Product feedback',
watches: 'Turn product feedback submissions into inputs',
dwSourceType: 'Usersnap',
requiredTables: ['feedbacks'],
sourceType: 'feedback',
},
{
source: 'typeform',
label: 'Typeform',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'Typeform',
requiredTables: ['responses'],
sourceType: 'feedback',
},
{
source: 'qualtrics',
label: 'Qualtrics',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'Qualtrics',
requiredTables: ['survey_responses'],
sourceType: 'feedback',
},
{
source: 'surveymonkey',
label: 'SurveyMonkey',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'SurveyMonkey',
requiredTables: ['survey_responses'],
sourceType: 'feedback',
},
{
source: 'formbricks',
label: 'Formbricks',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'Formbricks',
requiredTables: ['responses'],
sourceType: 'feedback',
},
{
source: 'survicate',
label: 'Survicate',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'Survicate',
requiredTables: ['responses'],
sourceType: 'feedback',
},
{
source: 'surveysparrow',
label: 'SurveySparrow',
category: 'Product feedback',
watches: 'Turn open-ended survey answers into inputs',
dwSourceType: 'SurveySparrow',
requiredTables: ['responses'],
sourceType: 'feedback',
},
{
source: 'uservoice',
label: 'UserVoice',
category: 'Product feedback',
watches: 'Turn product feedback and feature requests into inputs',
dwSourceType: 'Uservoice',
requiredTables: ['suggestions'],
sourceType: 'feedback',
},
{
source: 'appfigures',
label: 'Appfigures',
category: 'Reviews',
watches: 'Monitor new app and product reviews',
dwSourceType: 'Appfigures',
requiredTables: ['reviews'],
sourceType: 'review',
requiredTableSyncType: 'full_refresh',
},
{
source: 'appfollow',
label: 'AppFollow',
category: 'Reviews',
watches: 'Monitor new app and product reviews',
dwSourceType: 'Appfollow',
requiredTables: ['reviews'],
sourceType: 'review',
},
{
source: 'judgeme_reviews',
label: 'Judge.me',
category: 'Reviews',
watches: 'Monitor new app and product reviews',
dwSourceType: 'JudgeMeReviews',
requiredTables: ['reviews'],
sourceType: 'review',
},
{
source: 'okendo',
label: 'Okendo',
category: 'Reviews',
watches: 'Monitor new app and product reviews',
dwSourceType: 'Okendo',
requiredTables: ['reviews'],
sourceType: 'review',
},
{
source: 'trustpilot',
label: 'Trustpilot',
category: 'Reviews',
watches: 'Monitor new app and product reviews',
dwSourceType: 'TrustPilot',
requiredTables: ['service_reviews'],
sourceType: 'review',
},
{
source: 'google_search_console',
label: 'Google Search Console',
category: 'Search analytics',
watches: 'Fix pages that rank in Google but lose clicks',
dwSourceType: 'GoogleSearchConsole',
requiredTables: ['search_analytics_by_query_page'],
sourceType: 'search_opportunity',
},
{
source: 'betterstack',
label: 'Better Stack',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'BetterStack',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'firehydrant',
label: 'FireHydrant',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'FireHydrant',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'grafana_irm',
label: 'Grafana IRM',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'GrafanaIRM',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'incident_io',
label: 'incident.io',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'IncidentIo',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'dynatrace',
label: 'Dynatrace',
category: 'Incidents',
watches: 'Surface open problems detected by Dynatrace',
dwSourceType: 'Dynatrace',
requiredTables: ['problems'],
sourceType: 'incident',
},
{
source: 'statuspage',
label: 'Statuspage',
category: 'Incidents',
watches: 'Surface new incidents on your status page',
dwSourceType: 'Statuspage',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'cronitor',
label: 'Cronitor',
category: 'Incidents',
watches: 'Surface failing jobs and monitors',
dwSourceType: 'Cronitor',
requiredTables: ['issues'],
sourceType: 'incident',
},
{
source: 'instatus',
label: 'Instatus',
category: 'Incidents',
watches: 'Surface new incidents on your status page',
dwSourceType: 'Instatus',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'opsgenie',
label: 'Opsgenie',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'Opsgenie',
requiredTables: ['alerts'],
sourceType: 'incident',
},
{
source: 'pagerduty',
label: 'PagerDuty',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'PagerDuty',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'servicenow',
label: 'ServiceNow',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'ServiceNow',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'solarwinds_service_desk',
label: 'SolarWinds Service Desk',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'SolarwindsServiceDesk',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'squadcast',
label: 'Squadcast',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'Squadcast',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'xmatters',
label: 'xMatters',
category: 'Incidents',
watches: 'Surface new incidents and on-call alerts',
dwSourceType: 'Xmatters',
requiredTables: ['incidents'],
sourceType: 'incident',
},
{
source: 'bigeye',
label: 'Bigeye',
category: 'Data quality',
watches: 'Surface new data quality alerts and issues',
dwSourceType: 'Bigeye',
requiredTables: ['Issues'],
sourceType: 'incident',
},
{
source: 'monte_carlo',
label: 'Monte Carlo',
category: 'Data quality',
watches: 'Surface new data quality alerts and issues',
dwSourceType: 'MonteCarlo',
requiredTables: ['alerts'],
sourceType: 'incident',
},
] as const satisfies readonly ExternalSignalSourceDefinition[]
export type ExternalSignalSource = (typeof EXTERNAL_SIGNAL_SOURCES)[number]['source']
export type ExternalSignalSourceCategory = (typeof EXTERNAL_SIGNAL_SOURCES)[number]['category']
export function isExternalSignalSource(source: string): source is ExternalSignalSource {
return EXTERNAL_SIGNAL_SOURCES.some((definition) => definition.source === source)
}