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 / Power Automate / Copilot Providing Inco...
Power Automate
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

 

Categories:
I have the same question (0)
  • Gdarmon Outlook Profile Picture
    372 on at

    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

Forum hierarchy changes are complete!

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard