Skip to Content
Heuristic documentation

list_topic_insights

Read only

A topic's grouped insights, newest given first

Every insight grouped in the topic now (its link reads where the topic does), with its customer company (the record's company, else its contact's current company) and contact, narrowed by customerStatus (the insight's customer) and period when given, or to one customer with customerKind and customerId from list_customers; type, sentiment and source narrow it as in list_topics. To quote two customers, read on by meta.nextCursor until two different companies are found: one customer can give several insights in a row.

Inputs

Who can use it
Admins, and the product's Owners and Viewers
Hints
Read only
Runs
list_topic_insights
Inputs
  • productId string, required

    From read_product with action list or get_me.

  • topicId string, required

    From search or list_topics.

  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

  • customerStatus string

    Only customers with this status count: customer or prospect, taken as for get_feedback_counts. Left out: everyone, customers with no status too.

    Allowed values: customer, prospect
  • period string

    Only insights given in this period: 30d, 90d or 12m (the last 12 calendar months, UTC), as for get_feedback_counts. Left out: all time.

    Allowed values: 30d, 90d, 12m
  • type string

    Only insights of this type. Left out: every type.

    Allowed values: feature_request, bug, praise, complaint, question
  • sentiment string

    Only insights with this sentiment. Left out: every one.

    Allowed values: positive, neutral, negative
  • source string

    Only insights from this source (an id from list_topics' meta.sources). Left out: every source.

  • customerKind string

    With customerId: only this customer's insights here, by its kind from list_customers (company, contact or record); every insight type, so narrow by each insight's type. The two go together; a customer with nothing here answers an empty page.

    Allowed values: company, contact, record
  • customerId string

    With customerKind: the customer's id from list_customers.