cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JakeC20
New Member

Deleting Teams Chats w\ Chat Bot

Hello, I recently implemented a chat bot that allows end users to contact the help desk via group chat. 

The only problem is that the group chats makes the chat list pretty cluttered for the help desk agents. 
Would it be possible to add a command to the bot so that it would close or hide a group chat upon typing a keyword (!delete or !hide)?


Any help/tips would be appreciated. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @JakeC20 ,

 

By default, it's not possible using a Power Automate connector or a Power Virtual Agents bot without coding something.

You can vote for this idea: Teams Actions - Chat Automation - Power Platform Community (microsoft.com)

 

Otherwise, you can make a pro-code flow (Power Automate) that receives the chat name via Power Virtual Agents bot, then search the chat name in your workflow, then, call an action to execute a Microsoft Graph command: chat: hideForUser - Microsoft Graph beta | Microsoft Docs

 

But it's not simple.

 

Let me know if you need anything else.

Ideas: https://aka.ms/pva/community/ideas 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

1 REPLY 1
renatoromao
Super User
Super User

Hi @JakeC20 ,

 

By default, it's not possible using a Power Automate connector or a Power Virtual Agents bot without coding something.

You can vote for this idea: Teams Actions - Chat Automation - Power Platform Community (microsoft.com)

 

Otherwise, you can make a pro-code flow (Power Automate) that receives the chat name via Power Virtual Agents bot, then search the chat name in your workflow, then, call an action to execute a Microsoft Graph command: chat: hideForUser - Microsoft Graph beta | Microsoft Docs

 

But it's not simple.

 

Let me know if you need anything else.

Ideas: https://aka.ms/pva/community/ideas 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Users online (2,139)