Get task
- Updated: 2026/05/11
The Get task action retrieves details of a task in any Asana workspace using the task GID. The action retrieves the default task fields or specific fields and stores the response data in variables for use in downstream actions.
Overview
The Get task action uses the session name defined in the
Connect action for authentication context to retrieve the
task details. You can either retrieve the default fields of the task or specify the
required fields to retrieve their details. The default fields are the
gid, name, notes,
due_on, parent, assignee,
projects, and completed. You can specify the
parameters directly in the appropriate text box or create and select string
variables for each parameter as the input fields support string variables.
Settings
The following settings are available in the Get task action:
- Session
- Specifies the Asana session that the
Connect action creates. Choose one of the
following options as per the Connect action settings:
- Session name: Select the string variable that stores the session name or enter the session name manually in the text box.
- Variable: Select the Asana session variable that holds the session name.
- Task GID
- Specifies the GID of the Asana task to retrieve.
- Opt Fields (optional)
- Specifies the optional field names that the action retrieves in comma-separated list.
For example,
name, assignee_status, permalink_url, notes, completed, projects, parent. You can define each field as a string variable and use them to fetch the respective details. If the field is empty, the action returns the default field set. - Assign response to variable
- Specifies the output variable to store the response data that contains the task details. By
default, the response data contains the fields
taskGid,name,notes,due_on,parent,assignee,projects,completed, andworkspace. For more information about all the keys available in the response data, see Asana tasks response data. Choose one of the following options to store the response data:- Multiple variables: Create and specify
individual variables to store specific response data.
Use the Add variable mapping option to specify the field as the key and corresponding variable type to store the specific response data.
- Dictionary: Create and specify a single dictionary variable to store the entire response data.
- Multiple variables: Create and specify
individual variables to store specific response data.