setTaskCompleted is the focused completion action.
automations/complete-asana-task.automation.ts
taskId is required. completed defaults to true; pass false to reopen. Optional account defaults to the project binding. Returns the updated AsanaTask, including completion timestamp and user when Asana supplies them.