web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Hand off to Teams work...
Copilot Studio
Unanswered

Hand off to Teams work around using Power Automate

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey everyone,

 

I was able to find a workaround for getting a chat going with a real person using Teams and I wanted to share it. I used a power automate flow to achieve a working end result.

 

In the 'Escalate' Topic I created two question nodes. The first node is a multiple-choice option asking what topic the user needs assistance with (varTopicHelp (text)) and the second question node links to the outcomes of the first and is a "User's entire response" question (varHelpDesc (text)). For the second question node, I used "Write a brief description of what you're needing help with.".

 

I took the output variables: bot.UserID, varTopicHelp and varHelpDesc and used them as text inputs in power automate. Then I used those inputs to populate the flow. I used 3 actions in the below example: 'Get user profile', 'Create a chat', and 'Post message in chat or channel'. See below how I put it together:

 

Screenshot_20230202_012715.png

Note: a service account must be used for the connection if you intend on adding your own email in as a recipient for the chat creation action.

 

This works for creating a chat to send to specific individuals or teams about the query within the bot. It obviously takes you out of the bot to continue the conversation, but it allows for the integration of Teams conversations with real people within your org.

 

If you have multiple topics handled by separate individuals or teams, using the condition action can create specific chats to those individuals. Example: If John Smith handles topic A and Mark Stevens handles topic B your flow could use the same actions as above but configured like this:

Screenshot_20230202_015441.png

Note: Create chat doesn't allow for distribution groups to be added so your recipients will have to be added individually if more than one person can address the topic.

 

Hope this helps and is useful to someone!

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard