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
TODOcolumn assigned to it, develops it and leaves it inTestwith 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.
- 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 tasks. Default: List Tasks. See Operations. Each operation shows only its own fields. |
| 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, 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. |
| Project | The 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. |
| Column | A column of the board by its name, for example In Progress, or Backlog. When listing, only the tasks in that column. |
| Assignee | The 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
| Operation | What it does | Fields |
|---|---|---|
List Tasks | Lists 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 Task | Reads a task in full: note, column, people, tags, dates and subtasks. | Task |
Create Task | Creates a task. | Title. Optional: Project, Note, Column, Priority, Assignee, Tags, Sprint, Start Date, Due Date and Estimate. |
Update Task | Changes 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 Task | Moves 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 Task | Changes the people assigned to a task, by email. | Task, Assignee, Assign Mode (Replace, Add or Remove; default Replace). |
Create Subtask | Creates a task under another task. | Task (the parent), Title and the same optional fields as Create Task. |
Take Next Task | Takes 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 History | Reads the change history of a task. | Task |
Delete Task | Deletes 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:Replacereplaces it,Appendadds the text at its end andReplace Sectionreplaces only the section whose title you type in Section Title, for exampleAgent 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,MediumorHigh.Not setmeans any when listing, keeps it when updating and none for a new task. - Start Date and Due Date are days like
2026-12-31.noneremoves them. - Estimate is in the project’s unit (hours or points), for example
3.noneremoves it. - Tags are tag names separated by commas. On create they are added; on update the task keeps exactly those (
noneremoves them all). - Sprint is the name or id of a sprint of the project.
nonetakes the task out of its sprint. - Completed (only in
Update Task):Yesmarks the task as done,Noopens it again andNot setkeeps it.
Output
The Data output returns one item per task with these fields:
key: the task’s key, for exampleXONE-12.id: its id.titleandnote(the note as text).projectandproject_key: the project’s name and key.column: the column it is in.priority:low,mediumorhigh.completed: whether it is done.start_dateanddue_date.assignees: the emails of the assigned people.tags: the names of its tags.sprint_id,estimateandparent_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.
- Create a user for the agent in XoneWork, add it to the project and create the token of the XoneWork credential with it.
- Add XoneWork Trigger with the project,
Moved to another columnandAssigned to someonein Events,TODOin Columns and the agent’s email in Assignee. - 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, useTake Next TaskwithTODOin From Column,In Progressin To Column and the agent’s email in Assignee. - Pass the task’s title and note to an agent that develops it.
- Add XoneWork Tasks with
Update Task,Replace Sectionin Note Change,Agent reportin Section Title and the agent’s answer in Note. - Finish with XoneWork Tasks with
Move TaskandTestin 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 TaskandAssign Task, notUpdate Task. - As a tool, do not hardcode Task, Title or Column: the agent supplies them.
- Write the agent’s report with
Replace Sectioninstead of adding a comment on every run: the note keeps the latest version of the report. - Use
Only If In ColumninMove Taskwhen 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.updatedandtask.statusChangedwebhooks. 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.
Related components
- XoneWork Trigger: starts the flow when a task is created, moved, assigned, completed or changed.
- XoneWork Webhook: starts the flow with the webhooks of a XoneWork project.
- XoneWork Comments: read and write comments.
- XoneWork Projects: projects, columns, members, tags and sprints.
- XoneWork Time Tracking: time spent on tasks.
- XoneWork Attachments: the files attached to a task.