Skip to content

XoneWork Tasks

XoneWork Tasks works with the tasks of XoneWork, Xone’s task manager: it lists the tasks of a project, reads a task in full, creates tasks and subtasks, changes their title, note or dates, moves them to another column, assigns them to people and deletes them. With Take Next Task it takes the top task of a column and moves it, which is the first step of an agent that develops tasks.

The component works as the person who owns the token of the credential: it sees the projects and makes the changes that token allows in XoneWork, and what it changes is recorded under their name.

When to use it

  • Create a XoneWork task from an email, a form, a meeting or a failed check.
  • An agent takes the next task of the TODO column assigned to it, develops it and leaves it in Test with its report.
  • Move a task to another column of the board or assign it to someone when something happens in another application.
  • Give a text or voice agent tools to search, read and create tasks by their key, such as XONE-12.

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 tasks. Default: List Tasks. See Operations. Each operation shows only its own fields.
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, for example the one from XoneWork Trigger or a List Tasks result. The key is resolved with a single request to XoneWork, a subtask’s key included.
ProjectThe project’s key (XONE), its name, its id or the address of one of its board pages. Empty: the only project the token sees, or the task’s project. It is a list with the account’s projects, and you can also type.
ColumnA column of the board by its name, for example In Progress, or Backlog. When listing, only the tasks in that column.
AssigneeThe email of a member of the project; several separated by commas. none: nobody. When listing or taking the next task, only the tasks assigned to them.

Names are always used instead of internal ids: tasks by their key, projects by their key or name, columns by their name and people by their email.

Operations

OperationWhat it doesFields
List TasksLists the tasks of a project.Project. Optional: Column, Assignee, Priority, Text (words in the title), Tasks (Open, Completed or Any; default Open) and Max Results (default 50).
Get TaskReads a task in full: note, column, people, tags, dates and subtasks.Task
Create TaskCreates a task.Title. Optional: Project, Note, Column, Priority, Assignee, Tags, Sprint, Start Date, Due Date and Estimate.
Update TaskChanges the title, note, priority, dates, estimate, tags, sprint or whether it is completed.Task and at least one of Title, Note, Priority, Start Date, Due Date, Estimate, Tags, Sprint or Completed.
Move TaskMoves a task to another column by its name.Task, Column. Optional: Only If In Column, to move it only if it is still in that column (empty by default: moves it wherever it is).
Assign TaskChanges the people assigned to a task, by email.Task, Assignee, Assign Mode (Replace, Add or Remove; default Replace).
Create SubtaskCreates a task under another task.Task (the parent), Title and the same optional fields as Create Task.
Take Next TaskTakes the top task of a column and moves it to another.Project, From Column (default TODO), To Column (default In Progress). Optional: Assignee and Created By (advanced: XoneWork user ids).
Task HistoryReads the change history of a task.Task
Delete TaskDeletes a task.Task

Field details:

  • Note is the task’s note: everything needed to do it. Plain text, simple lists with - or HTML.
  • Note Change (only in Update Task) decides what happens to the note: Replace replaces it, Append adds the text at its end and Replace Section replaces only the section whose title you type in Section Title, for example Agent report. If the note has no such section, it is added at the end. That way the flow writes in its own section without touching what people wrote.
  • Priority: Low, Medium or High. Not set means any when listing, keeps it when updating and none for a new task.
  • Start Date and Due Date are days like 2026-12-31. none removes them.
  • Estimate is in the project’s unit (hours or points), for example 3. none removes it.
  • Tags are tag names separated by commas. On create they are added; on update the task keeps exactly those (none removes them all).
  • Sprint is the name or id of a sprint of the project. none takes the task out of its sprint.
  • Completed (only in Update Task): Yes marks the task as done, No opens it again and Not set keeps it.

Output

The Data output returns one item per task with these fields:

  • key: the task’s key, for example XONE-12. id: its id.
  • title and note (the note as text).
  • project and project_key: the project’s name and key.
  • column: the column it is in.
  • priority: low, medium or high. completed: whether it is done.
  • start_date and due_date.
  • assignees: the emails of the assigned people. tags: the names of its tags.
  • sprint_id, estimate and parent_id (the parent of a subtask).

Get Task adds the note as HTML (note_html) and its subtasks (subtasks).

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

A team wants an agent to develop the tasks assigned to it in XoneWork.

  1. Create a user for the agent in XoneWork, add it to the project and create the token of the XoneWork credential with it.
  2. Add XoneWork Trigger with the project, Moved to another column and Assigned to someone in Events, TODO in Columns and the agent’s email in Assignee.
  3. Connect XoneWork Tasks with Get Task: Task stays as {key} and reads the task that started the flow. If you prefer the agent to work the tasks one at a time from a schedule, use Take Next Task with TODO in From Column, In Progress in To Column and the agent’s email in Assignee.
  4. Pass the task’s title and note to an agent that develops it.
  5. Add XoneWork Tasks with Update Task, Replace Section in Note Change, Agent report in Section Title and the agent’s answer in Note.
  6. Finish with XoneWork Tasks with Move Task and Test in Column, so a person reviews it.

For a voice agent, connect several XoneWork Tasks nodes as tools of the Voice Agent, for example one with List Tasks, another with Get Task and another with Create Task: the caller can ask about their tasks or request a new one, and the agent names them by their key.

Good practices

  • Use keys, names and emails, not internal ids.
  • To move or assign, use Move Task and Assign Task, not Update Task.
  • As a tool, do not hardcode Task, Title or Column: the agent supplies them.
  • Write the agent’s report with Replace Section instead of adding a comment on every run: the note keeps the latest version of the report.
  • Use Only If In Column in Move Task when several automations may move the same task.
  • When several agents work the same column, use Take Next Task: each task is taken by only one of them.

Security and limitations

  • The token acts as the person who created it: everything the component does, that person does. Limit it in XoneWork to the permissions and projects the flow needs.
  • The token never appears in the node: the credential fills it.
  • Moving a task uses XoneWork’s task update, so it fires its task.updated and task.statusChanged webhooks. If the token lacks the permission that needs, it moves the task through the board instead.
  • Errors say which call failed and what XoneWork answered, for example that the token has no permission or cannot see the project.