: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
feat(data-warehouse): add feedback and review tools as self-driving inbox sources (#121051)
Tom Owers08f7a74beac7
diff --git a/products/signals/backend/contracts.py b/products/signals/backend/contracts.pyindex a312ce9e7568..ecc069724e0d 100644--- a/products/signals/backend/contracts.py+++ b/products/signals/backend/contracts.py@@ -1424,6 +1424,129 @@ class RoarkIssueSignalInput(SignalInputBase):extra: RoarkIssueSignalExtra+# ── Community, survey, docs feedback and reviews ──────────────────────────────────+++class SleekplanFeedbackSignalExtra(SignalExtraBase):+ status: str | None+ type: str | None+ total_up: str | None+ created: str | None+++class SleekplanFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.SLEEKPLAN]+ extra: SleekplanFeedbackSignalExtra+++class BettermodeFeedbackSignalExtra(SignalExtraBase):+ status: str | None+ url: str | None+ created_at: str | None+++class BettermodeFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.BETTERMODE]+ extra: BettermodeFeedbackSignalExtra+++class DiscourseFeedbackSignalExtra(SignalExtraBase):+ topic_id: str | None+ category_id: str | None+ created_at: str | None+++class DiscourseFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.DISCOURSE]+ extra: DiscourseFeedbackSignalExtra+++class MintlifyFeedbackSignalExtra(SignalExtraBase):+ path: str | None+ helpful: str | None+ status: str | None+ source: str | None+ created_at: str | None+++class MintlifyFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.MINTLIFY]+ extra: MintlifyFeedbackSignalExtra+++class LangsmithFeedbackSignalExtra(SignalExtraBase):+ key: str | None+ score: str | None+ value: str | None+ run_id: str | None+ trace_id: str | None+ created_at: str | None+++class LangsmithFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.LANGSMITH]+ extra: LangsmithFeedbackSignalExtra+++class SprigFeedbackSignalExtra(SignalExtraBase):+ question_type: str | None+ survey_id: str | None+ created_at: str | None+++class SprigFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.SPRIG]+ extra: SprigFeedbackSignalExtra+++class GainsightPxFeedbackSignalExtra(SignalExtraBase):+ score: str | None+ question_type: str | None+ content_type: str | None+ engagement_id: str | None+ date: str | None+++class GainsightPxFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.GAINSIGHT_PX]+ extra: GainsightPxFeedbackSignalExtra+++class TrustpilotReviewSignalExtra(SignalExtraBase):+ stars: str | None+ language: str | None+ status: str | None+ source: str | None+ created_at: str | None+++class TrustpilotReviewSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.REVIEW]+ source_product: Literal[SignalSourceProduct.TRUSTPILOT]+ extra: TrustpilotReviewSignalExtra+++class OkendoReviewSignalExtra(SignalExtraBase):+ rating: str | None+ status: str | None+ product_name: str | None+ is_recommended: str | None+ date_created: str | None+++class OkendoReviewSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.REVIEW]+ source_product: Literal[SignalSourceProduct.OKENDO]+ extra: OkendoReviewSignalExtra++# ── Union over all signal variants ──────────────────────────────────────────────# Discrimination is by the composite (source_product, source_type) pair, resolved via# SIGNAL_VARIANT_LOOKUP below — a single-field pydantic discriminator can't express it@@ -1508,7 +1631,16 @@ SignalInput = Annotated[| TenableVulnerabilityManagementScannerFindingSignalInput| TriggerDevErrorSignalInput| ChecklyErrorGroupSignalInput- | RoarkIssueSignalInput,+ | RoarkIssueSignalInput+ | SleekplanFeedbackSignalInput+ | BettermodeFeedbackSignalInput+ | DiscourseFeedbackSignalInput+ | MintlifyFeedbackSignalInput+ | LangsmithFeedbackSignalInput+ | SprigFeedbackSignalInput+ | GainsightPxFeedbackSignalInput+ | TrustpilotReviewSignalInput+ | OkendoReviewSignalInput,Field(union_mode="left_to_right"),]@@ -1590,6 +1722,15 @@ SIGNAL_INPUT_VARIANTS: tuple[type[SignalInputBase], ...] = (TriggerDevErrorSignalInput,ChecklyErrorGroupSignalInput,RoarkIssueSignalInput,+ SleekplanFeedbackSignalInput,+ BettermodeFeedbackSignalInput,+ DiscourseFeedbackSignalInput,+ MintlifyFeedbackSignalInput,+ LangsmithFeedbackSignalInput,+ SprigFeedbackSignalInput,+ GainsightPxFeedbackSignalInput,+ TrustpilotReviewSignalInput,+ OkendoReviewSignalInput,CheckFailedSignalInput,)diff --git a/products/signals/backend/emission/bettermode_posts.py b/products/signals/backend/emission/bettermode_posts.pynew file mode 100644index 000000000000..b58889a3b1de--- /dev/null+++ b/products/signals/backend/emission/bettermode_posts.py@@ -0,0 +1,42 @@+"""Signal emitter for bettermode `posts` (record kind: feedback).++`created_at` is an ISO string; `text_content` is the plain-text post body.+Only published top-level posts are read, so replies do not flood the inbox.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++BETTERMODE_FIELDS = (+ "id",+ "title",+ "text_content",+ "status",+ "url",+ "created_at",+)++BETTERMODE_CONFIG = SignalSourceTableConfig(+ source_product="bettermode",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="bettermode",+ source_type="feedback",+ id_field="id",+ title_field="title",+ body_field="text_content",+ extra_fields=("status", "url", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=BETTERMODE_FIELDS,+ where_clause="(replied_to_id IS NULL OR replied_to_id = '') AND status = 'PUBLISHED'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/discourse_posts.py b/products/signals/backend/emission/discourse_posts.pynew file mode 100644index 000000000000..a9b4dcd03981--- /dev/null+++ b/products/signals/backend/emission/discourse_posts.py@@ -0,0 +1,43 @@+"""Signal emitter for discourse `posts` (record kind: feedback).++`created_at` is an ISO string; `raw` is the Markdown post body.+Only the opening post of each topic is read, so replies do not flood the inbox.+Hidden and deleted posts are skipped. The username and user id columns are not read.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++DISCOURSE_FIELDS = (+ "id",+ "topic_id",+ "topic_title",+ "raw",+ "category_id",+ "created_at",+)++DISCOURSE_CONFIG = SignalSourceTableConfig(+ source_product="discourse",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="discourse",+ source_type="feedback",+ id_field="id",+ title_field="topic_title",+ body_field="raw",+ extra_fields=("topic_id", "category_id", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=DISCOURSE_FIELDS,+ where_clause="post_number = 1 AND (hidden IS NULL OR hidden = false) AND deleted_at IS NULL",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/gainsight_px_survey_responses.py b/products/signals/backend/emission/gainsight_px_survey_responses.pynew file mode 100644index 000000000000..057210ce59a5--- /dev/null+++ b/products/signals/backend/emission/gainsight_px_survey_responses.py@@ -0,0 +1,41 @@+"""Signal emitter for gainsight_px `survey_responses` (record kind: feedback).++`date` is a timestamp (the import converts the API's epoch milliseconds); `comment` is the free-text answer.+Responses with no comment are skipped. The identify, account and session id columns are not read.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++GAINSIGHT_PX_FIELDS = (+ "event_id",+ "comment",+ "score",+ "question_type",+ "content_type",+ "engagement_id",+ "date",+)++GAINSIGHT_PX_CONFIG = SignalSourceTableConfig(+ source_product="gainsight_px",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="gainsight_px",+ source_type="feedback",+ id_field="event_id",+ title_field="comment",+ extra_fields=("score", "question_type", "content_type", "engagement_id", "date"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="date",+ fields=GAINSIGHT_PX_FIELDS,+ where_clause="comment IS NOT NULL AND comment != ''",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/langsmith_feedback.py b/products/signals/backend/emission/langsmith_feedback.pynew file mode 100644index 000000000000..4f1e20a57be7--- /dev/null+++ b/products/signals/backend/emission/langsmith_feedback.py@@ -0,0 +1,91 @@+"""Signal emitter for langsmith `feedback` (record kind: feedback).++Most LangSmith feedback is a bare score from an evaluator. Only rows with a human-readable+`comment` or `correction` carry a useful signal, so the query skips the rest.+`created_at` is an ISO string. `correction` and `value` can hold JSON, so both are read as text.+"""++from typing import Any++from structlog import get_logger++from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalEmitterOutput, SignalSourceTableConfig++logger = get_logger(__name__)++LANGSMITH_FIELDS = (+ "id",+ "key",+ "score",+ "value",+ "comment",+ "correction",+ "run_id",+ "trace_id",+ "created_at",+)++LANGSMITH_EXTRA_FIELDS = ("key", "score", "value", "run_id", "trace_id", "created_at")++# An empty JSON correction serializes to one of these and carries no text. The query skips them+# so they do not use up the fetch limit, and the emitter drops them too as a backstop.+_EMPTY_TEXT_VALUES = ("", "{}", "[]", "null")+++def _text(value: Any) -> str:+ text = "" if value is None else str(value).strip()+ return "" if text in _EMPTY_TEXT_VALUES else text+++def langsmith_feedback_emitter(team_id: int, record: dict[str, Any]) -> SignalEmitterOutput | None:+ try:+ record_id = record["id"]+ key = record["key"]+ except KeyError as e:+ msg = f"langsmith record missing required field {e}"+ logger.exception(msg, record=record, team_id=team_id, signals_type="data-import-signals")+ raise ValueError(msg) from e+ comment = _text(record.get("comment"))+ correction = _text(record.get("correction"))+ if not record_id or not (comment or correction):+ logger.info(+ "Ignoring langsmith record with empty id or no comment and correction",+ team_id=team_id,+ signals_type="data-import-signals",+ )+ return None+ label = _text(key) or "feedback"+ lines = [f"{label}: {comment}" if comment else label]+ if correction:+ lines.append(f"Correction: {correction}")+ extra = {field: None if record.get(field) is None else str(record.get(field)) for field in LANGSMITH_EXTRA_FIELDS}+ return SignalEmitterOutput(+ source_product="langsmith",+ source_type="feedback",+ source_id=str(record_id),+ description="\n".join(lines),+ weight=1.0,+ extra=extra,+ )+++LANGSMITH_CONFIG = SignalSourceTableConfig(+ source_product="langsmith",+ source_type="feedback",+ emitter=langsmith_feedback_emitter,+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=LANGSMITH_FIELDS,+ where_clause=(+ "((comment IS NOT NULL AND trim(comment) != '') "+ "OR (correction IS NOT NULL AND trim(correction) NOT IN ('', '{}', '[]', 'null')))"+ ),+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/mintlify_feedback.py b/products/signals/backend/emission/mintlify_feedback.pynew file mode 100644index 000000000000..30264f54e28f--- /dev/null+++ b/products/signals/backend/emission/mintlify_feedback.py@@ -0,0 +1,43 @@+"""Signal emitter for mintlify `feedback` (record kind: feedback).++`created_at` is an ISO string; `comment` is the free-text feedback.+`status` is pending, in_progress, resolved or dismissed. Resolved and dismissed rows, and rows with no comment, are skipped.+The contact column is not read, because it is an email address.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++MINTLIFY_FIELDS = (+ "id",+ "comment",+ "path",+ "helpful",+ "status",+ "source",+ "created_at",+)++MINTLIFY_CONFIG = SignalSourceTableConfig(+ source_product="mintlify",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="mintlify",+ source_type="feedback",+ id_field="id",+ title_field="comment",+ extra_fields=("path", "helpful", "status", "source", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=MINTLIFY_FIELDS,+ where_clause="comment IS NOT NULL AND comment != '' AND status NOT IN ('resolved', 'dismissed')",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/okendo_reviews.py b/products/signals/backend/emission/okendo_reviews.pynew file mode 100644index 000000000000..dcbbb6a95d95--- /dev/null+++ b/products/signals/backend/emission/okendo_reviews.py@@ -0,0 +1,44 @@+"""Signal emitter for okendo `reviews` (record kind: review).++`date_created` is an ISO string; `body` is the review text, `rating` the star rating.+`status` is approved, pending or rejected. Rejected reviews and reviews with no text are skipped.+The title is optional, so the signal text is the title and body, or the body alone when there is no title.+The reviewer and order columns are not read, because they identify the customer.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import REVIEW_ACTIONABILITY_PROMPT, REVIEW_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++OKENDO_FIELDS = (+ "review_id",+ "if(title IS NULL OR title = '', body, concat(title, '\\n', body)) AS review_text",+ "rating",+ "status",+ "product_name",+ "is_recommended",+ "date_created",+)++OKENDO_CONFIG = SignalSourceTableConfig(+ source_product="okendo",+ source_type="review",+ emitter=make_flat_emitter(+ source_product="okendo",+ source_type="review",+ id_field="review_id",+ title_field="review_text",+ extra_fields=("rating", "status", "product_name", "is_recommended", "date_created"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="date_created",+ partition_field_is_datetime_string=True,+ fields=OKENDO_FIELDS,+ where_clause="body IS NOT NULL AND body != '' AND status != 'rejected'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=REVIEW_ACTIONABILITY_PROMPT,+ summarization_prompt=REVIEW_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/registry.py b/products/signals/backend/emission/registry.pyindex 7d39ef589aaa..3ff2e281b613 100644--- a/products/signals/backend/emission/registry.py+++ b/products/signals/backend/emission/registry.py@@ -156,6 +156,7 @@ def _register_all_emitters() -> None:from products.signals.backend.emission.asana_tasks import ASANA_CONFIGfrom products.signals.backend.emission.asknicely_responses import ASKNICELY_CONFIGfrom products.signals.backend.emission.azure_devops_work_item_revisions import AZURE_DEVOPS_CONFIG+ from products.signals.backend.emission.bettermode_posts import BETTERMODE_CONFIGfrom products.signals.backend.emission.betterstack_incidents import BETTERSTACK_CONFIGfrom products.signals.backend.emission.bigeye_issues import BIGEYE_CONFIGfrom products.signals.backend.emission.bugsnag_errors import BUGSNAG_CONFIG@@ -167,6 +168,7 @@ def _register_all_emitters() -> None:from products.signals.backend.emission.datadog_error_spans import DATADOG_ERROR_SPANS_CONFIGfrom products.signals.backend.emission.datadog_incidents import DATADOG_CONFIGfrom products.signals.backend.emission.datadog_monitor_alerts import DATADOG_MONITOR_ALERTS_CONFIG+ from products.signals.backend.emission.discourse_posts import DISCOURSE_CONFIGfrom products.signals.backend.emission.dixa_conversations import DIXA_CONFIGfrom products.signals.backend.emission.dynamics365_cases import DYNAMICS365_CONFIGfrom products.signals.backend.emission.featurebase_posts import FEATUREBASE_CONFIG@@ -175,6 +177,7 @@ def _register_all_emitters() -> None:from products.signals.backend.emission.freshservice_tickets import FRESHSERVICE_CONFIGfrom products.signals.backend.emission.frill_ideas import FRILL_CONFIGfrom products.signals.backend.emission.front_conversations import FRONT_CONFIG+ from products.signals.backend.emission.gainsight_px_survey_responses import GAINSIGHT_PX_CONFIGfrom products.signals.backend.emission.gitea_issues import GITEA_CONFIGfrom products.signals.backend.emission.github_issues import GITHUB_ISSUES_CONFIGfrom products.signals.backend.emission.gitlab_issues import GITLAB_CONFIG@@ -189,9 +192,12 @@ def _register_all_emitters() -> None:from products.signals.backend.emission.judgeme_reviews_reviews import JUDGEME_REVIEWS_CONFIGfrom products.signals.backend.emission.kustomer_conversations import KUSTOMER_CONFIGfrom products.signals.backend.emission.lacework_alerts import LACEWORK_CONFIG+ from products.signals.backend.emission.langsmith_feedback import LANGSMITH_CONFIGfrom products.signals.backend.emission.linear_issues import LINEAR_ISSUES_CONFIG+ from products.signals.backend.emission.mintlify_feedback import MINTLIFY_CONFIGfrom products.signals.backend.emission.monday_items import MONDAY_CONFIGfrom products.signals.backend.emission.monte_carlo_alerts import MONTE_CARLO_CONFIG+ from products.signals.backend.emission.okendo_reviews import OKENDO_CONFIGfrom products.signals.backend.emission.opsgenie_alerts import OPSGENIE_CONFIGfrom products.signals.backend.emission.orca_security_alerts import ORCA_SECURITY_CONFIGfrom products.signals.backend.emission.pagerduty_incidents import PAGERDUTY_CONFIG@@ -210,14 +216,17 @@ def _register_all_emitters() -> None:from products.signals.backend.emission.sentry_issues import SENTRY_CONFIGfrom products.signals.backend.emission.servicenow_incidents import SERVICENOW_CONFIGfrom products.signals.backend.emission.shortcut_stories import SHORTCUT_CONFIG+ from products.signals.backend.emission.sleekplan_posts import SLEEKPLAN_CONFIGfrom products.signals.backend.emission.snyk_issues import SNYK_CONFIGfrom products.signals.backend.emission.solarwinds_service_desk_incidents import SOLARWINDS_SERVICE_DESK_CONFIGfrom products.signals.backend.emission.sonarqube_issues import SONARQUBE_CONFIG+ from products.signals.backend.emission.sprig_responses import SPRIG_CONFIGfrom products.signals.backend.emission.squadcast_incidents import SQUADCAST_CONFIGfrom products.signals.backend.emission.tenable_vulnerability_management_vulnerabilities import (TENABLE_VULNERABILITY_MANAGEMENT_CONFIG,)from products.signals.backend.emission.trigger_dev_errors import TRIGGER_DEV_CONFIG+ from products.signals.backend.emission.trustpilot_service_reviews import TRUSTPILOT_CONFIGfrom products.signals.backend.emission.uservoice_suggestions import USERVOICE_CONFIGfrom products.signals.backend.emission.xmatters_incidents import XMATTERS_CONFIGfrom products.signals.backend.emission.zendesk_tickets import ZENDESK_TICKETS_CONFIG@@ -311,6 +320,17 @@ def _register_all_emitters() -> None:register_signal_source(ExternalDataSourceType.TRIGGERDEV, "errors", TRIGGER_DEV_CONFIG)register_signal_source(ExternalDataSourceType.CHECKLY, "error_groups", CHECKLY_CONFIG)register_signal_source(ExternalDataSourceType.ROARK, "issue", ROARK_CONFIG)+ # Community, survey and docs feedback (record kind: feedback)+ register_signal_source(ExternalDataSourceType.SLEEKPLAN, "Posts", SLEEKPLAN_CONFIG)+ register_signal_source(ExternalDataSourceType.BETTERMODE, "posts", BETTERMODE_CONFIG)+ register_signal_source(ExternalDataSourceType.DISCOURSE, "posts", DISCOURSE_CONFIG)+ register_signal_source(ExternalDataSourceType.MINTLIFY, "feedback", MINTLIFY_CONFIG)+ register_signal_source(ExternalDataSourceType.LANGSMITH, "feedback", LANGSMITH_CONFIG)+ register_signal_source(ExternalDataSourceType.SPRIG, "Responses", SPRIG_CONFIG)+ register_signal_source(ExternalDataSourceType.GAINSIGHTPX, "survey_responses", GAINSIGHT_PX_CONFIG)+ # Business and product reviews (record kind: review)+ register_signal_source(ExternalDataSourceType.TRUSTPILOT, "service_reviews", TRUSTPILOT_CONFIG)+ register_signal_source(ExternalDataSourceType.OKENDO, "reviews", OKENDO_CONFIG)_register_all_emitters()diff --git a/products/signals/backend/emission/sleekplan_posts.py b/products/signals/backend/emission/sleekplan_posts.pynew file mode 100644index 000000000000..f242ad39b08b--- /dev/null+++ b/products/signals/backend/emission/sleekplan_posts.py@@ -0,0 +1,41 @@+"""Signal emitter for sleekplan `Posts` (record kind: feedback).++`created` is a datetime string; `description` is the plain-text post body.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SLEEKPLAN_FIELDS = (+ "feedback_id",+ "title",+ "description",+ "status",+ "type",+ "total_up",+ "created",+)++SLEEKPLAN_CONFIG = SignalSourceTableConfig(+ source_product="sleekplan",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="sleekplan",+ source_type="feedback",+ id_field="feedback_id",+ title_field="title",+ body_field="description",+ extra_fields=("status", "type", "total_up", "created"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created",+ partition_field_is_datetime_string=True,+ fields=SLEEKPLAN_FIELDS,+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/sprig_responses.py b/products/signals/backend/emission/sprig_responses.pynew file mode 100644index 000000000000..cdaa6041075f--- /dev/null+++ b/products/signals/backend/emission/sprig_responses.py@@ -0,0 +1,47 @@+"""Signal emitter for sprig `Responses` (record kind: feedback).++Each row is one answer to one survey question, so the id is the submission id plus the question id.+`created_at` is an ISO string. `response` changes shape by question type, so it is read as a string.+Answers with no response and bare numeric answers (ratings, NPS scores) are skipped in the query,+so they do not use up the fetch limit. Visitor ids, snapshots and external user ids are not read.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SPRIG_FIELDS = (+ "concat(toString(response_group_uid), ':', toString(question_id)) AS response_key",+ "question_text",+ "toString(response) AS response_text",+ "question_type",+ "survey_id",+ "created_at",+)++SPRIG_CONFIG = SignalSourceTableConfig(+ source_product="sprig",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="sprig",+ source_type="feedback",+ id_field="response_key",+ title_field="question_text",+ body_field="response_text",+ extra_fields=("question_type", "survey_id", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=SPRIG_FIELDS,+ where_clause=(+ "response IS NOT NULL AND trim(toString(response)) != '' "+ "AND NOT match(trim(toString(response)), '^-?[0-9]+([.][0-9]+)?$')"+ ),+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/tests/test_langsmith_feedback.py b/products/signals/backend/emission/tests/test_langsmith_feedback.pynew file mode 100644index 000000000000..cc95aaa13441--- /dev/null+++ b/products/signals/backend/emission/tests/test_langsmith_feedback.py@@ -0,0 +1,84 @@+from typing import Any++import pytest++from products.signals.backend.emission.langsmith_feedback import langsmith_feedback_emitter+++def _record(**overrides: Any) -> dict[str, Any]:+ record: dict[str, Any] = {+ "id": "fb-1",+ "key": "correctness",+ "score": 0,+ "value": None,+ "comment": "The answer ignores the date range",+ "correction": None,+ "run_id": "run-1",+ "trace_id": "trace-1",+ "created_at": "2026-10-01T10:00:00Z",+ }+ record.update(overrides)+ return record+++ "overrides,expected",+ [+ ({}, "correctness: The answer ignores the date range"),+ (+ {"correction": '{"output": "Use the last 7 days"}'},+ 'correctness: The answer ignores the date range\nCorrection: {"output": "Use the last 7 days"}',+ ),+ ({"comment": None, "correction": "Use the last 7 days"}, "correctness\nCorrection: Use the last 7 days"),+ ({"comment": " ", "correction": {"output": "fixed"}}, "correctness\nCorrection: {'output': 'fixed'}"),+ ({"key": None}, "feedback: The answer ignores the date range"),+ ({"key": ""}, "feedback: The answer ignores the date range"),+ ],+ ids=["comment_only", "comment_and_correction", "correction_only", "dict_correction", "null_key", "empty_key"],+)+def test_description_is_built_from_key_comment_and_correction(overrides: dict[str, Any], expected: str) -> None:+ output = langsmith_feedback_emitter(1, _record(**overrides))++ assert output is not None+ assert output.description == expected+ assert output.source_id == "fb-1"+++ "overrides",+ [+ {"comment": None, "correction": None},+ {"comment": "", "correction": ""},+ {"comment": " ", "correction": "{}"},+ {"comment": None, "correction": "[]"},+ {"comment": None, "correction": "null"},+ {"id": None},+ {"id": ""},+ ],+ ids=["no_text", "empty_strings", "empty_json_object", "empty_json_list", "json_null", "null_id", "empty_id"],+)+def test_record_without_text_or_id_is_skipped(overrides: dict[str, Any]) -> None:+ assert langsmith_feedback_emitter(1, _record(**overrides)) is None++[email protected]("missing", ["id", "key"])+def test_missing_required_column_raises(missing: str) -> None:+ record = _record()+ del record[missing]++ with pytest.raises(ValueError):+ langsmith_feedback_emitter(1, record)+++def test_extra_coerces_scalars_to_strings() -> None:+ output = langsmith_feedback_emitter(1, _record(score=0.5, value=True))++ assert output is not None+ assert output.extra == {+ "key": "correctness",+ "score": "0.5",+ "value": "True",+ "run_id": "run-1",+ "trace_id": "trace-1",+ "created_at": "2026-10-01T10:00:00Z",+ }diff --git a/products/signals/backend/emission/tests/test_tier1_registry.py b/products/signals/backend/emission/tests/test_tier1_registry.pyindex 11c529201d57..bb5a9e083df0 100644--- a/products/signals/backend/emission/tests/test_tier1_registry.py+++ b/products/signals/backend/emission/tests/test_tier1_registry.py@@ -84,6 +84,17 @@ TIER1_SOURCES = [(ExternalDataSourceType.TRIGGERDEV, "errors", "trigger_dev", "issue"),(ExternalDataSourceType.CHECKLY, "error_groups", "checkly", "issue"),(ExternalDataSourceType.ROARK, "issue", "roark", "issue"),+ # Community, survey and docs feedback+ (ExternalDataSourceType.SLEEKPLAN, "Posts", "sleekplan", "feedback"),+ (ExternalDataSourceType.BETTERMODE, "posts", "bettermode", "feedback"),+ (ExternalDataSourceType.DISCOURSE, "posts", "discourse", "feedback"),+ (ExternalDataSourceType.MINTLIFY, "feedback", "mintlify", "feedback"),+ (ExternalDataSourceType.LANGSMITH, "feedback", "langsmith", "feedback"),+ (ExternalDataSourceType.SPRIG, "Responses", "sprig", "feedback"),+ (ExternalDataSourceType.GAINSIGHTPX, "survey_responses", "gainsight_px", "feedback"),+ # Business and product reviews+ (ExternalDataSourceType.TRUSTPILOT, "service_reviews", "trustpilot", "review"),+ (ExternalDataSourceType.OKENDO, "reviews", "okendo", "review"),]IDS = [product for _, _, product, _ in TIER1_SOURCES]diff --git a/products/signals/backend/emission/trustpilot_service_reviews.py b/products/signals/backend/emission/trustpilot_service_reviews.pynew file mode 100644index 000000000000..419b702b0fb9--- /dev/null+++ b/products/signals/backend/emission/trustpilot_service_reviews.py@@ -0,0 +1,45 @@+"""Signal emitter for trustpilot `service_reviews` (record kind: review).++`created_at` is an ISO string; `text` is the review body, `stars` the rating.+The consumer, location and referral email columns are not read, because they identify the reviewer.+Reviews with no text are skipped.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import REVIEW_ACTIONABILITY_PROMPT, REVIEW_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++TRUSTPILOT_FIELDS = (+ "id",+ "title",+ "text",+ "stars",+ "language",+ "status",+ "source",+ "created_at",+)++TRUSTPILOT_CONFIG = SignalSourceTableConfig(+ source_product="trustpilot",+ source_type="review",+ emitter=make_flat_emitter(+ source_product="trustpilot",+ source_type="review",+ id_field="id",+ title_field="title",+ body_field="text",+ extra_fields=("stars", "language", "status", "source", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=TRUSTPILOT_FIELDS,+ where_clause="text IS NOT NULL AND text != ''",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=REVIEW_ACTIONABILITY_PROMPT,+ summarization_prompt=REVIEW_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/facade/api.py b/products/signals/backend/facade/api.pyindex 5da2629d4718..3534c4189ff8 100644--- a/products/signals/backend/facade/api.py+++ b/products/signals/backend/facade/api.py@@ -732,10 +732,10 @@ def enable_onboarding_signal_sources(team_id: int, user_id: int) -> OnboardingSo# the product output rather than an arbitrary nested blob; see `scout_harness/tools/report.py`._MAX_TELEMETRY_STR_LEN = 256-# Keys that name a person rather than attribute a signal. A source may carry one on `extra` because-# triage needs it (a GitHub issue's `author_login` separates a maintainer's report from a stranger's),-# but no lifecycle event needs the identity, so the scalar passthrough drops it.-_TELEMETRY_EXCLUDED_EXTRA_KEYS = frozenset({"author_login"})+# Keys that contain identity or customer-authored content rather than attributes of a signal. A source+# may carry one on `extra` because triage needs it, but lifecycle events do not, so the scalar+# passthrough drops it.+_TELEMETRY_EXCLUDED_EXTRA_KEYS = frozenset({"author_login", "value"})def _telemetry_props_from_extra(extra: dict | None) -> dict:diff --git a/products/signals/backend/test/test_api.py b/products/signals/backend/test/test_api.pyindex 5fbfde934533..d490d5d72618 100644--- a/products/signals/backend/test/test_api.py+++ b/products/signals/backend/test/test_api.py@@ -307,6 +307,7 @@ class TestTelemetryPropsFromExtra:"references": [{"queryText": "SELECT * FROM customers"}], # nested — dropped"time_range": {"date_from": "a", "date_to": "b"}, # dict — dropped"author_login": "octocat", # identifies a person — dropped+ "value": '{"private": "customer-authored content"}', # arbitrary source payload — dropped})assert props == {"scout_run_id": "run-1", "number": 42, "confidence": 0.9, "locked": False}diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex ea7a5d5163d0..84a20c55e4ee 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -3643,6 +3643,72 @@ export interface RoarkIssueSignalExtraApi {created_at: string | null}+export interface SleekplanFeedbackSignalExtraApi {+ status: string | null+ type: string | null+ total_up: string | null+ created: string | null+}++export interface BettermodeFeedbackSignalExtraApi {+ status: string | null+ url: string | null+ created_at: string | null+}++export interface DiscourseFeedbackSignalExtraApi {+ topic_id: string | null+ category_id: string | null+ created_at: string | null+}++export interface MintlifyFeedbackSignalExtraApi {+ path: string | null+ helpful: string | null+ status: string | null+ source: string | null+ created_at: string | null+}++export interface LangsmithFeedbackSignalExtraApi {+ key: string | null+ score: string | null+ value: string | null+ run_id: string | null+ trace_id: string | null+ created_at: string | null+}++export interface SprigFeedbackSignalExtraApi {+ question_type: string | null+ survey_id: string | null+ created_at: string | null+}++export interface GainsightPxFeedbackSignalExtraApi {+ score: string | null+ question_type: string | null+ content_type: string | null+ engagement_id: string | null+ date: string | null+}++export interface TrustpilotReviewSignalExtraApi {+ stars: string | null+ language: string | null+ status: string | null+ source: string | null+ created_at: string | null+}++export interface OkendoReviewSignalExtraApi {+ rating: string | null+ status: string | null+ product_name: string | null+ is_recommended: string | null+ date_created: string | null+}+export type SignalExtraApi =| SessionProblemSignalExtraApi| LlmEvalSignalExtraApi@@ -3723,6 +3789,15 @@ export type SignalExtraApi =| TriggerDevErrorSignalExtraApi| ChecklyErrorGroupSignalExtraApi| RoarkIssueSignalExtraApi+ | SleekplanFeedbackSignalExtraApi+ | BettermodeFeedbackSignalExtraApi+ | DiscourseFeedbackSignalExtraApi+ | MintlifyFeedbackSignalExtraApi+ | LangsmithFeedbackSignalExtraApi+ | SprigFeedbackSignalExtraApi+ | GainsightPxFeedbackSignalExtraApi+ | TrustpilotReviewSignalExtraApi+ | OkendoReviewSignalExtraApiexport interface SpecificityMetadataApi {/** Title of the PR the specificity gate evaluated. */diff --git a/products/signals/frontend/inbox/externalSignalSources.ts b/products/signals/frontend/inbox/externalSignalSources.tsindex f7782a746005..84c2daf49edf 100644--- a/products/signals/frontend/inbox/externalSignalSources.ts+++ b/products/signals/frontend/inbox/externalSignalSources.ts@@ -378,6 +378,15 @@ export const EXTERNAL_SIGNAL_SOURCES = [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',@@ -387,6 +396,15 @@ export const EXTERNAL_SIGNAL_SOURCES = [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',@@ -405,6 +423,33 @@ export const EXTERNAL_SIGNAL_SOURCES = [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',@@ -424,6 +469,24 @@ export const EXTERNAL_SIGNAL_SOURCES = [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: 'uservoice',label: 'UserVoice',@@ -461,6 +524,24 @@ export const EXTERNAL_SIGNAL_SOURCES = [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',diff --git a/products/signals/frontend/inbox/signalSourcesLogic.ts b/products/signals/frontend/inbox/signalSourcesLogic.tsindex bfe437df8410..692ba114ea1d 100644--- a/products/signals/frontend/inbox/signalSourcesLogic.ts+++ b/products/signals/frontend/inbox/signalSourcesLogic.ts@@ -619,11 +619,13 @@ export interface signalSourcesLogicMeta {| 'asana'| 'asknicely'| 'azure_devops'+ | 'bettermode'| 'betterstack'| 'bigeye'| 'bugsnag'| 'canny'| 'checkly'+ | 'discourse'| 'dixa'| 'dynamics365'| 'featurebase'@@ -632,6 +634,7 @@ export interface signalSourcesLogicMeta {| 'freshservice'| 'frill'| 'front'+ | 'gainsight_px'| 'gitea'| 'github'| 'gitlab'@@ -646,9 +649,12 @@ export interface signalSourcesLogicMeta {| 'judgeme_reviews'| 'kustomer'| 'lacework'+ | 'langsmith'| 'linear'+ | 'mintlify'| 'monday'| 'monte_carlo'+ | 'okendo'| 'opsgenie'| 'orca_security'| 'pagerduty'@@ -665,12 +671,15 @@ export interface signalSourcesLogicMeta {| 'sentry'| 'servicenow'| 'shortcut'+ | 'sleekplan'| 'snyk'| 'solarwinds_service_desk'| 'sonarqube'+ | 'sprig'| 'squadcast'| 'tenable_vulnerability_management'| 'trigger_dev'+ | 'trustpilot'| 'uservoice'| 'xmatters'| 'zendesk'@@ -697,11 +706,13 @@ export interface signalSourcesLogicMeta {| 'asana'| 'asknicely'| 'azure_devops'+ | 'bettermode'| 'betterstack'| 'bigeye'| 'bugsnag'| 'canny'| 'checkly'+ | 'discourse'| 'dixa'| 'dynamics365'| 'featurebase'@@ -710,6 +721,7 @@ export interface signalSourcesLogicMeta {| 'freshservice'| 'frill'| 'front'+ | 'gainsight_px'| 'gitea'| 'github'| 'gitlab'@@ -724,9 +736,12 @@ export interface signalSourcesLogicMeta {| 'judgeme_reviews'| 'kustomer'| 'lacework'+ | 'langsmith'| 'linear'+ | 'mintlify'| 'monday'| 'monte_carlo'+ | 'okendo'| 'opsgenie'| 'orca_security'| 'pagerduty'@@ -743,12 +758,15 @@ export interface signalSourcesLogicMeta {| 'sentry'| 'servicenow'| 'shortcut'+ | 'sleekplan'| 'snyk'| 'solarwinds_service_desk'| 'sonarqube'+ | 'sprig'| 'squadcast'| 'tenable_vulnerability_management'| 'trigger_dev'+ | 'trustpilot'| 'uservoice'| 'xmatters'| 'zendesk'@@ -766,11 +784,13 @@ export interface signalSourcesLogicMeta {| 'asana'| 'asknicely'| 'azure_devops'+ | 'bettermode'| 'betterstack'| 'bigeye'| 'bugsnag'| 'canny'| 'checkly'+ | 'discourse'| 'dixa'| 'dynamics365'| 'featurebase'@@ -779,6 +799,7 @@ export interface signalSourcesLogicMeta {| 'freshservice'| 'frill'| 'front'+ | 'gainsight_px'| 'gitea'| 'github'| 'gitlab'@@ -793,9 +814,12 @@ export interface signalSourcesLogicMeta {| 'judgeme_reviews'| 'kustomer'| 'lacework'+ | 'langsmith'| 'linear'+ | 'mintlify'| 'monday'| 'monte_carlo'+ | 'okendo'| 'opsgenie'| 'orca_security'| 'pagerduty'@@ -812,12 +836,15 @@ export interface signalSourcesLogicMeta {| 'sentry'| 'servicenow'| 'shortcut'+ | 'sleekplan'| 'snyk'| 'solarwinds_service_desk'| 'sonarqube'+ | 'sprig'| 'squadcast'| 'tenable_vulnerability_management'| 'trigger_dev'+ | 'trustpilot'| 'uservoice'| 'xmatters'| 'zendesk'diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex ecca9196fef0..420df5f729fb 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -17585,6 +17585,12 @@ export namespace Schemas {explicit_datetime_to?: string | null;}+ export interface BettermodeFeedbackSignalExtra {+ status: string | null;+ url: string | null;+ created_at: string | null;+ }+export interface BetterstackIncidentSignalExtra {url: string | null;started_at: string | null;@@ -38163,6 +38169,12 @@ export namespace Schemas {readonly icon_path: string | null;}+ export interface DiscourseFeedbackSignalExtra {+ topic_id: string | null;+ category_id: string | null;+ created_at: string | null;+ }+/*** * `not_useful` - Not useful* * `not_now` - Not now@@ -54261,6 +54273,14 @@ export namespace Schemas {created_at: string | null;}+ export interface GainsightPxFeedbackSignalExtra {+ score: string | null;+ question_type: string | null;+ content_type: string | null;+ engagement_id: string | null;+ date: string | null;+ }+export interface GapAction {/*** Optional knowledge source to link when accepting.@@ -64363,6 +64383,15 @@ export namespace Schemas {start_time: string | null;}+ export interface LangsmithFeedbackSignalExtra {+ key: string | null;+ score: string | null;+ value: string | null;+ run_id: string | null;+ trace_id: string | null;+ created_at: string | null;+ }+/*** * `today` - today* * `this_week` - this_week@@ -69519,6 +69548,14 @@ export namespace Schemas {readonly last_seen_at: string | null;}+ export interface MintlifyFeedbackSignalExtra {+ path: string | null;+ helpful: string | null;+ status: string | null;+ source: string | null;+ created_at: string | null;+ }+/*** * `chunk_not_uploaded` - Source map not uploaded* * `no_source_map_linked` - Script links no source map@@ -71647,6 +71684,14 @@ export namespace Schemas {results: OfflineScorerSummary[];}+ export interface OkendoReviewSignalExtra {+ rating: string | null;+ status: string | null;+ product_name: string | null;+ is_recommended: string | null;+ date_created: string | null;+ }+export interface OnboardWarehouseTeamRequest {/** Schema name for this project's data in the organization's warehouse. Lowercase letters, numbers, and underscores only, max 63 characters. Must be unique within the organization and cannot be changed later. */schema_name: string;@@ -99358,7 +99403,28 @@ export namespace Schemas {created_at: string | null;}- export type SignalExtra = SessionProblemSignalExtra | LlmEvalSignalExtra | LlmEvalReportSignalExtra | ZendeskTicketSignalExtra | GithubIssueSignalExtra | LinearIssueSignalExtra | JiraIssueSignalExtra | ConversationsTicketSignalExtra | ErrorTrackingSignalExtra | PgAnalyzeIssueSignalExtra | EndpointExecutionFailedSignalExtra | EndpointBreakdownLimitExceededSignalExtra | SignalsScoutSignalExtra | CheckFailedSignalExtra | LogsAlertStateChangeSignalExtra | ReplayVisionScannerFindingSignalExtra | AnalyticsAnomalyInvestigationSignalExtra | HealthCheckSignalExtra | EngineeringAnalyticsCIFlakyCheckSignalExtra | EngineeringAnalyticsCIBrokenDefaultBranchSignalExtra | EngineeringAnalyticsCIDurationRegressionSignalExtra | FreshdeskTicketSignalExtra | FreshserviceTicketSignalExtra | FrontConversationSignalExtra | GorgiasTicketSignalExtra | KustomerConversationSignalExtra | DixaConversationSignalExtra | PlainThreadSignalExtra | GitlabIssueSignalExtra | GiteaIssueSignalExtra | ShortcutStorySignalExtra | SentryIssueSignalExtra | RollbarItemSignalExtra | BugsnagErrorSignalExtra | HoneybadgerFaultSignalExtra | RaygunErrorGroupSignalExtra | DatadogSignalExtra | SnykScannerFindingSignalExtra | SonarqubeScannerFindingSignalExtra | SemgrepScannerFindingSignalExtra | Rapid7InsightvmScannerFindingSignalExtra | FeaturebaseFeedbackSignalExtra | FrillFeedbackSignalExtra | AhaFeedbackSignalExtra | UservoiceFeedbackSignalExtra | ProductboardFeedbackSignalExtra | CannyFeedbackSignalExtra | AsknicelyFeedbackSignalExtra | RetentlyFeedbackSignalExtra | AppfiguresReviewSignalExtra | AppfollowReviewSignalExtra | JudgemeReviewsReviewSignalExtra | IntercomTicketSignalExtra | HubspotTicketSignalExtra | Dynamics365TicketSignalExtra | ZohoCrmTicketSignalExtra | GoogleSearchConsoleSearchOpportunitySignalExtra | PagerdutyIncidentSignalExtra | OpsgenieAlertSignalExtra | IncidentIoIncidentSignalExtra | FirehydrantIncidentSignalExtra | SquadcastIncidentSignalExtra | ServicenowIncidentSignalExtra | SolarwindsServiceDeskIncidentSignalExtra | GrafanaIrmIncidentSignalExtra | XmattersIncidentSignalExtra | LaceworkScannerFindingSignalExtra | OrcaSecurityScannerFindingSignalExtra | TenableVulnerabilityManagementScannerFindingSignalExtra | BetterstackIncidentSignalExtra | AsanaIssueSignalExtra | MondayIssueSignalExtra | PlaneIssueSignalExtra | AzureDevopsIssueSignalExtra | MonteCarloAlertSignalExtra | BigeyeIssueSignalExtra | TriggerDevErrorSignalExtra | ChecklyErrorGroupSignalExtra | RoarkIssueSignalExtra;+ export interface SleekplanFeedbackSignalExtra {+ status: string | null;+ type: string | null;+ total_up: string | null;+ created: string | null;+ }++ export interface SprigFeedbackSignalExtra {+ question_type: string | null;+ survey_id: string | null;+ created_at: string | null;+ }++ export interface TrustpilotReviewSignalExtra {+ stars: string | null;+ language: string | null;+ status: string | null;+ source: string | null;+ created_at: string | null;+ }++ export type SignalExtra = SessionProblemSignalExtra | LlmEvalSignalExtra | LlmEvalReportSignalExtra | ZendeskTicketSignalExtra | GithubIssueSignalExtra | LinearIssueSignalExtra | JiraIssueSignalExtra | ConversationsTicketSignalExtra | ErrorTrackingSignalExtra | PgAnalyzeIssueSignalExtra | EndpointExecutionFailedSignalExtra | EndpointBreakdownLimitExceededSignalExtra | SignalsScoutSignalExtra | CheckFailedSignalExtra | LogsAlertStateChangeSignalExtra | ReplayVisionScannerFindingSignalExtra | AnalyticsAnomalyInvestigationSignalExtra | HealthCheckSignalExtra | EngineeringAnalyticsCIFlakyCheckSignalExtra | EngineeringAnalyticsCIBrokenDefaultBranchSignalExtra | EngineeringAnalyticsCIDurationRegressionSignalExtra | FreshdeskTicketSignalExtra | FreshserviceTicketSignalExtra | FrontConversationSignalExtra | GorgiasTicketSignalExtra | KustomerConversationSignalExtra | DixaConversationSignalExtra | PlainThreadSignalExtra | GitlabIssueSignalExtra | GiteaIssueSignalExtra | ShortcutStorySignalExtra | SentryIssueSignalExtra | RollbarItemSignalExtra | BugsnagErrorSignalExtra | HoneybadgerFaultSignalExtra | RaygunErrorGroupSignalExtra | DatadogSignalExtra | SnykScannerFindingSignalExtra | SonarqubeScannerFindingSignalExtra | SemgrepScannerFindingSignalExtra | Rapid7InsightvmScannerFindingSignalExtra | FeaturebaseFeedbackSignalExtra | FrillFeedbackSignalExtra | AhaFeedbackSignalExtra | UservoiceFeedbackSignalExtra | ProductboardFeedbackSignalExtra | CannyFeedbackSignalExtra | AsknicelyFeedbackSignalExtra | RetentlyFeedbackSignalExtra | AppfiguresReviewSignalExtra | AppfollowReviewSignalExtra | JudgemeReviewsReviewSignalExtra | IntercomTicketSignalExtra | HubspotTicketSignalExtra | Dynamics365TicketSignalExtra | ZohoCrmTicketSignalExtra | GoogleSearchConsoleSearchOpportunitySignalExtra | PagerdutyIncidentSignalExtra | OpsgenieAlertSignalExtra | IncidentIoIncidentSignalExtra | FirehydrantIncidentSignalExtra | SquadcastIncidentSignalExtra | ServicenowIncidentSignalExtra | SolarwindsServiceDeskIncidentSignalExtra | GrafanaIrmIncidentSignalExtra | XmattersIncidentSignalExtra | LaceworkScannerFindingSignalExtra | OrcaSecurityScannerFindingSignalExtra | TenableVulnerabilityManagementScannerFindingSignalExtra | BetterstackIncidentSignalExtra | AsanaIssueSignalExtra | MondayIssueSignalExtra | PlaneIssueSignalExtra | AzureDevopsIssueSignalExtra | MonteCarloAlertSignalExtra | BigeyeIssueSignalExtra | TriggerDevErrorSignalExtra | ChecklyErrorGroupSignalExtra | RoarkIssueSignalExtra | SleekplanFeedbackSignalExtra | BettermodeFeedbackSignalExtra | DiscourseFeedbackSignalExtra | MintlifyFeedbackSignalExtra | LangsmithFeedbackSignalExtra | SprigFeedbackSignalExtra | GainsightPxFeedbackSignalExtra | TrustpilotReviewSignalExtra | OkendoReviewSignalExtra;export type SignalMatchMetadata = MatchedMetadata | NoMatchMetadata;