asana.onTaskCompleted fetches the task and emits only when its current completed value is true.
automations/respond-to-asana-completion.automation.ts
resourceId. Optional static account defaults to the project binding.
Trigger data
Returns aSignal<AsanaTaskCompletedEvent> containing the fetched task:
AsanaResource and AsanaWebhookEvent have the shared Asana event shapes.
Returns the current AsanaTask with completed: true. event contains action: "changed" and change.action: "changed" for the completed field. Reopening a task doesn’t emit this trigger.