The Google Task Delete Task action is used to delete a single task (taskId) from a specific task list (taskListId). It allows users to remove completed or no longer necessary tasks from the list.
Technical Specifications
Function: Deletes a single task from a specific 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 deleted.
taskId (String – required): The ID of the task to be deleted.
Result: Singular (One) → Returns a response indicating whether the deletion was successful.
Value Binding
Fixed Value: taskListId and taskId can be entered manually.
Dynamic Value: Can be bound by selecting from a pre-listed set of tasks.
Google Task Delete Task Application Steps
Open your project on the Kuika platform.
Go to the UI Design module.
Select UI Design → + ADD ACTION → Google → Google Task Delete Task.
Configuring Parameters:
settings: Select the Google Tasks connection settings.
taskListId: Enter the ID of the list where the task is located (e.g., “DailyTasks”).
taskId: Enter the ID of the task to be deleted.
When the action is executed, the relevant task is permanently deleted from the list.
Usage Scenario: “Deleting a Completed Task”
If a user wants to completely remove the “Go Shopping” task from the list after completing it:
taskListId = ‘DailyTasks’
taskId = “Task12345”
Action runs → Task is completely deleted from the list.
Google Task Delete Task Advanced Customizations
Dynamic Task Selection: The task ID selected in the user interface can be automatically linked to the action.
Bulk Deletion: The Delete Task action can be used in a loop for multiple tasks.
Conditional Deletion: Conditions can be added so that only “completed” tasks are deleted.
Technical Risks and Controls
taskListId and taskId cannot be empty.
If an incorrect taskId is provided, the task cannot be found and an error is returned.
Deleted tasks cannot be recovered → it may be useful to display a “Are you sure?” warning to the user.