SimpleKPI AI

App · 22 actions

Track KPIs in SimpleKPI AI: record actuals and targets, manage KPIs and categories, and pull reports.

Actions

ActionWhat it does
Add or update KPI entryRecord an actual or target for a KPI on a date, updating the entry if that date already has one.
Add or update many KPI entriesRecord many actuals or targets in one go, updating any that already exist.
Create categoryAdd a KPI category.
Create KPIAdd a KPI to a category.
Delete categoryDelete an empty KPI category.
Delete KPIDelete a KPI and every entry recorded against it.
Delete KPI entryDelete one KPI entry.
Get actuals and targets reportGet actuals and targets for KPIs over a date range, rolled up to each KPI's own frequency.
Get breakdown itemGet one breakdown item by its ID.
Get KPIGet one KPI by its ID.
Get KPI entryGet one KPI entry by its ID.
List breakdown itemsList the parts your KPIs can be broken down by, such as people, teams or regions.
List categoriesList the categories that group your KPIs.
List frequenciesList how often data can be entered against a KPI, such as daily or weekly.
List iconsList the icons a KPI can be given.
List KPI entriesList the actuals and targets recorded against your KPIs.
List KPIsList the KPIs on your account.
List KPIs in categoryList the KPIs in one category.
List unitsList the units that set how KPI values are typed in and shown.
List usersList the people on your account.
Update KPIReplace a KPI's settings.
Update KPI entryChange the values of one KPI entry.

Add or update KPI entry

Record an actual or target for a KPI on a date, updating the entry if that date already has one.

Inputs

KPIkpi_idnumberRequired
The KPI to record against.
Dateentry_datedateRequired
The date the value is for. It must suit the KPI's frequency: a weekly KPI refuses a mid-week date.
Actualactualnumber
The value achieved.
Targettargetnumber
The value aimed at.
Notesnotestext
Text to store with the entry, up to 500 characters.
Userusernumber
The person to record it against. Leave empty on a KPI with no breakdown.
User emailemailtext
Or the person's sign-in email, instead of User.
Breakdown itemsource_idnumber
The breakdown item the value belongs to. Leave empty for the KPI's default.
Write actualsetActualtrue/false
Turn on to write Actual; off leaves the stored actual as it is.
Write targetsetTargettrue/false
Turn on to write Target; off leaves the stored target as it is.
Write notessetNotestrue/false
Turn on to write Notes; off leaves the stored notes as they are.
Add to actualaddToActualtrue/false
Turn on to add Actual to the stored value instead of replacing it.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "actual": 42,
    "created_at": "2026-08-04T09:12:00",
    "entry_date": "2026-08-03T00:00:00",
    "id": 987654,
    "kpi_id": 1234,
    "notes": "Strong week",
    "source_id": 0,
    "target": 50,
    "updated_at": "2026-08-04T09:12:00",
    "user_id": 42
  }
}

Add or update many KPI entries

Record many actuals or targets in one go, updating any that already exist.

Inputs

EntriesentrieslistRequired
The entries to write. Each needs a KPI and a date.
Has actualshasActualstrue/false
Turn on when the entries carry actual values.
Has targetshasTargetstrue/false
Turn on when the entries carry targets.
Has noteshasNotestrue/false
Turn on when the entries carry notes.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "rows_added": 2,
    "rows_rejected": 0
  }
}

Create category

Add a KPI category.

Inputs

NamenametextRequired
What the category is called, up to 50 characters.
Positionsort_ordernumber
Where the category sits in the list.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "created_at": "2026-02-21T10:57:00",
    "id": 5478,
    "name": "Sales",
    "sort_order": 1,
    "updated_at": "2026-02-21T10:57:00"
  }
}

Create KPI

Add a KPI to a category.

Inputs

Categorycategory_idnumberRequired
The category the KPI goes in.
NamenametextRequired
What the KPI is called, up to 100 characters.
Frequencyfrequency_idtextRequired
How often data is entered against it.One of: D (Daily), W (Weekly), M (Monthly), Q (Quarterly), Y (Yearly).
Good directionvalue_directiontextRequired
Which way the KPI has to move to be doing well.One of: U (Up is good), D (Down is good), N (Neither).
Roll-upaggregate_functiontextRequired
How its values combine over a period.One of: SUM (Add the values together), AVG (Average the values).
Iconicon_idnumberRequired
The icon shown with the KPI. SimpleKPI refuses a KPI without one.
Unitunit_idnumberRequired
How its values are formatted. SimpleKPI refuses a KPI without one.
Descriptiondescriptiontext
Text shown with the KPI, up to 150 characters.
Default targettarget_defaultnumber
The target new entries get when none is given. Leave empty for no target.
Positionsort_ordernumber
Where the KPI sits in its category.
Activeis_activetrue/false
Turn off to hide the KPI from day-to-day views.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "aggregate_function": "SUM",
    "category_id": 5478,
    "created_at": "2026-02-21T10:57:00",
    "description": "Closed-won deals per week",
    "frequency_id": "W",
    "icon_id": 1,
    "id": 1234,
    "is_active": true,
    "is_calculated": false,
    "name": "New Sales",
    "sort_order": 1,
    "target_default": 100,
    "unit_id": 123,
    "updated_at": "2026-02-21T10:58:00",
    "value_direction": "U"
  }
}

Delete category

Delete an empty KPI category.

Inputs

CategoryidnumberRequired
The category to delete. It must have no KPIs.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {}
}

Delete KPI

Delete a KPI and every entry recorded against it. This can't be undone.

Inputs

KPIidnumberRequired
The KPI to delete.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {}
}

Delete KPI entry

Delete one KPI entry.

Inputs

Entry IDidnumberRequired
The entry to delete, from List KPI entries.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {}
}

Get actuals and targets report

Get actuals and targets for KPIs over a date range, rolled up to each KPI's own frequency.

Inputs

KPIskpiIDslist
The KPIs to report on. Leave empty for all.
FromdateFromdate
Start of the date range.
TodateTodate
End of the date range.
Breakdown itemsgroupItemIDslist
Only these breakdown items.
UsersuserIDslist
Only these users.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "actual": 42,
      "direction": "U",
      "direction_name": "Up",
      "entry_date": "2026-08-03",
      "has_target": true,
      "is_percentage": false,
      "item_id": 0,
      "item_name": "Global",
      "kpi_description": "Closed-won deals per week",
      "kpi_id": 1234,
      "kpi_name": "New Sales",
      "label_format": "#,##0",
      "notes": "Strong week",
      "period": "Weekly",
      "period_id": "W",
      "target": 50
    }
  ]
}

Get breakdown item

Get one breakdown item by its ID.

Inputs

Breakdown itemidnumberRequired
The breakdown item to get.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "breakdown_id": 12,
    "created_at": "2026-02-21T10:57:00",
    "id": 77,
    "is_archived": false,
    "is_system": false,
    "name": "North",
    "sort_order": 1,
    "updated_at": "2026-02-21T10:57:00",
    "user_id": 42
  }
}

Get KPI

Get one KPI by its ID.

Inputs

KPIidnumberRequired
The KPI to get.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "aggregate_function": "SUM",
    "category_id": 5478,
    "created_at": "2026-02-21T10:57:00",
    "description": "Closed-won deals per week",
    "frequency_id": "W",
    "icon_id": 1,
    "id": 1234,
    "is_active": true,
    "is_calculated": false,
    "name": "New Sales",
    "sort_order": 1,
    "target_default": 100,
    "unit_id": 123,
    "updated_at": "2026-02-21T10:58:00",
    "value_direction": "U"
  }
}

Get KPI entry

Get one KPI entry by its ID.

Inputs

Entry IDidnumberRequired
The entry to get, from List KPI entries.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "actual": 42,
    "created_at": "2026-08-04T09:12:00",
    "entry_date": "2026-08-03T00:00:00",
    "id": 987654,
    "kpi_id": 1234,
    "notes": "Strong week",
    "source_id": 0,
    "target": 50,
    "updated_at": "2026-08-04T09:12:00",
    "user_id": 42
  }
}

List breakdown items

List the parts your KPIs can be broken down by, such as people, teams or regions.

Inputs

Pagepagenumber
Which page of items to read, counting from 1.At least 1.
Page sizerowsnumber
How many items a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "breakdown_id": 12,
      "created_at": "2026-02-21T10:57:00",
      "id": 77,
      "is_archived": false,
      "is_system": false,
      "name": "North",
      "sort_order": 1,
      "updated_at": "2026-02-21T10:57:00",
      "user_id": 42
    }
  ]
}

List categories

List the categories that group your KPIs.

Inputs

Pagepagenumber
Which page of categories to read, counting from 1.At least 1.
Page sizerowsnumber
How many categories a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "created_at": "2026-02-21T10:57:00",
      "id": 5478,
      "name": "Sales",
      "sort_order": 1,
      "updated_at": "2026-02-21T10:57:00"
    }
  ]
}

List frequencies

List how often data can be entered against a KPI, such as daily or weekly.

Inputs

None.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "id": "W",
      "name": "Weekly"
    }
  ]
}

List icons

List the icons a KPI can be given.

Inputs

None.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "Bar chart"
    }
  ]
}

List KPI entries

List the actuals and targets recorded against your KPIs.

Inputs

KPIkpiIdnumber
Only entries for this KPI.
UseruserIdnumber
Only entries recorded against this user.
Breakdown itemsourceIdnumber
Only entries for this breakdown item.
FromdateFromdate
Only entries on or after this date.
TodateTodate
Only entries on or before this date.
Pagepagenumber
Which page of entries to read, counting from 1.At least 1.
Page sizerowsnumber
How many entries a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "actual": 42,
      "created_at": "2026-08-04T09:12:00",
      "entry_date": "2026-08-03T00:00:00",
      "id": 987654,
      "kpi_id": 1234,
      "notes": "Strong week",
      "source_id": 0,
      "target": 50,
      "updated_at": "2026-08-04T09:12:00",
      "user_id": 42
    }
  ]
}

List KPIs

List the KPIs on your account.

Inputs

Pagepagenumber
Which page of KPIs to read, counting from 1.At least 1.
Page sizerowsnumber
How many KPIs a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "aggregate_function": "SUM",
      "category_id": 5478,
      "created_at": "2026-02-21T10:57:00",
      "description": "Closed-won deals per week",
      "frequency_id": "W",
      "icon_id": 1,
      "id": 1234,
      "is_active": true,
      "is_calculated": false,
      "name": "New Sales",
      "sort_order": 1,
      "target_default": 100,
      "unit_id": 123,
      "updated_at": "2026-02-21T10:58:00",
      "value_direction": "U"
    }
  ]
}

List KPIs in category

List the KPIs in one category.

Inputs

Categorycategory_idnumberRequired
The category to list.
Pagepagenumber
Which page of KPIs to read, counting from 1.At least 1.
Page sizerowsnumber
How many KPIs a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "aggregate_function": "SUM",
      "category_id": 5478,
      "created_at": "2026-02-21T10:57:00",
      "description": "Closed-won deals per week",
      "frequency_id": "W",
      "icon_id": 1,
      "id": 1234,
      "is_active": true,
      "is_calculated": false,
      "name": "New Sales",
      "sort_order": 1,
      "target_default": 100,
      "unit_id": 123,
      "updated_at": "2026-02-21T10:58:00",
      "value_direction": "U"
    }
  ]
}

List units

List the units that set how KPI values are typed in and shown.

Inputs

Pagepagenumber
Which page of units to read, counting from 1.At least 1.
Page sizerowsnumber
How many units a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "created_at": "2026-02-21T10:57:00",
      "display_format": "#,##0",
      "entry_format": "#,##0.00",
      "id": 123,
      "is_percentage": false,
      "name": "Pounds",
      "updated_at": "2026-02-21T10:57:00"
    }
  ]
}

List users

List the people on your account.

Inputs

Pagepagenumber
Which page of users to read, counting from 1.At least 1.
Page sizerowsnumber
How many users a page holds. SimpleKPI uses 500 if left empty.At least 1.

Outputs

datalist
The response from SimpleKPI AI.
Example output
{
  "data": [
    {
      "created_at": "2026-01-14T09:00:00",
      "email": "alex@example.com",
      "first_name": "Alex",
      "id": 42,
      "last_name": "Okafor",
      "updated_at": "2026-05-02T11:00:00",
      "user_status_id": "A",
      "user_type": "Manager"
    }
  ]
}

Update KPI

Replace a KPI's settings. Anything left empty goes back to its default.

Inputs

KPIidnumberRequired
The KPI to change.
Categorycategory_idnumberRequired
The category the KPI goes in.
NamenametextRequired
What the KPI is called, up to 100 characters.
Frequencyfrequency_idtextRequired
How often data is entered against it.One of: D (Daily), W (Weekly), M (Monthly), Q (Quarterly), Y (Yearly).
Good directionvalue_directiontextRequired
Which way the KPI has to move to be doing well.One of: U (Up is good), D (Down is good), N (Neither).
Roll-upaggregate_functiontextRequired
How its values combine over a period.One of: SUM (Add the values together), AVG (Average the values).
Iconicon_idnumberRequired
The icon shown with the KPI. SimpleKPI refuses a KPI without one.
Unitunit_idnumberRequired
How its values are formatted. SimpleKPI refuses a KPI without one.
Descriptiondescriptiontext
Text shown with the KPI, up to 150 characters.
Default targettarget_defaultnumber
The target new entries get when none is given. Leave empty for no target.
Positionsort_ordernumber
Where the KPI sits in its category.
Activeis_activetrue/false
Turn off to hide the KPI from day-to-day views.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "aggregate_function": "SUM",
    "category_id": 5478,
    "created_at": "2026-02-21T10:57:00",
    "description": "Closed-won deals per week",
    "frequency_id": "W",
    "icon_id": 1,
    "id": 1234,
    "is_active": true,
    "is_calculated": false,
    "name": "New Sales",
    "sort_order": 1,
    "target_default": 100,
    "unit_id": 123,
    "updated_at": "2026-02-21T10:58:00",
    "value_direction": "U"
  }
}

Update KPI entry

Change the values of one KPI entry.

Inputs

Entry IDidnumberRequired
The entry to change, from List KPI entries.
Actualactualnumber
The value achieved.
Targettargetnumber
The value aimed at.
Notesnotestext
Text to store with the entry, up to 500 characters.
Write actualsetActualtrue/false
Turn on to write Actual; off leaves the stored actual as it is.
Write targetsetTargettrue/false
Turn on to write Target; off leaves the stored target as it is.
Write notessetNotestrue/false
Turn on to write Notes; off leaves the stored notes as they are.
Add to actualaddToActualtrue/false
Turn on to add Actual to the stored value instead of replacing it.

Outputs

dataobject
The response from SimpleKPI AI.
Example output
{
  "data": {
    "actual": 42,
    "created_at": "2026-08-04T09:12:00",
    "entry_date": "2026-08-03T00:00:00",
    "id": 987654,
    "kpi_id": 1234,
    "notes": "Strong week",
    "source_id": 0,
    "target": 50,
    "updated_at": "2026-08-04T09:12:00",
    "user_id": 42
  }
}

On this page