create_kpi
Define and generate a KPI using ServiceNow data, with options for aggregation and filtering.
Instructions
[Write] Create a Key Performance Indicator from ServiceNow data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | KPI name | |
| table | Yes | Source table | |
| field | No | Aggregate field | |
| aggregate | Yes | Aggregate function: COUNT/AVG/SUM/MIN/MAX | |
| conditions | No | Encoded query filter | |
| unit | No | Display unit |