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

Community site session details

Session Id :
Copilot Studio - Copilot Studio Skills Development
Unanswered

Message formatting issue when Copilot sends to Microsoft Teams

(0) ShareShare
ReportReport
Posted on by 32

Hi
I’m now trying to create an Agent that helps with data analysis. The Agent should run when a keyword is detected in Microsoft Teams, and then send the results to a Microsoft Teams group chat.

In the configuration of the tool "Post message in a chat or channel", I set Post as = "Flow Bot".

The problem I’m facing is:

  1. If I trigger the Agent via the Copilot Studio chatbox, the message sent to Microsoft Teams is posted by Flow Bot, and the message is nicely formatted.

  2. If I trigger the Agent through the action "When keywords are mentioned", the message is posted under my own user account, and the formatting is not applied like in case 1.

What I want is for the Agent to run when a keyword is mentioned, and reply as Flow Bot with well-formatted messages. Is there a way to achieve this? If not, what alternatives could I use to get as close as possible to this outcome?

I have the same question (0)
  • Panitan Profile Picture
    32 on at
    Message formatting issue when Copilot sends to Microsoft Teams
    Hi @Michael E. Gernaey

    My flow is quite simple: I just let the AI be triggered by a keyword, then send the message to the AI. In the AI prompt, I’ve instructed it to use the tool "Post message in a chat or channel" whenever it’s invoked.



    Here’s what I configured in the tools.
  • Michael E. Gernaey Profile Picture
    48,869 Super User 2025 Season 2 on at
    Message formatting issue when Copilot sends to Microsoft Teams
     
    I would have to see the flow to understand why its not giving good formatting, but you can instead use an adaptive card

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 141 Super User 2025 Season 2

#3
Romain The Low-Code Bearded Bear Profile Picture

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

Last 30 days Overall leaderboard