The Get teams in workspace action retrieves the details of all teams available in an Asana workspace using the GID of the workspace.
Overview
The action returns the details of each team as a JSON object in a list variable. The JSON object includes keys such as gid name, description, direct URL, and the organization of the teams. Use the Connect action to connect to Asana and create an automation session before you configure the Get teams in workspace action.
Settings
The following settings are available in the Get teams in workspace action:
- Session name
- Specifies the session name that the Connect action
creates. The session name serves as the authentication context for the
operation. Choose one of the two options as per the
Connect 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 session variable.
- Workspace GID
- Specifies the GID of the workspace. The action retrieves the details of all teams in the workspace that the authorized user can access.
- Assign output to a variable
- Specifies the list variable to store the response data after the action retrieves the details of the team from the specified workspace.