Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Copilot Providing Incorrect Information about Reading Body of Teams Chat

(0) ShareShare
ReportReport
Posted on by

Hello, I asked Copilot how to read the body of a Teams chat, and it provided the following incorrect information. Different iterations of the question consistently provided this false information. I even tried asking it specifically how to filter the chat as an array, and it again provided this false information. The "Get Messages" action actually only works with Teams Channels and there is no option to provide a chat as a parameter to that action. I'm attempting to create an automation that can scan chat history for specific phrases. Filtering the body of the chat makes sense, but I can't seem to find a way to access the body of the Teams chat.

dontfretitsbret_0-1700610679877.png

 

  • Gdarmon Outlook Profile Picture
    Gdarmon Outlook 372 on at
    Re: Copilot Providing Incorrect Information about Reading Body of Teams Chat

    To access the body of a Teams chat, you can use the “List chat messages” action in Power Automate. This action retrieves the messages from a specific chat in Teams and provides access to the message body.

    Here are the steps to access the body of a Teams chat using the “List chat messages” action:

    1. Create a new flow in Power Automate.
    2. Add the “List chat messages” action to your flow and specify the chat you want to retrieve messages from.
    3. In the “List chat messages” action, use the “Filter Query” parameter to filter the messages based on specific phrases.
    4. Add the “Apply to each” action to your flow and specify the messages you want to apply the filter to.
    5. In the “Apply to each” action, use the “Compose” action to extract the message body from each message.

    Gill

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics