Asana

Asana is a web and mobile application designed to help teams organize, track, and manage their work

On This Page

Overview

The Asana connector on Tray allows you to interact with the data in your Asana account in any way you choose. The majority of the API is currently supported on Tray, enabling you to do things like:

Copy a project for each new Salesforce Opportunity that's created

Add project status updates

Add comments

Attach files to tasks

Authentication

When using the Asana connector, the first thing you will have to do is click on 'New Authentication' in the step editor:

On the following page proceed to allow Tray access to your account.

Basic Operations List

Add custom field to project

Add members to project

Add project status update

Add tag to task

Add task to project

Copy all project custom fields

Copy all tasks

Copy task

Create project

Create project section

Create subtask

Create task

Create task comment

Delete project

Delete section

Delete task

Get project

Get section

Get task

Get team

Get user

Get user by email

Get workspace

List organization teams

List project sections

List project tasks

List tasks

List task stories

List task subtasks

List team members

List workspace projects

List workspaces

List workspace users

Project exists?

Remove members from a project

Remove tag from task

Remove task from project

Update project

Update section

Update task

Upload attachment to task

Note on Operations usage

When using the List Tasks operation you should only choose one of Assignee ID or Project ID:

If you choose an option for both you will receive an error message such as:

Example

This example demonstrates how to use a workflow to create a new task and send a slack message with the task name:

You will need to create two steps:

Create task (using the asana connector)

Send message (using the slack connector)

With the Create task operation you will need to specify the Workflow ID to which the new task will belong and its Name, all the other properties are not mandatory.

With the Send message operation you will need to specify the Channel to which the message will be sent and of course the message body. In this example, the message body will be {$.steps.asana-1.data.name} has been created so that you can combine both text and the JSON path to the name of the task created in the previous step.

You can run this workflow and see the logs in the DEBUG section. The output of the first step should look like this: