Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Delivery → Create Statistics Query
AI-generatedSummary
Builds a protobuf JSON StatisticsQuery for use with Orderly’s List Stats action. Set the account and any statistics filters; the node emits one query item for each incoming item.
Inputs
- Account ID JSON — Whole AccountId object; defaults from the incoming item’s
AccountIdfield, or{}. - Statistic Type IDs — Comma-separated StatisticId values. Each non-empty trimmed ID becomes an entry in
Types. - From — Start value for the query’s
Fromfield. - Increment — Statistics interval: Unknown, Hourly, Daily, Weekly, Monthly, or Yearly. Defaults to Daily.
- Additional Query JSON — JSON object of advanced query fields. The account and common fields configured above are applied afterward and take precedence for matching fields.
Output shape
A single n8n item per input item, with a protobuf JSON StatisticsQuery in json.
The query is normalized against the Orderly StatisticsQuery schema; unknown fields in Additional Query JSON are ignored. Invalid JSON or a non-object Additional Query JSON causes an item error, unless Continue On Fail is enabled, in which case the item contains an
errorfield.