The Connect action in the Asana package establishes a secure connection to the Asana platform and creates an automation session.

This action supports API token-based authentication (called personal access token in Asana) and OAuth-based authentication. You can also create a global session variable to pass the authentication context from a parent automation to a child automation. The action creates a reusable Asana session that serves as the authentication context for the downstream actions.

Settings

The following fields are available in the Connect action:

Authentication type
Specifies the authentication method to authenticate the session to Asana. You can choose either the API token-based authentication or an OAuth authentication.
API token
Specifies the Asana personal access token (PAT) for authentication. This option appears when you select API Token in the Authentication type drop-down. The following options are available to choose the token:
  • Credential: Select the token saved in the Control Room Credential Vault.
  • Variable: Select the token saved as a credential variable.
  • Insecure string: Select the string variable that holds the token or enter the token directly in the text field. Entering the token as an insecure string exposes the credential in plain text.
OAuth connection
Specifies the preconfigured OAuth connection for authentication. This option appears when you select Control Room OAuth in the Authentication type drop-down. For more information about setting up an OAuth connection, see Create OAuth connection.
Create session
Specifies the session name that the Connect action creates after successful authentication to the Asana platform. The session name is used as authentication context for the downstream actions. The action sets the session name as Default when you add it. You can either retain Default or specify a string, a global session variable, or a local session variable accordingly.