You can create virtual task assistants that perform repetitive tasks for your
human agents. After you create a task assistant, an agent can transfer a call or
a chat to the task assistant to complete the task. The agent waits on hold until
the task is completed, then the call or chat is transferred back to the agent.
While the agent is on hold, they can mute or end the call or chat. Unlike
virtual agents, virtual task assistants cannot be assigned to a queue. A virtual
task assistant can only be assigned to a task. Virtual task assistants aren't
available for the SMS channel.

For compliance with the Health Insurance Portability and Accountability Act of
1996 (HIPAA) and to protect the end user's personally identifiable information,
virtual task assistants don't record or create transcripts of calls or chats.

## Before you begin

Before you can create a virtual task assistant, you must create and integrate a
Dialogflow agent. This is the same requirement as for creating a
virtual
agent. For more information, see [Create and integrate Dialogflow
agents](https://docs.cloud.google.com/contact-center/ccai-platform/docs/create-a-dialogflow-agent).

## Create a virtual task assistant

To create a virtual task assistant, follow these steps:

1. In the CCAI Platform portal, click **Settings \> Virtual Agent** . If
   you don't see the **Settings** menu, click **Menu**.

2. Click **Add virtual agent** \> **Task Assistant** . The **Add a
   Virtual Task Assistant** pane appears.

3. In the **Virtual Agent** field, enter a name for your virtual agent. This is
   an internal name that's used for administration and reporting. Google
   recommends giving each of your virtual agents a unique internal name. This
   name is visible to end-users only if you don't set up a [virtual agent
   alias](https://docs.cloud.google.com/contact-center/ccai-platform/docs/use-va-aliases).

4. To set up a virtual agent alias, do the following.

   1. Select the **Virtual Agent Alias** checkbox.

   2. In the **Virtual Agent Alias** field, enter a name. When the checkbox is
      selected, the virtual agent alias is the name that end-users see when
      they interact with this virtual agent. Otherwise, end-users see the
      internal virtual agent name from step 3.

      > [!NOTE]
      > **Note:** If you have multiple virtual agents, Google recommends giving them the same virtual agent alias. That way, when a session with an end-user is transferred to multiple virtual agents, the virtual agents appear to the end-user to have the same name. This creates the impression that a single virtual agent is handling a session. For more information, see [Virtual agent aliases](https://docs.cloud.google.com/contact-center/ccai-platform/docs/use-va-aliases).

5. To upload a custom avatar for your task assistant, do the following:

   1. Click ![The edit avatar button](https://docs.cloud.google.com/static/contact-center/ccai-platform/docs/images/icon-avatar.png) **Update**.

   2. Navigate to an image for your avatar, and then click **Open** . The
      **Select area to use** dialog appears.

   3. Crop your image, and then click **CROP**.

6. In the **Choose Virtual Agent platform** list, select a platform.

7. In the **Choose workflow** list, select a workflow. A workflow represents
   an authenticated Dialogflow agent.

8. For **Channel** , select **Chat** or **Voice** . The **Menu** checkboxes that
   are available for your selected channel are automatically selected.

9. For **Menu**, change your selections if needed.

10. For **Language**, select one or more languages for your task assistant.

11. To add data parameters, do the following:

    1. For **Data parameters** , click **Add Parameter** . The **Add Parameter**
       dialog appears.

    2. Fill in the fields according to the instructions in [Pass data
       parameters to Virtual Agents and Virtual Task
       Assistants](https://docs.cloud.google.com/contact-center/ccai-platform/docs/pass-data-parameters#data-parameters-to-vas-and-virtual-task-assistants), and
       then click **Save**.

    3. To add more data parameters, repeat these steps.

12. Click **Save**.

13. To turn on your virtual task assistant, do the following:

    1. Click **Back to Virtual Agents**.

    2. In the **Virtual Agents** pane, find your new virtual agent, and then
       click the toggle to the on position.