Skip to Content
Heuristic documentation

list_customers

Read only

Read who is behind a feature's, a category's, the unplaced features' or New opportunity's numbers: each customer once, with ARR and topics.

Set scope to one of these:

  • feature (needs productId, featureId; optional customerStatus, period, type, sentiment, source, from, to, query, sort, limit, cursor): Who is behind a feature's customers and ARR: each customer it counts once, with status, ARR, insights, topicCount, up to 5 topics and latestFeedbackAt (when given). kind: company, contact (no company, such as a free-mail address) or record (neither; open it with get_source_record). meta.total and meta.arrTotal: the scope's customers and ARR under the filters, as in get_feedback_counts. arr null: no ARR, or its unconvertedCurrency can't be converted (say so, not zero); meta.noArr: report "no ARR yet", not zero revenue. Rankings can move between pages as feedback arrives. Check one customer with query (no read spans features); read what it said with list_topic_insights with customerKind and customerId on each of its topics, and its topics past the 5 with list_topics and the same two. A feature merged into another answers that feature (meta.featureId); a deleted feature is not found.
  • new_opportunity (needs productId; optional customerStatus, period, type, sentiment, source, from, to, query, sort, limit, cursor): The same for New opportunity's customers; meta.featureId is null.
  • category (needs productId, categoryId; optional customerStatus, period, type, sentiment, source, from, to, query, sort, limit, cursor): The same for every feature at any depth below the category, each customer once; meta.featureId is null; a deleted category is not found.
  • unplaced (needs productId; optional customerStatus, period, type, sentiment, source, from, to, query, sort, limit, cursor): The same for the features not in a category yet; meta.featureId is null.

Actions (set scope)

feature

Who can use it
Admins, and the product's Owners and Viewers
Hints
Read only
Runs
list_feature_customers
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: 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; the customers, their insights, topics and latest date and meta.total and meta.arrTotal all follow it. Left out: all time.

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

    Only customers who gave this insight type here, with only those insights and topics. Left out: every type.

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

    Only customers who gave feedback with this sentiment here, with only those insights and topics.

    Allowed values: positive, neutral, negative
  • source string

    Only customers whose feedback came through this source (an id from list_topics' meta.sources), with only those insights and topics.

  • 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.

  • query string

    Only customers whose name (a contact's also its email) contains this text, ignoring case, 1 to 200 characters; meta.total is unchanged.

  • sort string

    insights (default) or arr: most first; without ARR last.

    Allowed values: insights, arr
  • limit integer

    How many customers 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_customers
Inputs
  • productId string, required

    From read_product with action list or get_me.

  • customerStatus string

    Only customers with this status: 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; the customers, their insights, topics and latest date and meta.total and meta.arrTotal all follow it. Left out: all time.

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

    Only customers who gave this insight type here, with only those insights and topics. Left out: every type.

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

    Only customers who gave feedback with this sentiment here, with only those insights and topics.

    Allowed values: positive, neutral, negative
  • source string

    Only customers whose feedback came through this source (an id from list_topics' meta.sources), with only those insights and topics.

  • 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.

  • query string

    Only customers whose name (a contact's also its email) contains this text, ignoring case, 1 to 200 characters; meta.total is unchanged.

  • sort string

    insights (default) or arr: most first; without ARR last.

    Allowed values: insights, arr
  • limit integer

    How many customers 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_customers
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: 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; the customers, their insights, topics and latest date and meta.total and meta.arrTotal all follow it. Left out: all time.

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

    Only customers who gave this insight type here, with only those insights and topics. Left out: every type.

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

    Only customers who gave feedback with this sentiment here, with only those insights and topics.

    Allowed values: positive, neutral, negative
  • source string

    Only customers whose feedback came through this source (an id from list_topics' meta.sources), with only those insights and topics.

  • 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.

  • query string

    Only customers whose name (a contact's also its email) contains this text, ignoring case, 1 to 200 characters; meta.total is unchanged.

  • sort string

    insights (default) or arr: most first; without ARR last.

    Allowed values: insights, arr
  • limit integer

    How many customers 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_customers
Inputs
  • productId string, required

    From read_product with action list or get_me.

  • customerStatus string

    Only customers with this status: 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; the customers, their insights, topics and latest date and meta.total and meta.arrTotal all follow it. Left out: all time.

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

    Only customers who gave this insight type here, with only those insights and topics. Left out: every type.

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

    Only customers who gave feedback with this sentiment here, with only those insights and topics.

    Allowed values: positive, neutral, negative
  • source string

    Only customers whose feedback came through this source (an id from list_topics' meta.sources), with only those insights and topics.

  • 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.

  • query string

    Only customers whose name (a contact's also its email) contains this text, ignoring case, 1 to 200 characters; meta.total is unchanged.

  • sort string

    insights (default) or arr: most first; without ARR last.

    Allowed values: insights, arr
  • limit integer

    How many customers 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.