Asana
Asana is a software-as-a-service platform designed to improve team collaboration and work management. It’s a web and mobile application designed to help teams organize, track, and manage their work. Teams can create projects, assign work to teammates, specify deadlines, and communicate about tasks directly with the help of Asana.
- 1 Authorization
- 1.1 OAuth 2.0
- 2 Asana Connection
- 3 Actions
- 3.1 Create Task
- 3.2 Get User by ID
- 3.3 Create Project
- 3.4 Get Users
- 3.5 Get projects
Authorization
OAuth 2.0
To start using Asana, you first need to register your application with Asana to receive a client ID and client secret. Visit the Account Settings for starting the configuration process, then select the Apps tab, and "Add New Application". When you create your Asana app, you must be sure to enter Sapper's OAuth callback URL -Sapper.
For more information refer to the Asana Docs
Create a new connection of type OAuth 2.0 - Authorization Code.
For Client ID and Client Secret enter the values that you got from the Asana developer console.
For Scopes enter 'default'
Input | Description | Examples |
---|---|---|
Authorize URL | The OAuth 2.0 Authorization URL for Asana | |
Client ID | Get started at Asana Developers support | xxxx |
Client Secret | Get started at Asana Developers support | xxxx |
Scopes | A space-delimited set of one or more scopes to get the user's permission to access. Defaults to the default OAuth scope if no scopes are specified. |
|
Token URL | The OAuth 2.0 Token URL for Asana |
Asana Connection
Asana OAuth2.0 Connection
Input | Key | Description | Example |
Select application | application | Select Asana application |
|
Connection type | connection type | Select the type of connection. | REST |
REST connection type | rest connection type | Select the type of REST connection. | OAuth2.0 |
Connection name | name | Provide a name for the connection. | Asana connection |
Connection description | description | Provide a description for the connection. |
|
Host name | host | Provide a string value for the URL of user's Asana account. |
|
Grant type | grant type | Provide the grant type - Authorization code, Password, Client Credentials. |
|
Actions
Create Task
Create task | key: createTask
Input | Key | Description | Example |
---|---|---|---|
Assignee | assignee | Provide the unique identifier of the assignee. | 843750385 |
Task Name | task name | Mention the name of the task. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. | Example - Populate customers page with live data |
Get User by ID
Get user by id | key: getUserbyID
Input | Key | Description | Example |
---|---|---|---|
User ID | userID | Provide a unique identifier for the user | 375893453 |
Create Project
Create project | key: createProject
Input | Key | Description | Example |
---|---|---|---|
Project Name | projectName | Mention the name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. | Example - Populate customers page with live data |
Public | public | This field will be consider only if the project is public to its team “True”. | True or false |
Workspace | workspace | This field provide an unique identifier for the workspace. | 375893453 |
Get Users
Get users | key: getUsers
Get projects
Get projects | key: getProjects