Insightful
App · 27 actions
Work with employees, teams, projects, tasks, shifts and time off in Insightful.
Actions
| Action | What it does |
|---|---|
| Add time off | Queue time off for an employee. |
| Check added time off | See whether queued time off was created, and why not if it wasn't. |
| Create a project | Add a project employees can track time to. |
| Create a task | Add a task to a project. |
| Create a team | Add a team to your organization. |
| Deactivate an employee | Stop tracking an employee and free their seat. |
| Delete a project | Delete a project. |
| Delete a task | Delete a task. |
| Delete a team | Delete a team. |
| Get a project | Get one project with its employees and task settings. |
| Get a task | Get one task. |
| Get a team | Get one team with its employees and projects. |
| Get an employee | Get one employee's details. |
| Get daily timesheets | Each employee's timesheet, day by day, for a period. |
| Get time per project | Total tracked time (in milliseconds), cost and income per project for a period. |
| Invite an employee | Add an employee and send them Insightful's invitation. |
| List employees | List every employee in your organization. |
| List managers | List the managers in your organization. |
| List projects | List the projects in your organization. |
| List shifts | List the work shifts employees tracked in a period. |
| List tasks | List the tasks in your organization. |
| List teams | List the teams in your organization. |
| List time off | List time off that overlaps a period. |
| List tracking settings | List the shared tracking settings employees can be given. |
| Update a project | Change a project. |
| Update a task | Change a task. |
| Update a team | Change a team's members, projects or what it tracks. |
Add time off
Queue time off for an employee. It replaces any time off it overlaps. Needs Insightful's Time Off feature.
Inputs
- Employee
employee_idtextRequired - The employee taking time off.
- Start
startdate and timeRequired - When the time off starts.
- End
enddate and timeRequired - When the time off ends.
- Time zone
timezonetextRequired - The employee's time zone, such as `America/New_York`.
- Length
duration_typetextRequired - A whole day or days, or part of a day.One of:
full,partial. - Type
typetextRequired - The time off type's name in Insightful, such as `vacation`.
- External ID
external_idtext - Your own reference, to find the entry later with List time off.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"jobId": 1,
"message": "example",
"received": 1,
"url": "example"
}
}Check added time off
See whether queued time off was created, and why not if it wasn't.
Inputs
- Job ID
job_idtextRequired - The job ID Add time off returned.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"result": {
"created": [
{
"employeeId": "example",
"end": 1,
"reason": "example",
"start": 1
}
],
"deleted": [
{
"employeeId": "example",
"end": 1,
"reason": "example",
"start": 1
}
],
"errors": [
{
"employeeId": "example",
"end": 1,
"reason": "example",
"start": 1
}
],
"received": 1
},
"status": "example"
}
}Create a project
Add a project employees can track time to.
Inputs
- Name
nametextRequired - The project's name.
- Employees
employee_idslistRequired - The employees who work on the project.
- Description
descriptiontext - What the project is.
- Billable
billabletrue/false - Whether time on the project is billable.
- Deadline
deadlinedate and time - When the project is due.
- Task statuses
statuseslist - The statuses its tasks can have, such as `To do`, `In progress`, `Done`.
- Task priorities
prioritieslist - The priorities its tasks can have, such as `low`, `medium`, `high`.
- Bill rate
bill_ratenumber - The hourly bill rate.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"name": "example",
"organizationId": "example",
"payroll": {
"billRate": 1,
"overtimeBillrate": 1
},
"priorities": [
"example"
],
"statuses": [
"example"
],
"teams": [
"example"
]
}
}Create a task
Add a task to a project.
Inputs
- Project
project_idtextRequired - The project the task belongs to.
- Name
nametextRequired - The task's name.
- Employees
employee_idslistRequired - The employees assigned to the task.
- Description
descriptiontext - What the task is.
- Status
statustext - The task's status, one of its project's statuses.
- Priority
prioritytext - The task's priority, one of its project's priorities.
- Billable
billabletrue/false - Whether time on the task is billable.
- Deadline
deadlinedate and time - When the task is due.
- Labels
labelslist - Labels for the task.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"labels": [
"example"
],
"name": "example",
"organizationId": "example",
"priority": "example",
"projectId": "example",
"status": "example",
"teams": [
"example"
]
}
}Create a team
Add a team to your organization.
Inputs
- Name
nametextRequired - The team's name.
- Description
descriptiontext - What the team is.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"createdAt": 1,
"default": true,
"description": "example",
"employees": [
"example"
],
"id": "example",
"ignoreNeutral": true,
"ignoreProductive": true,
"ignoreUnproductive": true,
"ignoreUnreviewed": true,
"name": "example",
"organizationId": "example",
"projects": [
"example"
]
}
}Deactivate an employee
Stop tracking an employee and free their seat.
Inputs
- Employee
employee_idtextRequired - The employee.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"accountId": "example",
"createdAt": 1,
"deactivated": 1,
"email": "example",
"id": "example",
"identifier": "example",
"invited": 1,
"name": "example",
"organizationId": "example",
"projects": [
"example"
],
"sharedSettingsId": "example",
"teamId": "example",
"type": "example"
}
}Delete a project
Delete a project.
Inputs
- Project
project_idtextRequired - The project.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"name": "example",
"organizationId": "example",
"payroll": {
"billRate": 1,
"overtimeBillrate": 1
},
"priorities": [
"example"
],
"statuses": [
"example"
],
"teams": [
"example"
]
}
}Delete a task
Delete a task.
Inputs
- Task ID
task_idtextRequired - The task's ID.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"labels": [
"example"
],
"name": "example",
"organizationId": "example",
"priority": "example",
"projectId": "example",
"status": "example",
"teams": [
"example"
]
}
}Delete a team
Delete a team. The default team can't be deleted.
Inputs
- Team
insightful_team_idtextRequired - The team.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"createdAt": 1,
"default": true,
"description": "example",
"employees": [
"example"
],
"id": "example",
"ignoreNeutral": true,
"ignoreProductive": true,
"ignoreUnproductive": true,
"ignoreUnreviewed": true,
"name": "example",
"organizationId": "example",
"projects": [
"example"
]
}
}Get a project
Get one project with its employees and task settings.
Inputs
- Project
project_idtextRequired - The project.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"name": "example",
"organizationId": "example",
"payroll": {
"billRate": 1,
"overtimeBillrate": 1
},
"priorities": [
"example"
],
"statuses": [
"example"
],
"teams": [
"example"
]
}
}Get a task
Get one task.
Inputs
- Task ID
task_idtextRequired - The task's ID.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"labels": [
"example"
],
"name": "example",
"organizationId": "example",
"priority": "example",
"projectId": "example",
"status": "example",
"teams": [
"example"
]
}
}Get a team
Get one team with its employees and projects.
Inputs
- Team
insightful_team_idtextRequired - The team.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"createdAt": 1,
"default": true,
"description": "example",
"employees": [
"example"
],
"id": "example",
"ignoreNeutral": true,
"ignoreProductive": true,
"ignoreUnproductive": true,
"ignoreUnreviewed": true,
"name": "example",
"organizationId": "example",
"projects": [
"example"
]
}
}Get an employee
Get one employee's details.
Inputs
- Employee
employee_idtextRequired - The employee.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"accountId": "example",
"createdAt": 1,
"deactivated": 1,
"email": "example",
"id": "example",
"identifier": "example",
"invited": 1,
"name": "example",
"organizationId": "example",
"projects": [
"example"
],
"sharedSettingsId": "example",
"teamId": "example",
"type": "example"
}
}Get daily timesheets
Each employee's timesheet, day by day, for a period.
Inputs
- From
startdate and timeRequired - The start of the period.
- To
enddate and timeRequired - The end of the period.
- Time zone
timezonetext - The time zone to count days in, such as `America/New_York`.
- Employees
employee_idslist - Only these employees.
- Teams
team_idslist - Only these teams.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {}
}Get time per project
Total tracked time (in milliseconds), cost and income per project for a period.
Inputs
- From
startdate and timeRequired - The start of the period.
- To
enddate and timeRequired - The end of the period.
- Time zone
timezonetext - The time zone to count days in, such as `America/New_York`.
- Employees
employee_idslist - Only these employees.
- Teams
team_idslist - Only these teams.
- Projects
project_idslist - Only these projects.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"costs": 1,
"id": "example",
"income": 1,
"time": 1
}
]
}Invite an employee
Add an employee and send them Insightful's invitation.
Inputs
- Name
nametextRequired - The employee's name.
- Email
emailtextRequired - The employee's email address.
- Team
insightful_team_idtextRequired - The team they join.
- Settings
shared_settings_idtextRequired - The tracking settings that apply to them.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"accountId": "example",
"createdAt": 1,
"deactivated": 1,
"email": "example",
"id": "example",
"identifier": "example",
"invited": 1,
"name": "example",
"organizationId": "example",
"projects": [
"example"
],
"sharedSettingsId": "example",
"teamId": "example",
"type": "example"
}
}List employees
List every employee in your organization.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"accountId": "example",
"createdAt": 1,
"deactivated": 1,
"email": "example",
"id": "example",
"identifier": "example",
"invited": 1,
"name": "example",
"organizationId": "example",
"projects": [
"example"
],
"sharedSettingsId": "example",
"teamId": "example",
"type": "example"
}
]
}List managers
List the managers in your organization.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"email": "example",
"id": "example",
"name": "example",
"organizationId": "example"
}
]
}List projects
List the projects in your organization.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"name": "example",
"organizationId": "example",
"payroll": {
"billRate": 1,
"overtimeBillrate": 1
},
"priorities": [
"example"
],
"statuses": [
"example"
],
"teams": [
"example"
]
}
]
}List shifts
List the work shifts employees tracked in a period.
Inputs
- From
startdate and timeRequired - The start of the period.
- To
enddate and timeRequired - The end of the period.
- Time zone
timezonetext - The time zone to count days in, such as `America/New_York`.
- Employees
employee_idslist - Only these employees.
- Teams
team_idslist - Only these teams.
- Projects
project_idslist - Only these projects.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"computer": "example",
"createdAt": "example",
"employeeId": "example",
"end": 1,
"id": "example",
"name": "example",
"organizationId": "example",
"os": "example",
"paid": true,
"payRate": 1,
"start": 1,
"teamId": "example",
"timezoneOffset": 1,
"type": "example",
"updatedAt": "example",
"user": "example"
}
]
}List tasks
List the tasks in your organization.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"labels": [
"example"
],
"name": "example",
"organizationId": "example",
"priority": "example",
"projectId": "example",
"status": "example",
"teams": [
"example"
]
}
]
}List teams
List the teams in your organization.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"createdAt": 1,
"default": true,
"description": "example",
"employees": [
"example"
],
"id": "example",
"ignoreNeutral": true,
"ignoreProductive": true,
"ignoreUnproductive": true,
"ignoreUnreviewed": true,
"name": "example",
"organizationId": "example",
"projects": [
"example"
]
}
]
}List time off
List time off that overlaps a period.
Inputs
- From
startdate and timeRequired - The start of the period.
- To
enddate and timeRequired - The end of the period.
- Employees
employee_idslist - Only these employees.
- Teams
team_idslist - Only these teams.
- External ID
external_idtext - Only the entry with your own reference.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"data": [
{
"category": "example",
"createdAt": 1,
"creatorType": "example",
"duration": 1,
"durationType": "example",
"employeeId": "example",
"end": 1,
"externalId": "example",
"id": "example",
"note": "example",
"start": 1,
"teamId": "example",
"timezone": "example",
"type": "example",
"typeId": "example",
"updatedAt": 1
}
]
}
}List tracking settings
List the shared tracking settings employees can be given.
Inputs
None.
Outputs
datalist- The response from Insightful.
Example output
{
"data": [
{
"description": "example",
"id": "example",
"name": "example",
"organizationId": "example",
"settings": {
"days": {},
"privileges": {},
"type": "example"
},
"type": "example"
}
]
}Update a project
Change a project. Fields left empty keep their current value; lists replace the current ones.
Inputs
- Project
project_idtextRequired - The project.
- Name
nametext - The project's name.
- Employees
employee_idslist - The employees who work on the project.
- Description
descriptiontext - What the project is.
- Billable
billabletrue/false - Whether time on the project is billable.
- Deadline
deadlinedate and time - When the project is due.
- Task statuses
statuseslist - The statuses its tasks can have, such as `To do`, `In progress`, `Done`.
- Task priorities
prioritieslist - The priorities its tasks can have, such as `low`, `medium`, `high`.
- Bill rate
bill_ratenumber - The hourly bill rate.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"name": "example",
"organizationId": "example",
"payroll": {
"billRate": 1,
"overtimeBillrate": 1
},
"priorities": [
"example"
],
"statuses": [
"example"
],
"teams": [
"example"
]
}
}Update a task
Change a task. Fields left empty keep their current value; lists replace the current ones.
Inputs
- Task ID
task_idtextRequired - The task's ID.
- Name
nametext - The task's name.
- Employees
employee_idslist - The employees assigned to the task.
- Description
descriptiontext - What the task is.
- Status
statustext - The task's status, one of its project's statuses.
- Priority
prioritytext - The task's priority, one of its project's priorities.
- Billable
billabletrue/false - Whether time on the task is billable.
- Deadline
deadlinedate and time - When the task is due.
- Labels
labelslist - Labels for the task.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"billable": true,
"createdAt": 1,
"creatorId": "example",
"deadline": 1,
"description": "example",
"employees": [
"example"
],
"id": "example",
"labels": [
"example"
],
"name": "example",
"organizationId": "example",
"priority": "example",
"projectId": "example",
"status": "example",
"teams": [
"example"
]
}
}Update a team
Change a team's members, projects or what it tracks. Lists replace the current ones.
Inputs
- Team
insightful_team_idtextRequired - The team.
- Description
descriptiontext - What the team is.
- Employees
employee_idslist - The team's employees.
- Projects
project_idslist - The team's projects.
- Ignore productive apps
ignore_productivetrue/false - Stop tracking productive apps for the team.
- Ignore neutral apps
ignore_neutraltrue/false - Stop tracking neutral apps for the team.
- Ignore unproductive apps
ignore_unproductivetrue/false - Stop tracking unproductive apps for the team.
- Ignore unreviewed apps
ignore_unreviewedtrue/false - Stop tracking apps nobody has rated yet.
Outputs
dataobject- The response from Insightful.
Example output
{
"data": {
"createdAt": 1,
"default": true,
"description": "example",
"employees": [
"example"
],
"id": "example",
"ignoreNeutral": true,
"ignoreProductive": true,
"ignoreUnproductive": true,
"ignoreUnreviewed": true,
"name": "example",
"organizationId": "example",
"projects": [
"example"
]
}
}