Skip to content

Asana - Delete Task

↩ Part of the Asana integration.

Deletes a task (DELETE /tasks/{gid}). Use it to clean up duplicates created by an integration, or to remove work items that a cancellation upstream made irrelevant.

FieldTypeRequiredDescription
credentials_idcredentialsYesAsana credential
task_gidtextYesgid of the task to delete

task_gid accepts dynamic variables.

This module requires an Asana credential:

FieldDescription
access_tokenPersonal Access Token from app.asana.com
default_workspace_gidOptional fallback workspace

Asana returns an empty body, so the node returns a confirmation object:

{
"gid": "1209876543210987",
"deleted": true
}

Along with it, _meta:

{ "moduleVersion": "1.0.0", "success": true, "gid": "1209876543210987", "totalMs": 210 }
{
"credentials_id": "asana_ops",
"task_gid": "1209876543210987"
}
{
"credentials_id": "asana_ops",
"task_gid": "{{data.gid}}"
}
  • Deleted tasks go to Asana’s Deleted items for 30 days before being purged, so an accidental delete can be recovered from the Asana UI within that window.
  • Subtasks of the deleted task are deleted with it.
  • A 404 means the task no longer exists — safe to treat as “already gone”, but note the node still returns an error and stops the branch. Guard the node with a condition if a missing task is an acceptable outcome.
  • Deleting requires write permission on the task; otherwise Asana answers 403. Neither 403 nor 404 is retried.