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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Posting customised mes...
Copilot Studio
Unanswered

Posting customised message in Teams

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to create a feature in my chatbot where a question is asked and the bot recognises that it is a question, copies the question and posts the question in a Teams channel. I can make the bot post a standard pre-written message but I am wondering if it is possible for the bot to replicate the question it is asked and post it in Teams. If anyone knows if/how then please let me know!

 

I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @Anonymous 

     

    Yes, that should be possible. Below is an example.

     

    First create the Power Automate flow.

    https://docs.microsoft.com/en-us/power-virtual-agents/advanced-flow

     

    1. Add a Power Virtual Agents trigger action. Add a text input, call that Question.

     

    2. Add a Post message in a chat or channel action. Use the Question field in the Message field of the action.

     

    3. Add a Return value(s) to Power Virtual Agents action. Add a Result text output. Set a message which you can use to confirm to the user the message has been posted to the channel.

     

    postmessageonchannel.png

     

    Power Virtual Agent setup.

     

    1. Create a new topic in a bot. Call it CloneQuestion. Add a trigger phrase like Clone a Question. Save your topic and go to the authoring canvas.

     

    2. Add a Question like 'What is your question?'. Use the user's entire response. Save that response in a variable like VarQuestion.

     

    3. Add a Call Action. Connect it to the flow we created earlier. Make sure you map the VarQuestion to the Question input variable from the flow.

     

    4. Add a Show message. Use the output result variable to show the confirm message to the user.

     

    CloneQuestionTopic.png

     

     

     

    The result will look something like this.

     

    testresult_clonedquestion.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard