The Google Task Update Task action is used to update an existing task in Google Tasks. The user can change a task's title, notes, or status. It provides an “edit” function in task management applications.
Technical Specifications
Function: Updates the information of a task in the specified task list.
Parameters:
settings (Object – required): Google Tasks API connection settings.
taskListId (String – required): The ID of the task list containing the task to be updated.
taskId (String – required): The ID of the task to be updated.
title (String – optional): The new title of the task.
notes (String – optional): Comments/notes to be added to the task.
status (String – optional): The status of the task. Values:
“needsAction” → Uncompleted task
“completed” → Completed task
Result: Singular (One) → Returns a response object containing the details of the updated task.
Value Binding
Fixed Value: The task ID and new information can be entered manually.
Dynamic Value: The update can be made with the task ID selected by the user or with the new title/note/status obtained from user input.
Google Task Update Task Application Steps
Open your project on the Kuika platform.
Go to the UI Design module and navigate to the task editing screen.
Select UI Design → + ADD ACTION → Google → Google Task Update Task.
Configure Parameters:
settings: Select Google Tasks connection settings.
taskListId: Enter the ID of the task list where the task to be updated is located.
taskId: Enter the ID of the task to be updated.
title: A new task title can be entered.
notes: New notes can be added to the task.
status: Update the task as completed or pending.
When the action is executed, the relevant task is updated.
Current information can be displayed on the screen with the returned result object.
Usage Scenario: “Update Task Status”
In a to-do list application, when the user clicks the ‘Completed’ button:
taskListId = the user's task list ID
taskId = the selected task ID
status = “completed”
Action runs → Task is updated as completed.
Google Task Update Task Advanced Customizations
Partial Update: Only the title, only the note, or only the status can be updated.
Dynamic Input: If the user enters a new title or note from the form, an instant update can be made.
Status Tracking: When the task is completed, the progress bar or statistics in the application can be updated.
Technical Risks and Controls
If an incorrect taskId or taskListId is provided, the update cannot be performed.
If an empty title is provided, the task title may be deleted → This should be checked on the UI side.
If an invalid value is provided in the status field, the API returns an error.