Supported Actions
| Action | Description | Method |
|---|---|---|
| Get a Task by ID | Retrieves a task by task ID | GET |
| Find Tasks Created By a User | Retrieves tasks created by a user | GET |
| Find Tasks Assigned to User | Retrieves tasks assigned to a user | GET |
| List All Projects | Returns all projects | POST |
| List All Users | Returns all users | POST |
Get Task by ID
- Install the template from Asana Templates.
-
The Get Task by Id dialog task is added with:
- getTaskById – User intent to fetch a task by ID.
- taskId – Entity node for the task ID.
-
getTaskByIdService – Bot action service to fetch the task. Click Edit Request to modify parameters.
Click +Add Response to add sample responses:
Sample Response:
- getTaskByIdMessage – Message node to display the task result.
- Click Train to complete training.
- Click Talk to Bot to test.
-
Enter the task ID when prompted.
-
The task is returned. Click View Task to open it in Asana.
Find Tasks Created by a User
- Install the template from Asana Templates.
-
The Find Tasks Created by User dialog task is added with:
- findTasksCreatedByUser – User intent to retrieve tasks created by a user.
- workSpaceId – Entity node for the workspace ID.
- userId – Entity node for the user ID.
-
findCreatedTasksService – Bot action service to find created tasks. Click +Add Response:
Sample Response:
- createdTaskMessage – Message node to display results.
- Click Train, then Talk to Bot to test.
-
Follow prompts to enter workspace ID and user ID.
-
Click View Task to open in Asana.
Find Tasks Assigned to a User
- Install the template from Asana Templates.
-
The FindTasks Assigned to a User dialog task is added with:
- findTasksAssignedToUser – User intent to retrieve tasks assigned to a user.
- workSpaceId – Entity node for workspace ID.
- userId – Entity node for user ID.
-
findAssignedTasksService – Bot action service to fetch assigned tasks. Click +Add Response:
Sample Response:
- assignedTaskMessage – Message node to display results.
- Click Train, then Talk to Bot to test.
-
Follow prompts to find tasks.
- Click View Task to open in Asana.
List All Projects
- Install the template from Asana Templates.
-
The List All Projects dialog task is added with:
- listAllProjects – User intent to retrieve all projects.
-
listAllProjectsService – Bot action service to retrieve all projects. Click +Add Response:
Sample Response:
- listProjectMessage – Message node to display results.
- Click Train, then Talk to Bot to test.
-
Follow prompts to list projects.
- Click View Project to open in Asana.
List All Users
- Install the template from Asana Templates.
-
The List All Users dialog task is added with:
- listAllUsers – User intent to retrieve all users.
-
listAllUsersService – Bot action service to find all users. Click +Add Response:
Sample Response:
- listAllUsersMessage – Message node to display results.
- Click Train, then Talk to Bot to test.
-
Follow prompts to list users.
- Click View User to open in Asana.