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.
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:
Gill