Skip to main content
asana.onTaskDeleted matches task deletion events from the watched resource.
automations/watch-deleted-asana-tasks.automation.ts
Provide resourceId. Optional static account defaults to the project binding.

Trigger data

Returns the Asana task event shape with webhook action "deleted":
The top-level fields identify the affected task. event contains action: "deleted" and the watched resource ID. asana.getTask can’t load the deleted task.