Skip to main content
onAsanaEvent is the broad Asana webhook trigger. A project subscription includes changes from its tasks, subtasks, and stories.
automations/watch-asana-project.automation.ts

Options

resourceId is the required GID of the project, task, or other resource to watch. Optional account is a static Asana binding and defaults to the project binding; a signal cannot choose it at runtime.

Trigger data

Returns Signal<AsanaEvent> with action: "added" | "changed" | "deleted" | "removed" | "undeleted", createdAt, resource, resourceType, optional resourceSubtype, watchedResourceId, optional parent and user, and optional change. A change includes action, field, and optional provider JSON values in newValue, addedValue, and removedValue. The changed resource.id can differ from watchedResourceId because events propagate through the subscribed resource. Use a semantic trigger when you only need one event category.