create_kpi
Define a Key Performance Indicator by selecting a source table, aggregate function (COUNT, AVG, SUM, MIN, MAX), and optional filters. Specify name and unit to track metrics from ServiceNow data.
Instructions
[Write] Create a Key Performance Indicator from ServiceNow data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | KPI name | |
| unit | No | Display unit | |
| field | No | Aggregate field | |
| table | Yes | Source table | |
| aggregate | Yes | Aggregate function: COUNT/AVG/SUM/MIN/MAX | |
| conditions | No | Encoded query filter |