Skip to content

Asana - Add Comment

↩ Part of the Asana integration.

Posts a comment on a task (POST /tasks/{gid}/stories). In Asana, comments and activity entries are both stories; this node creates a story of type comment.

Use it to leave an audit trail on the task: the outcome of a check, a link to a generated document, the number of records processed.

FieldTypeRequiredDescription
credentials_idcredentialsYesAsana credential
task_gidtextYesTask gid
texttextareaYesComment text

Both task_gid and text accept dynamic variables.

This module requires an Asana credential:

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

data is the story object returned by Asana:

{
"gid": "1209999999999999",
"resource_type": "story",
"resource_subtype": "comment_added",
"type": "comment",
"text": "Quote sent. Total: 4820 EUR.",
"created_at": "2026-08-28T11:22:07.000Z",
"created_by": { "gid": "1201111111111111", "resource_type": "user", "name": "Automation Bot" }
}

Along with it, _meta:

{ "moduleVersion": "1.0.0", "success": true, "gid": "1209876543210987", "storyGid": "1209999999999999", "totalMs": 254 }
{
"credentials_id": "asana_ops",
"task_gid": "1209876543210987",
"text": "Automatically verified: the invoice was issued."
}
{
"credentials_id": "asana_ops",
"task_gid": "{{data.gid}}",
"text": "Process finished.\nRecords: {{data.total}}\nErrors: {{data.errors}}"
}
  • The comment is posted by the account that owns the Personal Access Token, so it appears under that user’s name. Use a dedicated bot account if you want automated comments to stand out.
  • The text is plain: rich formatting and @ mentions are not supported by this node. For an HTML body (html_text) use the HTTP node.
  • Comments cannot be edited or deleted from these nodes — a comment is permanent activity on the task.
  • A 404 means the task does not exist or the account cannot see it; a 403 means it cannot comment on it. Neither is retried.