GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Navigating the Kore.ai XO Platform
Building a Virtual Assistant
Help & Learning Resources
Release Notes
Current Version
Recent Updates
Previous Versions
Deprecations
Request a Feature
CONCEPTS
Design
Storyboard
Overview
FAQs
Conversation Designer
Overview
Dialog Tasks
Mock Scenes
Dialog Tasks
Overview
Navigate Dialog Tasks
Build Dialog Tasks
Node Types
Overview
Intent Node
Dialog Node
Dynamic Intent Node
GenAI Node
GenAI Prompt
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Process Node
Agent Transfer
Node Connections
Node Connections Setup
Sub-Intent Scoping
Entity Types
Entity Rules
User Prompts or Messages
Voice Call Properties
Knowledge AI
Introduction
Knowledge Graph
Introduction
Terminology
Build a Knowledge Graph
Manage FAQs
Knowledge Extraction
Import or Export Knowledge Graph
Prepare Data for Import
Importing Knowledge Graph
Exporting Knowledge Graph
Auto-Generate Knowledge Graph
Knowledge Graph Analysis
Answer from Documents
Alert Tasks
Small Talk
Digital Skills
Overview
Digital Forms
Digital Views
Introduction
Widgets
Panels
Session and Context Variables
Context Object
Intent Discovery
Train
NLP Optimization
ML Engine
Overview
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
Training Validations
NLP Configurations
NLP Guidelines
LLM and Generative AI
Introduction
LLM Integration
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
Kore.ai XO GPT Model
Intelligence
Introduction
Event Handlers
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Conversation Driven Dialog Builder
Sentinment Management
Tone Analysis
Default Standard Responses
Ignore Words & Field Memory
Test & Debug
Overview
Talk to Bot
Utterance Testing
Batch Testing
Conversation Testing
Conversation Testing Overview
Create a Test Suite
Test Editor
Test Case Assertion
Test Case Execution Summary
Glossary
Health and Monitoring
NLP Health
Flow Health
Integrations
Actions
Actions Overview
Asana
Configure
Templates
Azure OpenAI
Configure
Templates
BambooHR
Configure
Templates
Bitly
Configure
Templates
Confluence
Configure
Templates
DHL
Configure
Templates
Freshdesk
Configure
Templates
Freshservice
Configure
Templates
Google Maps
Configure
Templates
Here
Configure
Templates
HubSpot
Configure
Templates
JIRA
Configure
Templates
Microsoft Graph
Configure
Templates
Open AI
Configure
Templates
Salesforce
Configure
Templates
ServiceNow
Configure
Templates
Stripe
Configure
Templates
Shopify
Configure
Templates
Twilio
Configure
Templates
Zendesk
Configure
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
NiceInContact(User Hub)
Salesforce
ServiceNow
Configure Tokyo and Lower versions
Configure Utah and Higher versions
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
Deploy
Channels
Publishing
Versioning
Analyze
Introduction
Dashboard Filters
Overview Dashboard
Conversations Dashboard
Users Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Custom Meta Tags
Create Custom Dashboard
Create Custom Dashboard Filters
NLP Insights
Task Execution Logs
Conversations History
Conversation Flows
Conversation Insights
Feedback Analytics
Usage Metrics
Containment Metrics
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Team Collaboration
Plan & Usage
Overview
Usage Plans
Templates
Support Plans
Invoices
Authorization
Conversation Sessions
Multilingual Virtual Assistants
Get Started
Supported Components & Features
Manage Languages
Manage Translation Services
Multiingual Virtual Assistant Behavior
Feedback Survey
Masking PII Details
Variables
Collections
IVR Settings
General Settings
Assistant Management
Manage Namespace
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
HOW TOs
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking Assistant
Design Conversation Skills
Create a Sample Banking Assistant
Create a Transfer Funds Task
Create a Update Balance Task
Create a Knowledge Graph
Set Up a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Add Data to Data Tables
Update Data in Data Tables
Add Data from Digital Forms
Train the Assistant
Composite Entities
Use Traits
Use Patterns for Intents & Entities
Manage Context Switching
Deploy the Assistant
Configure an Agent Transfer
Use Assistant Functions
Use Content Variables
Use Global Variables
Intent Scoping using Group Node
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters
Migrate External Bots
Google Dialogflow Bot
APIs & SDKs
API Reference
API Introduction
Rate Limits
API List
koreUtil Libraries
SDK Reference
SDK Introduction
SDK Security
SDK Registration
Web Socket Connect and RTM
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
SDK Functions
SDK Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer
Widget SDK Tutorial
Web SDK Tutorial
ADMINISTRATION
Introduction to Admin Console
Administration Dashboard
User Management
Add Users
Manage Groups
Manage Roles
Data Tables and Views
Assistant Management
Enrollment
Invite Users
Send Bulk Invites
Import User Data
Synchronize Users from AD
Security & Control
Using Single-Sign On (SSO)
Two-Factor Authentication (2FA)
Security Settings
Cloud Connector
Analytics
Billing
  1. Home
  2. Integrations
  3. Using the Asana Action Templates

Using the Asana Action Templates

You can use the Prebuilt Action Templates from your Asana integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using Asana action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Asana option to view the action templates.

    Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

Asana Actions

The following Asana action is supported in the latest version of the XO Platform:

Supported Actions Description Method
Get a Task by ID Retrieves a task from the Asana integration using the task ID. GET
Find Tasks Created By a User Retrieves tasks created by a user from the Asana integration. GET
Find Tasks Assigned to User Retrieves tasks assigned to a user from the Asana integration. GET
List All Projects Shows all projects in the Asana integration. POST
List All Users Shows all users in the Asana integration. POST

Get Task by ID

Steps to fetch a task with ID from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The Get Task by Id dialog task is added with the following components:

    • getTaskById: A user intent to fetch a task with ID from the Asana space.
    • taskId – An entity node for entering the task ID.
    • getTaskByIdService – A bot action service to fetch the task with the ID from the Asana integration. Click the Plus icon to expand to view the getTaskByIdService bot action component properties. In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:
      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response

      {
              "data": {
                  "gid": "1204307990977944",
                  "assignee": {
                      "gid": "1204191722074650",
                      "name": "Alan Walker"
                  },
                  "created_at": "2023-03-31T11:11:44.658Z",
                  "created_by": {
                      "gid": "1204191722074650",
                      "name": "Alan Walker"
                  },
                  "name": "NEW TASK",
                  "notes": "The description",
                  "permalink_url": "https://app.asana.com/0/1xx60369/1XXX944",
                  "projects": [
                      {
                          "gid": "1204191735460369",
                          "name": "Int1"
                      }
                  ],
                  "workspace": {
                      "gid": "21968248715756",
                      "name": "xyz.com"
                  }
              }
          } 
      
    • getTaskByIdMessage – A message node with script to display responses to find tasks with ID.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to find a task with ID on Asana.
  6. Enter the task ID when prompted by the VA as shown below:

  7. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.
  8. You can view the task on Asana.

Find Tasks Created by a User

Steps to fetch tasks created by a user from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The Find Tasks Created by User dialog task is added with the following components:

    • findTasksCreatedByUser: A user intent to retrieve tasks created by a user from the Asana space.
    • workSpaceId – An entity node for entering the workspace ID of your Asana account.
    • userId – An entity node for entering the user ID of your Asana account.
    • findCreatedTasksService – A bot action service to find tasks created by a user from the Asana integration. Click the Plus icon to expand to view the findCreatedTasksService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1204325494675011",
                      "assignee": {
                          "gid": "12041917XXX0",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T20:32:00.270Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "Permalink_url": "https://app.asana.com/0/12XX369/1XXX11",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1204326178006294",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T22:28:25.171Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "permalink_url": "https://app.asana.com/0/1XXX9/12XXX294",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          } 
      }
      
      
  3. createdTaskMessage – A message node with script to display responses to find tasks by a user.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to find tasks created with user ID on Asana as shown below:
  7. Enter the user ID when prompted by the VA as shown below:
  8. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.
  9. You can view the task on Asana.

Find Tasks Assigned to a User

Steps to fetch tasks created by a user from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The FindTasks Assigned to a User dialog task is added with the following components:

    • findTasksAssignedToUser: A user intent to retrieve tasks assigned to a user from the Asana space.
    • workSpaceId – An entity node for entering the workspace ID of your Asana account.
    • userId – An entity node for entering the user ID of your Asana account.
    • findAssignedTasksService – A bot action service to fetch the assigned tasks to a user from the Asana integration. Click the Plus icon to expand to view the findAssignedTasksService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1204325494675011",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T20:32:00.270Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "Permalink_url": "https://app.asana.com/0/1X69/1XX1",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1204326178006294",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T22:28:25.171Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "permalink_url": "https://app.asana.com/0/1369/1294",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          } 
      
      
  3. assignedTaskMessage – A message node with script to display responses to find tasks assigned to the user.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to find a task with ID on Asana as shown below:


  7. Enter the user ID when prompted by the VA as shown below:
  8. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.

List All Projects

Steps to retrieve all projects from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The List All Projects dialog task is added with the following components:

    • listAllProjects: A user intent to retrieve tasks assigned to a user from the Asana space.
    • listAllProjectsService – A bot action service to retrieve all projects from the Asana integration. Click the Plus icon to expand to view the listAllProjectsService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1190334540433515",
                      "created_at": "2020-08-24T13:09:10.888Z",
                      "due_on": null,
                      "name": "integration",
                      "owner": {
                          "gid": "1190337001098545",
                          "name": "Alan"
                      },
                      "permalink_url": "https://app.asana.com/0/1xx5/1xx5",
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1199516117757228",
                      "created_at": "2021-01-07T14:21:04.105Z",
                      "due_on": null,
                      "name": "test",
                      "owner": {
                          "gid": "1190339858363088",
                          "name": "John Doe"
                      },
                      "permalink_url": "https://app.asana.com/0/1xx8/1xx8",
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          }
      
      
  3. listProjectMessage – A message node with script to display responses to find all projects..
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view all projects on Asana as shown below:

     
  7. You will notice that all projects are found on Asana. Expand and click the View Project button.

List All Users

Steps to retrieve all users from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The List All Users dialog task is added with the following components:

    • listAllUsers: A user intent to retrieve tasks assigned to a user from the Asana space.
    • listAllUsersService – A bot action service to find all users from the Asana integration. Click the Plus icon to expand to view the listAllUsersService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "11xxxx674034",
                      "email": "alan.walker@xyz.com",
                      "name": "Alan Walker",
                      "workspaces": [
                          {
                              "gid": "219xxx756",
                              "name": "xyz.com"
                          }
                      ]
                  }
              ]
          }
      
  3. listAllUsersMessage – A message node with script to display responses to find all projects.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view all users on Asana as shown below:


  7. You will notice that all users are found on Asana. Expand and click the View User button.

Using the Asana Action Templates

You can use the Prebuilt Action Templates from your Asana integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using Asana action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Asana option to view the action templates.

    Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

Asana Actions

The following Asana action is supported in the latest version of the XO Platform:

Supported Actions Description Method
Get a Task by ID Retrieves a task from the Asana integration using the task ID. GET
Find Tasks Created By a User Retrieves tasks created by a user from the Asana integration. GET
Find Tasks Assigned to User Retrieves tasks assigned to a user from the Asana integration. GET
List All Projects Shows all projects in the Asana integration. POST
List All Users Shows all users in the Asana integration. POST

Get Task by ID

Steps to fetch a task with ID from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The Get Task by Id dialog task is added with the following components:

    • getTaskById: A user intent to fetch a task with ID from the Asana space.
    • taskId – An entity node for entering the task ID.
    • getTaskByIdService – A bot action service to fetch the task with the ID from the Asana integration. Click the Plus icon to expand to view the getTaskByIdService bot action component properties. In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:
      To add one or more responses, scroll down and click the +Add Response button:

      Sample Response

      {
              "data": {
                  "gid": "1204307990977944",
                  "assignee": {
                      "gid": "1204191722074650",
                      "name": "Alan Walker"
                  },
                  "created_at": "2023-03-31T11:11:44.658Z",
                  "created_by": {
                      "gid": "1204191722074650",
                      "name": "Alan Walker"
                  },
                  "name": "NEW TASK",
                  "notes": "The description",
                  "permalink_url": "https://app.asana.com/0/1xx60369/1XXX944",
                  "projects": [
                      {
                          "gid": "1204191735460369",
                          "name": "Int1"
                      }
                  ],
                  "workspace": {
                      "gid": "21968248715756",
                      "name": "xyz.com"
                  }
              }
          } 
      
    • getTaskByIdMessage – A message node with script to display responses to find tasks with ID.
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to find a task with ID on Asana.
  6. Enter the task ID when prompted by the VA as shown below:

  7. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.
  8. You can view the task on Asana.

Find Tasks Created by a User

Steps to fetch tasks created by a user from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The Find Tasks Created by User dialog task is added with the following components:

    • findTasksCreatedByUser: A user intent to retrieve tasks created by a user from the Asana space.
    • workSpaceId – An entity node for entering the workspace ID of your Asana account.
    • userId – An entity node for entering the user ID of your Asana account.
    • findCreatedTasksService – A bot action service to find tasks created by a user from the Asana integration. Click the Plus icon to expand to view the findCreatedTasksService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1204325494675011",
                      "assignee": {
                          "gid": "12041917XXX0",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T20:32:00.270Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "Permalink_url": "https://app.asana.com/0/12XX369/1XXX11",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1204326178006294",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T22:28:25.171Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "permalink_url": "https://app.asana.com/0/1XXX9/12XXX294",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          } 
      }
      
      
  3. createdTaskMessage – A message node with script to display responses to find tasks by a user.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to find tasks created with user ID on Asana as shown below:
  7. Enter the user ID when prompted by the VA as shown below:
  8. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.
  9. You can view the task on Asana.

Find Tasks Assigned to a User

Steps to fetch tasks created by a user from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The FindTasks Assigned to a User dialog task is added with the following components:

    • findTasksAssignedToUser: A user intent to retrieve tasks assigned to a user from the Asana space.
    • workSpaceId – An entity node for entering the workspace ID of your Asana account.
    • userId – An entity node for entering the user ID of your Asana account.
    • findAssignedTasksService – A bot action service to fetch the assigned tasks to a user from the Asana integration. Click the Plus icon to expand to view the findAssignedTasksService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1204325494675011",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T20:32:00.270Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "Permalink_url": "https://app.asana.com/0/1X69/1XX1",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1204326178006294",
                      "assignee": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "created_at": "2023-04-03T22:28:25.171Z",
                      "created_by": {
                          "gid": "1204191722074650",
                          "name": "Alan Walker"
                      },
                      "name": "30Apr NEW TASK",
                      "notes": "The description",
                      "permalink_url": "https://app.asana.com/0/1369/1294",
                      "projects": [
                          {
                              "gid": "1204191735460369",
                              "name": "Int1"
                          }
                      ],
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          } 
      
      
  3. assignedTaskMessage – A message node with script to display responses to find tasks assigned to the user.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to find a task with ID on Asana as shown below:


  7. Enter the user ID when prompted by the VA as shown below:
  8. You will notice that a task is found with the ID on Asana. Expand and click the View Task button.

List All Projects

Steps to retrieve all projects from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The List All Projects dialog task is added with the following components:

    • listAllProjects: A user intent to retrieve tasks assigned to a user from the Asana space.
    • listAllProjectsService – A bot action service to retrieve all projects from the Asana integration. Click the Plus icon to expand to view the listAllProjectsService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "1190334540433515",
                      "created_at": "2020-08-24T13:09:10.888Z",
                      "due_on": null,
                      "name": "integration",
                      "owner": {
                          "gid": "1190337001098545",
                          "name": "Alan"
                      },
                      "permalink_url": "https://app.asana.com/0/1xx5/1xx5",
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  },
                  {
                      "gid": "1199516117757228",
                      "created_at": "2021-01-07T14:21:04.105Z",
                      "due_on": null,
                      "name": "test",
                      "owner": {
                          "gid": "1190339858363088",
                          "name": "John Doe"
                      },
                      "permalink_url": "https://app.asana.com/0/1xx8/1xx8",
                      "workspace": {
                          "gid": "21968248715756",
                          "name": "xyz.com"
                      }
                  }
              ]
          }
      
      
  3. listProjectMessage – A message node with script to display responses to find all projects..
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view all projects on Asana as shown below:

     
  7. You will notice that all projects are found on Asana. Expand and click the View Project button.

List All Users

Steps to retrieve all users from the Asana integration:

  1. Refer to the Installing the Asana Templates section to install this template.
  2. The List All Users dialog task is added with the following components:

    • listAllUsers: A user intent to retrieve tasks assigned to a user from the Asana space.
    • listAllUsersService – A bot action service to find all users from the Asana integration. Click the Plus icon to expand to view the listAllUsersService bot action component properties. In the Component Properties window, to add one or more responses, scroll down and click the +Add Response button:

      Sample Response

       {
              "data": [
                  {
                      "gid": "11xxxx674034",
                      "email": "alan.walker@xyz.com",
                      "name": "Alan Walker",
                      "workspaces": [
                          {
                              "gid": "219xxx756",
                              "name": "xyz.com"
                          }
                      ]
                  }
              ]
          }
      
  3. listAllUsersMessage – A message node with script to display responses to find all projects.
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view all users on Asana as shown below:


  7. You will notice that all users are found on Asana. Expand and click the View User button.
Menu