Skip to Content
Heuristic documentation

get_feedback_counts

Read only

Read what customers ask for, or how feedback is coming in.

Set view to one of these (counts when left out):

  • counts (needs productId; optional customerStatus, period, sort, categoryId, type, change, minCustomers, minArr, limit, cursor): What customers ask for: customers and ARR per feature, category, New opportunity and the whole product, the main read for prioritising. Only grouped insights count. A customer is a company, else the contact's company, the contact, or the record. Each customer counts once in each topic, and once on each feature, category, unplaced and New opportunity (a category covers its live features below), and once in product, the whole product's total (on every page); types likewise, ARR once per customer. ARR amounts are exact decimal strings in currency, the organization's reporting currency, converted at the stored rates of ratesAsOf; ARR in the unconverted currencies is left out. noArr true: none of the customers counted has ARR in any currency: report "no ARR yet" and where ARR comes from, not zero revenue. unit, periods, window, trend and change (ignores period; both windows under 5: report the two numbers): see the server instructions; trendByType and changeByType, the same per insight type. sort: change ranks the fastest growing features first. meta.counting: feedback still on its way into topics; meta.uncounted: some left out as it needs attention; meta.hasRecords: any record exists; meta.countingRecords, meta.uncountedRecords: how many records are on their way, and left out (a record in one at most, left out first). withoutStatus: distinct counted customers with no customer status, in all and per type.
  • overview (needs productId): How feedback is coming in, for the whole product and never narrowed: how many records are processing, need attention or have an insight in New opportunity; records given per UTC day over the last 14 days (oldest first, ending today); per insight type the records with one of that type; and the 5 topics with the most insights. No filters, branch, ranking or paging: those are for counts.

Actions (set view)

counts

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

    From read_product with action list or get_me.

  • customerStatus string

    Only customers with this status count: customer or prospect. Left out: customers and prospects, and customers with no status. A customer's status is taken the way its ARR is: a company's own (the record's, else its contact's company); a contact counted alone, the status of their most recent record that carried one; a record counted alone, its own. withoutStatus says how many counted customers have no status, whatever this is.

    Allowed values: customer, prospect
  • period string

    Only feedback given in this period counts, by the date it was given: 30d and 90d are the last 30 or 90 days, 12m the last 12 calendar months (UTC), all measured back from the moment of the request; feedback dated later counts too. Left out: all time. Counts, ARR, insights, which topics are listed and withoutStatus follow it; trend, trendByType, change, changeByType and meta do not (they keep the reporting unit's own windows).

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

    tree (the default): categories and features in the hierarchy's order, as get_hierarchy pages them. customers or arr: the features only, ranked most first by counts or arr (total, or type's) under the filters given, ties by title. change: the features only, fastest growing first: by the rise in change (or type's), then the percent (new ones first), then title. A ranking moves as feedback arrives, so later pages can repeat or skip a feature.

    Allowed values: tree, customers, arr, change
  • categoryId string

    From search or get_hierarchy.

  • type string

    The insight type whose numbers changeState, the filters and sort read. Left out: all types.

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

    Only features in any of these changeStates, lower case and comma separated: growing, new, shrinking, flat (growing,new).

  • minCustomers integer or null

    Only features with at least this many customers. 0 or left out: off.

  • minArr integer or null

    Only features with at least this ARR, in whole units of currency. 0 or left out: off.

  • limit integer

    How many items a page holds, 1 to 1000 (50 when left out). A larger page may be cut off by your client.

  • cursor string

    The previous page's meta.nextCursor, with the same sort, categoryId and filters; left out: the first page. In tree order with filters, a changed match refuses it (409): start again.

overview

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

    From read_product with action list or get_me.