Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Statistics → Create Statistics Query

AI-generated

Summary

Builds an Orderly StatisticsQuery protobuf JSON object for use with List Stats. You can set an account, comma-separated statistic type IDs, a start time, and an increment; advanced fields are merged first, then these common fields are applied.

Inputs

  • Account ID JSON — An AccountId object; defaults from the incoming item’s AccountId property. An empty object omits the account filter.
  • Statistic Type IDs — Comma-separated StatisticId values. Each trimmed, non-empty value becomes an entry in the query’s Types list.
  • From — Start time for the statistics query, passed as the From field when non-empty.
  • Increment — Time grouping interval: Unknown, Hourly, Daily, Weekly, Monthly, or Yearly. Defaults to Daily and is passed as Increment.
  • Additional Query JSON — A JSON object of advanced query fields. The configured account, types, from, and increment fields are applied afterward and take precedence over matching fields.

Output shape

A single StatisticsQuery object per input item.

The object is normalized through the Orderly protobuf schema, which may omit unset fields and ignore unknown fields. If Continue On Fail is enabled, an item error is returned as `{ "error": "…" }.

Links

Discussion