XoneWork Time Tracking
XoneWork Time Tracking works with XoneWork’s time tracking: it starts and stops the timer on a task, says which task it is running on, logs time with a start and an end or with minutes, and reads the time spent on a task, a project or a period.
The component works as the person who owns the token of the credential: the time it records is theirs.
When to use it
- An agent records the time it worked on a XoneWork task.
- Log hours from another application or from a form.
- Prepare a weekly report of the hours spent on tasks, for billing or a timesheet.
- A voice agent starts and stops the timer when you ask it to.
Configuration
You need a XoneWork credential with the address of your XoneWork and a personal API token. See Credentials.
- In XoneWork, open Account › API tokens and create a token. Choose its permissions and the projects it reaches.
- Copy the token, which starts with
tvk_. - In NappAI, create a XoneWork credential: in XoneWork address type the address of your XoneWork, for example
https://xonework.app, and paste the token in API token. - Choose that credential in the component’s Credential field.
| Field | What it does |
|---|---|
| Credential (required) | The XoneWork credential. It fills XoneWork Address and XoneWork API Token. |
| Operation | What you do with the time. Default: Start Timer. |
| Task | The task’s key, for example XONE-12, or its id. Default {key}: in batch mode it takes the key of the task that reaches the node. |
| Project | In List Time Entries, only the entries of this project. Empty: all. |
| Description | What was done, up to 500 characters. |
| Start | When the work started: 2026-11-25 09:30 or 2026-11-25T09:30:00Z. In List Time Entries, from when. |
| End | When it ended. Empty: Start plus Minutes. In List Time Entries, until when. |
| Minutes | Minutes worked, when End is empty. |
| Billable | Whether the time can be billed: Yes, No or Not set (XoneWork’s default). |
| Max Results | The most entries to return. Default: 100. |
Dates and times without a time zone are read as UTC.
Operations
| Operation | What it does | Fields |
|---|---|---|
Start Timer | Starts the timer on a task. If one was already running, it stops it and returns it in stopped_previous. | Task. Optional: Description. |
Stop Timer | Stops the running timer. | |
Active Timer | Says which task the timer is running on. | |
Log Time | Logs time on a task. | Task, Start and End or Minutes. Optional: Description and Billable. |
List Time Entries | Lists the time entries of a task, a project or a period. | Optional: Task or Project, Start (from), End (until) and Max Results. |
Task Time Summary | Total time spent on a task, by person. | Task |
Output
The Data output returns one item per time entry with these fields:
entry_idandtask_id.started_at,ended_atandminutes.descriptionandbillable.user: whose entry it is.running: whether the timer is still running.
Task Time Summary returns the total in minutes and the split by person in by_person.
The component can be connected to an Agent or a Voice Agent as a tool: each node is one tool with its operation. See Tools.
Example
An agent that develops tasks records the time it spent.
- XoneWork Trigger starts the flow with the task assigned to the agent.
- XoneWork Time Tracking with
Start Timerand Task set to{key}starts the timer. - The agent works the task.
- Another XoneWork Time Tracking with
Stop Timerstops it at the end.
Good practices
- Always write a full date and time in Start and End, not just the time.
- Add the time zone if you do not work in UTC, for example
2026-11-25T09:30:00+01:00. - One token per person: time is recorded under the name of whoever created the token.
Security and limitations
- The token acts as the person who created it: the time entries are theirs. Limit it in XoneWork to the permissions and projects the flow needs.
- The token never appears in the node: the credential fills it.
- Only one timer runs at a time:
Start Timerstops the previous one.
Related components
- XoneWork Tasks: read, create, move and assign tasks.
- XoneWork Trigger: starts the flow when a task changes.
- XoneWork Webhook: starts the flow with the webhooks of a project, also when a timer starts or stops.
- XoneWork Comments: read and write comments.
- XoneWork Projects: projects, columns, members, tags and sprints.
- XoneWork Attachments: the files attached to a task.