Mission 2: Integrating the AI Agent with Flow for Voice Calls
🚨 Important Lab Dependency
This mission requires configuration created in the following missions:
If this mission was not completed, some steps in current mission will not function correctly.
Mission overview
Your mission is to:
- Integrate the AI Agent with the Voice Flow.
Task 1. Build WxCC voice flow with AI Agent.
-
In Control Hub navigate to Flows, click on Manage Flows dropdown list and select Create Flows. Select Start Fresh.

-
Name the new flow AutonomousAIFlow_2000_Your_Attendee_ID and click on Create Flow.

-
Make sure the Edit mode at the top is set to ON. Then, drag and drop the Virtual Agent V2 and Disconnect Contact activities from the left panel onto the Design field.
Note
Please make sure to use VirtualAgentV2 activity and NOT VirtualAgent also present on the Activity Library for Backward Compatibility.
Connect the New Phone Contact output node edge to this VirtualAgentV2 node.
Connect the Handled outputs to DisconnectContact.
Connect the Errored outputs to DisconnectContact.
Click on VirtulaAgentV2 block and select Static Contact Center AI Config.
Select Contact Center AI Config as Webex AI Agent (Autonomous).
Virtual Agent: Your_Attendee_ID_2000_AutoAI_Lab
-
Drag and drop Queue Contact and Play Music nodes. Configure them as the following:
- Queue Contact
Connect the Escalated path from the Virtual Agent V2 activity to the Queue Contact activity.
Connect the Queue Contact activity to the Play Music activity.
Connect the Failure path from the Queue Contact activity to the Disconnect Contact activity.
Click on Queue Contact node and select Static Queue.
Queue name: Your_Attendee_ID_Queue
- Play Music
Create a loop by connecting the Play Music activity back to itself - to create a music loop, following the example provided below.
Connect the Failure path from the Play Music activity to the Disconnect Contact activity.
Click on the Play Music node and select Music File: defaultmusic_on_hold_cisco_opus_no_1.wav.
-
Validate and publish the flow:
-
Enable the Validation toggle in the bottom right corner of the flow designer window to check for any potential flow errors and recommendations.
-
If there are no Flow Errors after validation is complete, click on Publish Flow next to it.
-
In the pop-up window, ensure that the Latest label is selected in the Add Version Label(s) list, then click Publish Flow.
-
-
Switch to Control Hub and navigate to Channels under Customer Experience Section
-
Locate your Inbound Channel (you can use the search): Your_Attendee_ID_Channel
-
Select the Routing Flow: AutonomousAIFlow_2000_Your_Attendee_ID
-
Select the Version Label: Latest
-
Click Save in the lower right corner of the screen
-
-
Dial the support number assigned to your Your_Attendee_ID_Channel to test the Autonomous AI Agent over a voice call.
Task 2. Test Agent Handoff Configurations
- Go to Control Hub and from Overview > Quick Links, select Desktop option.

-
Choose the team Your_Attendee_ID_Team. Click Submit. Allow browser to access Microphone by clicking Allow on every visit.
-
Dial the support number assigned to your Your_Attendee_ID_Channel channel, and during the conversation with the AI agent, ask to talk to a representative or live agent.
-
By default, the Conversation Transcripts setting is enabled in VirtualAgentV2 node.

-
With this setting enabled, the live agent can see the conversation details between the caller and the AI agent. Please check if you can view the IVR transcripts during your test calls with Agent Handoff.

Congratulations, you have officially completed the Autonomous AI Agent lab! 🎉🎉




