Asana - List Tasks
↩ Part of the Asana integration.
Description
Section titled “Description”Lists the tasks of a project (GET /tasks?project={gid}) and returns them as an array. It is the entry point for batch automations: pull a project’s backlog, iterate it and act on each task.
The node returns the array directly in data, so it plugs straight into an iterator.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
credentials_id | credentials | Yes | Asana credential |
project_gid | text | Yes | Project gid |
limit | number | No | Maximum results. Defaults to 50 |
opt_fields | text | No | Comma-separated fields to return (e.g. name,completed) |
project_gid accepts dynamic variables. limit and opt_fields are sent as query parameters as-is.
Credentials
Section titled “Credentials”This module requires an Asana credential:
| Field | Description |
|---|---|
access_token | Personal Access Token from app.asana.com |
default_workspace_gid | Optional fallback workspace |
Output
Section titled “Output”data is the array of tasks (if the project is empty you get []):
[ { "gid": "1209876543210987", "resource_type": "task", "name": "Follow-up: ACME Inc." }, { "gid": "1209876543210988", "resource_type": "task", "name": "Prepare monthly report" }]Along with it, _meta:
{ "moduleVersion": "1.0.0", "success": true, "count": 2, "totalMs": 340 }Usage Example
Section titled “Usage Example”First 50 tasks of a project
Section titled “First 50 tasks of a project”{ "credentials_id": "asana_ops", "project_gid": "1201234567890123"}With status and due date, for a report
Section titled “With status and due date, for a report”{ "credentials_id": "asana_ops", "project_gid": "1201234567890123", "limit": 100, "opt_fields": "name,completed,due_on,assignee"}Project taken from previous data
Section titled “Project taken from previous data”{ "credentials_id": "asana_ops", "project_gid": "{{data.project_gid}}", "opt_fields": "name,completed"}- By default Asana returns only
gid,resource_typeandname. If you needcompleted,due_on,assigneeor anything else, you must ask for it inopt_fields. limitcaps what Asana returns in a single call — the node does not paginate automatically. For long projects, raiselimit(Asana allows up to 100 per page) or filter upstream.- The list includes completed tasks. Filter them out downstream using the
completedfield. - A
404or400onproject_gidmeans the project does not exist or the token’s account has no access. Neither is retried.
Related Nodes
Section titled “Related Nodes”- Asana: Get task — read the full detail of one result.
- Asana: Update task — update each task while iterating.
- Asana: Create task — add a new task to the same project.