Skip to Content
Heuristic documentation

list_topics

Read only

Read the topics customers raise about one feature, a category, the features not in a category yet or New opportunity, with their feedback values.

Set scope to one of these:

  • feature (needs productId, featureId; optional customerStatus, period, customerKind, customerId, type, sentiment, source, view, sort, from, to, limit, cursor): A feature's topics that read in it now (following merges) with at least one grouped insight, by customers, then insights, then name. Each topic's counts, arr, trend, change and their ByType follow get_feedback_counts' rule for that topic alone; total is the scope's row there, so the topics can add up to more than total. insights counts its grouped insights, insightsByType per type, latestAt the latest given. Every page has tiles (the scope's customers, ARR with each window's, insights, each with its change) and views (topics and customers per state); the first meta.sources, each source's name and id. withoutStatus, noArr and unit, periods, window and meta as in get_feedback_counts (noArr true: report "no ARR yet", not zero revenue). series: per unit, oldest first, the scope's customers and arr given in it, the last current with expected at this pace (null on its first day: too early to tell); it ignores period, from/to and view. For another unit (each month of a weekly product) read each with from/to and limit: 1 and take tiles; never change Report by for it. Read a topic's insights with list_topic_insights. Up to 50 topics a page: follow meta.nextCursor (null on the last); sort ranks them, so the top topics take one call, but a ranking can move as feedback arrives, so later pages can repeat or skip a topic. A feature merged into another answers that feature (scope.feature.id); a deleted feature is not found.
  • new_opportunity (needs productId; optional customerStatus, period, customerKind, customerId, type, sentiment, source, view, sort, from, to, limit, cursor): The same for New opportunity's topics; scope.feature is null.
  • category (needs productId, categoryId; optional customerStatus, period, customerKind, customerId, type, sentiment, source, view, sort, from, to, limit, cursor): The topics of every feature at any depth below the category, ranked the same way, each with its feature (a name under two features is two topics); total counts each customer once, so the topics add up to more than total; topicCount counts every topic. Paged like every scope, with the same filters, views and sorts; the ranking moves as feedback arrives, so a later page can repeat or skip a topic. A deleted category is not found.
  • unplaced (needs productId; optional customerStatus, period, customerKind, customerId, type, sentiment, source, view, sort, from, to, limit, cursor): The same for the features not in a category yet; scope.category is null.

Actions (set scope)

feature

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

    From read_product with action list or get_me.

  • featureId string, required

    From search or get_hierarchy.

  • 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 feedback given in this period counts: 30d, 90d or 12m (the last 12 calendar months, UTC), as for get_feedback_counts; trends, changes and meta do not follow it. Left out: all time.

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

    With customerId: only the topics where this customer, by its kind from list_customers (company, contact or record), has a grouped insight, to find its topics past the 5 list_customers shows. total, topicCount, each topic's values and meta stay the whole scope's, not the customer's. 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.

  • type string

    Only insights of this type count, trends and changes included. Left out: every type.

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

    Only insights with this sentiment count, trends and changes included. Left out: every sentiment.

    Allowed values: positive, neutral, negative
  • source string

    Only feedback from this source counts (an id from meta.sources), trends and changes included.

  • view string

    growing, new or shrinking: only topics in that change state over window (New is never Growing), largest rise, largest fall or most customers first unless sort is given. Default all.

    Allowed values: all, growing, new, shrinking
  • sort string

    customers: most customers first, then most insights, then name (the default under view: all). arr: most ARR first. change: fastest growing first, by the rise change.latest minus change.before, then the percent (new ones first). Ties follow the default order.

    Allowed values: customers, arr, change
  • from string

    With to: only feedback given from this UTC day (YYYY-MM-DD, inclusive) counts, as period narrows (not with period); copy a series entry's from and to to read that period.

  • to string

    With from: the last UTC day (YYYY-MM-DD, inclusive) whose feedback counts; later feedback does not.

  • limit integer

    How many topics a page holds, 1 to 50 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor, with the same other inputs; left out: the first page.

new_opportunity

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

    From read_product with action list or get_me.

  • 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 feedback given in this period counts: 30d, 90d or 12m (the last 12 calendar months, UTC), as for get_feedback_counts; trends, changes and meta do not follow it. Left out: all time.

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

    With customerId: only the topics where this customer, by its kind from list_customers (company, contact or record), has a grouped insight, to find its topics past the 5 list_customers shows. total, topicCount, each topic's values and meta stay the whole scope's, not the customer's. 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.

  • type string

    Only insights of this type count, trends and changes included. Left out: every type.

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

    Only insights with this sentiment count, trends and changes included. Left out: every sentiment.

    Allowed values: positive, neutral, negative
  • source string

    Only feedback from this source counts (an id from meta.sources), trends and changes included.

  • view string

    growing, new or shrinking: only topics in that change state over window (New is never Growing), largest rise, largest fall or most customers first unless sort is given. Default all.

    Allowed values: all, growing, new, shrinking
  • sort string

    customers: most customers first, then most insights, then name (the default under view: all). arr: most ARR first. change: fastest growing first, by the rise change.latest minus change.before, then the percent (new ones first). Ties follow the default order.

    Allowed values: customers, arr, change
  • from string

    With to: only feedback given from this UTC day (YYYY-MM-DD, inclusive) counts, as period narrows (not with period); copy a series entry's from and to to read that period.

  • to string

    With from: the last UTC day (YYYY-MM-DD, inclusive) whose feedback counts; later feedback does not.

  • limit integer

    How many topics a page holds, 1 to 50 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor, with the same other inputs; left out: the first page.

category

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

    From read_product with action list or get_me.

  • categoryId string, required

    From search or get_hierarchy.

  • 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 feedback given in this period counts: 30d, 90d or 12m (the last 12 calendar months, UTC), as for get_feedback_counts; trends, changes and meta do not follow it. Left out: all time.

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

    With customerId: only the topics where this customer, by its kind from list_customers (company, contact or record), has a grouped insight, to find its topics past the 5 list_customers shows. total, topicCount, each topic's values and meta stay the whole scope's, not the customer's. 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.

  • type string

    Only insights of this type count, trends and changes included. Left out: every type.

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

    Only insights with this sentiment count, trends and changes included. Left out: every sentiment.

    Allowed values: positive, neutral, negative
  • source string

    Only feedback from this source counts (an id from meta.sources), trends and changes included.

  • view string

    growing, new or shrinking: only topics in that change state over window (New is never Growing), largest rise, largest fall or most customers first unless sort is given. Default all.

    Allowed values: all, growing, new, shrinking
  • sort string

    customers: most customers first, then most insights, then name (the default under view: all). arr: most ARR first. change: fastest growing first, by the rise change.latest minus change.before, then the percent (new ones first). Ties follow the default order.

    Allowed values: customers, arr, change
  • from string

    With to: only feedback given from this UTC day (YYYY-MM-DD, inclusive) counts, as period narrows (not with period); copy a series entry's from and to to read that period.

  • to string

    With from: the last UTC day (YYYY-MM-DD, inclusive) whose feedback counts; later feedback does not.

  • limit integer

    How many topics a page holds, 1 to 50 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor, with the same other inputs; left out: the first page.

unplaced

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

    From read_product with action list or get_me.

  • 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 feedback given in this period counts: 30d, 90d or 12m (the last 12 calendar months, UTC), as for get_feedback_counts; trends, changes and meta do not follow it. Left out: all time.

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

    With customerId: only the topics where this customer, by its kind from list_customers (company, contact or record), has a grouped insight, to find its topics past the 5 list_customers shows. total, topicCount, each topic's values and meta stay the whole scope's, not the customer's. 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.

  • type string

    Only insights of this type count, trends and changes included. Left out: every type.

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

    Only insights with this sentiment count, trends and changes included. Left out: every sentiment.

    Allowed values: positive, neutral, negative
  • source string

    Only feedback from this source counts (an id from meta.sources), trends and changes included.

  • view string

    growing, new or shrinking: only topics in that change state over window (New is never Growing), largest rise, largest fall or most customers first unless sort is given. Default all.

    Allowed values: all, growing, new, shrinking
  • sort string

    customers: most customers first, then most insights, then name (the default under view: all). arr: most ARR first. change: fastest growing first, by the rise change.latest minus change.before, then the percent (new ones first). Ties follow the default order.

    Allowed values: customers, arr, change
  • from string

    With to: only feedback given from this UTC day (YYYY-MM-DD, inclusive) counts, as period narrows (not with period); copy a series entry's from and to to read that period.

  • to string

    With from: the last UTC day (YYYY-MM-DD, inclusive) whose feedback counts; later feedback does not.

  • limit integer

    How many topics a page holds, 1 to 50 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor, with the same other inputs; left out: the first page.