create_metrics_block
Generate a KPI block that aggregates data from a selected field using functions such as sum, average, or count, with customizable formatting for decimal places and prefix/suffix.
Instructions
Create a metrics/KPI block showing aggregated values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_token | Yes | Base app token | |
| dashboard_id | Yes | Dashboard block ID | |
| table_id | Yes | Source table ID | |
| field_name | Yes | Field to aggregate | |
| aggregation | Yes | Aggregation type | |
| title | No | Metrics title | |
| prefix | No | Prefix (e.g., "$", "€") | |
| suffix | No | Suffix (e.g., "%", "units") | |
| decimals | No | Decimal places |