Skip to content

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.

  1. In XoneWork, open Account › API tokens and create a token. Choose its permissions and the projects it reaches.
  2. Copy the token, which starts with tvk_.
  3. 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.
  4. Choose that credential in the component’s Credential field.
FieldWhat it does
Credential (required)The XoneWork credential. It fills XoneWork Address and XoneWork API Token.
OperationWhat you do with the time. Default: Start Timer.
TaskThe 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.
ProjectIn List Time Entries, only the entries of this project. Empty: all.
DescriptionWhat was done, up to 500 characters.
StartWhen the work started: 2026-11-25 09:30 or 2026-11-25T09:30:00Z. In List Time Entries, from when.
EndWhen it ended. Empty: Start plus Minutes. In List Time Entries, until when.
MinutesMinutes worked, when End is empty.
BillableWhether the time can be billed: Yes, No or Not set (XoneWork’s default).
Max ResultsThe most entries to return. Default: 100.

Dates and times without a time zone are read as UTC.

Operations

OperationWhat it doesFields
Start TimerStarts the timer on a task. If one was already running, it stops it and returns it in stopped_previous.Task. Optional: Description.
Stop TimerStops the running timer.
Active TimerSays which task the timer is running on.
Log TimeLogs time on a task.Task, Start and End or Minutes. Optional: Description and Billable.
List Time EntriesLists the time entries of a task, a project or a period.Optional: Task or Project, Start (from), End (until) and Max Results.
Task Time SummaryTotal time spent on a task, by person.Task

Output

The Data output returns one item per time entry with these fields:

  • entry_id and task_id.
  • started_at, ended_at and minutes.
  • description and billable.
  • 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.

  1. XoneWork Trigger starts the flow with the task assigned to the agent.
  2. XoneWork Time Tracking with Start Timer and Task set to {key} starts the timer.
  3. The agent works the task.
  4. Another XoneWork Time Tracking with Stop Timer stops 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 Timer stops the previous one.