# Ninety

> Read company and team to-dos, issues, rocks, scorecards, meetings, and headlines.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/ninety

## Actions

### Get accountability chart

Show company seats and their reporting relationships.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "chartId": "example",
    "seats": [
      {
        "holders": [
          {}
        ],
        "id": "example",
        "integrator": true,
        "isAssistant": true,
        "name": "example",
        "parentSeatId": "example",
        "responsibilities": [
          {}
        ],
        "visionary": true
      }
    ]
  }
}
```

### Get next team meeting

Show the next scheduled meeting for a team.

**Inputs**

- Workspace team (`workspace_team_id`, text, required): Choose a team.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "agenda": [
      {
        "durationSeconds": 1,
        "name": "example",
        "ordinal": 1
      }
    ],
    "agendaId": "example",
    "agendaName": "example",
    "attendees": [
      {
        "firstName": "example",
        "id": "example",
        "lastName": "example",
        "primaryEmail": "example"
      }
    ],
    "cadence": "none",
    "meetingType": "level10",
    "presenter": {},
    "scheduleId": "example",
    "scheduledDate": "example",
    "scribe": {},
    "teamId": "example",
    "teamName": "example"
  }
}
```

### Get team scorecard

Retrieve the measurables and scores for one team.

**Inputs**

- Workspace team (`workspace_team_id`, text, required): Choose a team.
- Date (`date`, date): Return only the single period containing this calendar date. Any date inside the period works - the Scorecard service snaps it to the period boundary using the company's weekly start day and fiscal calendar. Mutually exclusive with `window`.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "groups": [
      {
        "id": "example",
        "kpis": [
          {}
        ],
        "name": "example"
      }
    ],
    "id": "example",
    "name": "example",
    "periodInterval": "weekly",
    "periods": [
      {
        "isFuture": true,
        "label": "example",
        "partialInterval": true,
        "periodStartDate": "example"
      }
    ],
    "teamId": "example"
  }
}
```

### Get team vision

Retrieve the team’s Vision/Traction Organizer.

**Inputs**

- Workspace team (`workspace_team_id`, text, required): Choose a team.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "sltVto": {},
    "teamVto": {}
  }
}
```

### List available teams

Show the teams you can query or create work for.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Ninety.

**Example output**

```json
{
  "data": [
    {
      "_id": "example",
      "isMember": true,
      "name": "example"
    }
  ]
}
```

### List company headlines

Find headlines across the company.

**Inputs**

- Workspace team (`workspace_team_id`, text): Choose a team.
- Is cascaded message (`is_cascaded_message`, true/false): Return Cascading Messages instead of Headlines. The two share one collection and are never mixed in a response: this selects which kind you get.
- Include discussed (`include_discussed`, true/false): Also return Headlines that have already been discussed. Discussed Headlines are left out by default, which is what the app shows.
- Archived (`archived`, true/false): Return archived Headlines instead of active ones. Archiving is separate from being discussed, so this is a different list rather than a wider one.
- Search text (`search_text`, text): Free-text search across the title and body
- Page index (`page_index`, number): Which page to return, counting from 0. At least 0.
- Page size (`page_size`, number): How many Headlines to return per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "archived": true,
        "cascadedFromTeamId": "example",
        "companyId": "example",
        "completed": true,
        "completedDate": "example",
        "createdByUserId": "example",
        "createdDate": "example",
        "description": "example",
        "id": "example",
        "isCascadedMessage": true,
        "ownerFirstName": "example",
        "ownerLastName": "example",
        "teamId": "example",
        "teamName": "example",
        "title": "example",
        "userId": "example"
      }
    ],
    "totalCount": 1
  }
}
```

### List company seats

Show roles and responsibilities across the company.

**Inputs**

- Chart ID (`chart_id`, text): Only the Seats on this chart. Omit for the Seats on every chart in the company. A chartId that is not a live chart in your company returns an empty page.
- Page index (`page_index`, number): Which page to return, counting from 0. From 0 to 10000.
- Page size (`page_size`, number): How many Seats to return per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "chartId": "example",
        "chartTitle": "example",
        "id": "example",
        "integrator": true,
        "isAssistant": true,
        "isPrimaryChart": true,
        "name": "example",
        "ordinal": 1,
        "parentSeatId": "example",
        "responsibilities": [
          {}
        ],
        "visionary": true
      }
    ],
    "totalCount": 1
  }
}
```

### List issues

Show issues from your company.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.
- Completed (`completed`, true/false): Filter by completed status
- Archived (`archived`, true/false): Include archived Issues (excluded by default)
- Deleted (`deleted`, true/false): Include deleted Issues (excluded by default)
- Search text (`search_text`, text): Search text to match against title, description, and comments
- Title (`title`, text): Filter by title match
- Sort by (`sort_by`, text): Choose which field sets the order. One of: `title`, `createdDate`.
- Sort order (`sort_order`, text): Choose ascending or descending order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "archived": true,
        "archivedDate": {},
        "companyId": "example",
        "completed": true,
        "completedDate": {},
        "createdDate": "example",
        "deleted": true,
        "description": "example",
        "id": "example",
        "intervalCode": "SHORT_TERM",
        "ownerFirstName": "example",
        "ownerLastName": "example",
        "priority": 1,
        "teamId": "example",
        "teamName": {},
        "title": "example",
        "updatedDate": {},
        "userId": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List measurable groups

Show measurable groups on company scorecards.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "companyId": "example",
        "description": "example",
        "id": "example",
        "kpiIds": [
          "example"
        ],
        "name": "example",
        "ordinal": 1,
        "scorecardId": "example",
        "teamId": "example",
        "updatedBy": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List measurables

Show company measurables and their scores.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.
- Scores from (`scores_from`, date): The earliest `periodDisplayDate` of the scores returned with each Measurable. Inclusive. Defaults to 365 days before `scoresTo`, and may be at most 366 days before it.
- Scores to (`scores_to`, date): The latest `periodDisplayDate` of the scores returned with each Measurable. Inclusive. Defaults to today in UTC.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "currency": "USD",
        "defaultGoal": {},
        "description": "example",
        "id": "example",
        "isSmart": true,
        "lastScoreUpdatedAt": "example",
        "periodInterval": "weekly",
        "scorecards": [
          {}
        ],
        "scores": [
          {}
        ],
        "teams": [
          {}
        ],
        "title": "example",
        "unit": "number",
        "userFullName": "example",
        "userId": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List milestones

Show milestones for your company’s projects and priorities.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.
- Completed (`completed`, true/false): Filter by completed status
- Archived (`archived`, true/false): Include Milestones whose parent Rock is archived (excluded by default)
- Deleted (`deleted`, true/false): Include deleted Milestones, or Milestones whose parent Rock is deleted (excluded by default)
- Search text (`search_text`, text): Search text to match against title and description
- Title (`title`, text): Filter by title match
- Sort by (`sort_by`, text): Choose which field sets the order. One of: `title`, `createdDate`.
- Sort order (`sort_order`, text): Choose ascending or descending order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "companyId": "example",
        "completedDate": {},
        "description": {},
        "dueDate": "example",
        "id": "example",
        "isDone": true,
        "ownerFirstName": {},
        "ownerLastName": {},
        "rockId": "example",
        "rockTitle": "example",
        "teamId": "example",
        "title": "example",
        "userId": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List past company meetings

Show your company’s meeting history.

**Inputs**

- Page index (`page_index`, number): Which page to return, counting from 0. From 0 to 100000.
- Page size (`page_size`, number): How many Meetings to return per page. From 10 to 100.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "agendaId": "example",
        "attendeeCount": 1,
        "averageRating": 1,
        "date": "example",
        "durationSeconds": 1,
        "endDate": "example",
        "id": "example",
        "issueSolveRatePercent": 1,
        "issueSolveRateTargetPercent": 1,
        "issuesSolved": 1,
        "issuesTracked": 1,
        "meetingType": "level10",
        "name": "example",
        "presenterId": "example",
        "ratings": [
          {}
        ],
        "teamId": "example"
      }
    ],
    "totalCount": 1
  }
}
```

### List past team meetings

Show a team’s meeting history.

**Inputs**

- Workspace team (`workspace_team_id`, text, required): Choose a team.
- Page index (`page_index`, number): Which page to return, counting from 0. At least 0.
- Page size (`page_size`, number): How many Meetings to return per page. From 10 to 100.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "agendaId": "example",
        "attendeeCount": 1,
        "averageRating": 1,
        "date": "example",
        "durationSeconds": 1,
        "endDate": "example",
        "id": "example",
        "issueSolveRatePercent": 1,
        "issueSolveRateTargetPercent": 1,
        "issuesSolved": 1,
        "issuesTracked": 1,
        "meetingType": "level10",
        "name": "example",
        "presenterId": "example",
        "ratings": [
          {}
        ],
        "teamId": "example"
      }
    ],
    "totalCount": 1
  }
}
```

### List rocks

Show your company’s quarterly priorities.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.
- Completed (`completed`, true/false): Filter by completed status
- Archived (`archived`, true/false): Include archived Rocks (excluded by default)
- Deleted (`deleted`, true/false): Include deleted Rocks (excluded by default)
- Search text (`search_text`, text): Search text to match against title and description
- Title (`title`, text): Filter by title match
- Sort by (`sort_by`, text): Choose which field sets the order. One of: `title`, `createdDate`.
- Sort order (`sort_order`, text): Choose ascending or descending order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "companyId": "example",
        "description": "example",
        "dueDate": "example",
        "id": "example",
        "ownerFirstName": "example",
        "ownerLastName": "example",
        "quarter": {},
        "statusCode": {},
        "teamId": "example",
        "title": "example",
        "userId": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List seat holders

Show which people hold seats across the company.

**Inputs**

- Chart ID (`chart_id`, text): Only the holders of Seats on this chart. Omit for every chart in the company. A chartId that is not a live chart in your company returns an empty page.
- Page index (`page_index`, number): Which page to return, counting from 0. From 0 to 10000.
- Page size (`page_size`, number): How many Seat holders to return per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "chartId": "example",
        "firstName": "example",
        "isPrimaryHolder": true,
        "lastName": "example",
        "seatId": "example",
        "userId": "example"
      }
    ],
    "totalCount": 1
  }
}
```

### List team headlines

Show a team’s headlines and cascaded messages.

**Inputs**

- Workspace team (`workspace_team_id`, text, required): Choose a team.
- Is cascaded message (`is_cascaded_message`, true/false): Return Cascading Messages instead of Headlines. The two share one collection and are never mixed in a response: this selects which kind you get.
- Include discussed (`include_discussed`, true/false): Also return Headlines that have already been discussed. Discussed Headlines are left out by default, which is what the app shows.
- Archived (`archived`, true/false): Return archived Headlines instead of active ones. Archiving is separate from being discussed, so this is a different list rather than a wider one.
- Search text (`search_text`, text): Free-text search across the title and body
- Page index (`page_index`, number): Which page to return, counting from 0. At least 0.
- Page size (`page_size`, number): How many Headlines to return per page. From 5 to 200.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "archived": true,
        "cascadedFromTeamId": "example",
        "companyId": "example",
        "completed": true,
        "completedDate": "example",
        "createdByUserId": "example",
        "createdDate": "example",
        "description": "example",
        "id": "example",
        "isCascadedMessage": true,
        "teamId": "example",
        "title": "example",
        "userId": "example"
      }
    ],
    "totalCount": 1
  }
}
```

### List team users

Show the people on a selected team.

**Inputs**

- Include inactive (`include_inactive`, true/false): Include deactivated Users in the response. Defaults to `false`, so only active Users are returned.
- Workspace team (`workspace_team_id`, text, required): Choose a team.

**Outputs**

- `data` (list): The response from Ninety.

**Example output**

```json
{
  "data": [
    {
      "active": true,
      "firstName": "example",
      "id": "example",
      "lastName": "example",
      "primaryEmail": "example",
      "role": "owner",
      "teamIds": [
        "example"
      ]
    }
  ]
}
```

### List teams

Show the teams you can access.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Ninety.

**Example output**

```json
{
  "data": [
    {
      "_id": "example",
      "name": "example"
    }
  ]
}
```

### List to-dos

Show to-dos from your company.

**Inputs**

- Limit (`limit`, number): Maximum number of items to return. From 1 to 100.
- Next token (`next_token`, text): Opaque cursor from a previous response's `pagination.nextToken`. Omit to fetch the first page.
- Completed (`completed`, true/false): Filter by completed status
- Archived (`archived`, true/false): Include archived To-Dos (excluded by default)
- Deleted (`deleted`, true/false): Include deleted To-Dos (excluded by default)
- Search text (`search_text`, text): Search text to match against title, description, and comments
- Title (`title`, text): Filter by title match
- Sort by (`sort_by`, text): Choose which field sets the order. One of: `title`, `createdDate`.
- Sort order (`sort_order`, text): Choose ascending or descending order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Ninety.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "archived": true,
        "archivedDate": {},
        "companyId": "example",
        "completed": true,
        "completedDate": {},
        "createdDate": "example",
        "deleted": true,
        "description": "example",
        "dueDate": "example",
        "dueDateChanged": true,
        "id": "example",
        "originalDueDate": {},
        "ownerFirstName": "example",
        "ownerLastName": "example",
        "teamId": "example",
        "teamName": {},
        "title": "example",
        "userId": "example"
      }
    ],
    "pagination": {
      "nextToken": "example"
    }
  }
}
```

### List users

Find people in your company.

**Inputs**

- Include inactive (`include_inactive`, true/false): Include deactivated Users in the response. Defaults to `false`, so only active Users are returned.
- Email (`email`, text): Return only the User at this email address, matched case-insensitively against the `primaryEmail` in the response. An address nobody in the company uses returns an empty array, not an error.

**Outputs**

- `data` (list): The response from Ninety.

**Example output**

```json
{
  "data": [
    {
      "active": true,
      "firstName": "example",
      "id": "example",
      "lastName": "example",
      "primaryEmail": "example",
      "role": "owner",
      "teamIds": [
        "example"
      ]
    }
  ]
}
```
