Test your Microsoft Teams integration

Now that you’ve successfully integrated your Chat Flow to your Microsoft Teams, you have to test to see if it’s working.

In order to do this, you have to do the following:

Request for a Live Agent via your Channel

When you check the Channel of a MS Teams-connected Chat Flow, starting a conversation will reveal a blue "Chat to person" link just below their messages.
When you check the Channel of a MS Teams-connected Chat Flow, starting a conversation will reveal a blue "Chat to person" link just below their messages.

Go to the Channel assigned to the Chat Flow you just connected.

In this case, we used a Web Widget for "Roof Buddy v2".

This means we can preview it straight from the My Chat Flow list in the Captivate Chat website.

Forgot how to preview a Web Widget?

If you forgot how to preview a Web Widget, refer to Preview your Web Widget

Users can also ask an AI Chatbot to direct them to a Live Agent by saying "talk to human" or other similar messages.
Users can also ask an AI Chatbot to direct them to a Live Agent by saying "talk to human" or other similar messages.

Start a conversation with the AI Chatbot assigned to that Channel. Ask for a Live Agent. You can do this using these methods:

  • Type the request directly. Write "I want to talk to an agent" or another derivative you can think of.

  • Click . This option is available as a separate command on the Web Widget but can be an interactive button in other Channels (Facebook, Instagram, WhatsApp).

After telling the AI Chatbot that the user wants to talk to a Live Agent, the AI Chatbot is instructed to ask them for their name and their email address. This will be sent over to MS Teams.
After telling the AI Chatbot that the user wants to talk to a Live Agent, the AI Chatbot is instructed to ask them for their name and their email address. This will be sent over to MS Teams.

Wait for the AI Chatbot to respond. It will ask you for two (2) things for record-keeping purposes:

  • Your name

  • Your email address

The AI Chatbot will give a default message asking for the user to wait.

Respond to the query via Microsoft Teams

The Captivate Chat MS Teams App will provide a notification in the connected Chat Flow's General chat that a user wants to connect to a Live Agent.
The Captivate Chat MS Teams App will provide a notification in the connected Chat Flow's General chat that a user wants to connect to a Live Agent.

Go to Microsoft Teams. Wait for the Chat Flow > General to receive an update.

Since you’re the only Live Agent in your Chat Flow for now, the update will state that the test conversation will automatically be assigned to you.

When the new user chat notification appears, clicking it will reveal a text box that agents can reply to in order to respond to the user.
When the new user chat notification appears, clicking it will reveal a text box that agents can reply to in order to respond to the user.

The notification will now contain a text box where you can type a greeting.

Greet the user.

Answering the first text box that appears with the new user chat notification will create a new chat under the Agent Name's group chat. This will be named after the user who just asked a query. Their conversation will load in this chat, and agentscan reply using this chat.
Answering the first text box that appears with the new user chat notification will create a new chat under the Agent Name's group chat. This will be named after the user who just asked a query. Their conversation will load in this chat, and agentscan reply using this chat.

After greeting the user, Captivate Chat will transition your conversation into a separate chat under your Agent Name group chat. The new conversation will have the name of the user you're currently talking to.

Check the dialogue in your Channel

Users will be notified that an agent has joined a conversation. All messages sent by the agent through the Captivate Chat MS Teams App will be sent to users in Channels via the AI Chatbots they are talking to.
Users will be notified that an agent has joined a conversation. All messages sent by the agent through the Captivate Chat MS Teams App will be sent to users in Channels via the AI Chatbots they are talking to.

Check the Channel to view the conversation between the AI Chatbot and your test user.

There should be a message that says "Agent (Your Name) joins the conversation," alongside the greeting you sent over via Microsoft Teams.

Wait for the MS Teams App to load your current conversation

Replies of users to the agent through the AI Chatbot will be sent to the Agent Group Chat > User's Chat in the Captivate Chat MS Teams App.
Replies of users to the agent through the AI Chatbot will be sent to the Agent Group Chat > User's Chat in the Captivate Chat MS Teams App.

Back in Microsoft Teams, wait for the initial conversation between your AI Chatbot and user to load. This should give you enough context about the user’s needs.

Once all the messages have loaded, continue the conversation to test your AI Chatbot.

Last updated

Was this helpful?