Complete Task
ms_todo.complete_task
ActionBusiness appsconnection required
Calls the Microsoft To Do API with the connection's credentials.
Mark a task completed by setting its status; To Do stamps the date.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Microsoft To Do
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"} with the Tasks.ReadWrite delegated scope
- Config it needs
- tenant
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
list_id The task list id, from ms_todo.list_task_lists or ms_todo.create_task_list. | string | Yes | — | — | — |
task_id The task id, from ms_todo.list_tasks or ms_todo.create_task. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The task id. | string | — |
title The task title. | string | — |
status One of notStarted, inProgress, completed, waitingOnOthers or deferred. | string | — |
importance One of low, normal or high. | string | — |
body The task's notes. | string | — |
due_date_time When the task is due, as a local date-time string. | string | — |
reminder_date_time When the reminder fires, as a local date-time string. | string | — |
completed_date_time When the task was completed, if it was. | string | — |
created ISO-8601 timestamp of creation. | string | — |
last_modified ISO-8601 timestamp of the last change. | string | — |
{
"body": "",
"completed_date_time": "",
"created": "",
"due_date_time": "",
"id": "",
"importance": "",
"last_modified": "",
"reminder_date_time": "",
"status": "",
"title": ""
}Related Microsoft To Do nodes
See Complete Task run in a workflow.
In a technical demo we add the Microsoft To Do connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.