Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 9lnbqFEg5Ngp2+RzMH1gbC
Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Adding PVA CoPilot in MS teams inside Specific channel

Like (0) ShareShare
ReportReport
Posted on 22 Apr 2024 16:17:32 by 8

Hi,
I have created a PVA CoPilot bot to save the user input in a sharepoint site. I have published the bot to MS teams as an app. But how can I add this bot to specific teams channel?

  • AnnaJMoy Profile Picture
    8 on 10 May 2024 at 08:06:46
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 
    Following up on the above query.

  • AnnaJMoy Profile Picture
    8 on 08 May 2024 at 12:28:17
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    Thanks @nesrivastava for the response. Added the power app as a tab in the teams channel.
    Before clicking the button : (Added the title and description)

    AnnaJMoy_0-1715170973861.png

    After Clicking the "Skip and Submit" Button: The data that was entered has disappeared.

    AnnaJMoy_1-1715171066108.png


    Adaptive Card Json which integarted in the PVA:

    {
    "type": "AdaptiveCard",
    "version": "1.2",
    "body": [
     
             {
                "type": "TextBlock",
                "text": "Please add the title and description to start submitting the idea. If you wish to add more details, click the '+' option.",
                "wrap": true
            },
            {
                "type": "Input.Text",
                "label": "Idea Title",
                "id": "IdeaTitle",
                "isRequired": true,
                "errorMessage": "Idea Title is required",
                "placeholder": "Enter your idea title"
            },
            {
                "type": "Input.Text",
                "label": "Idea description/Problem Statement",
                "style": "text",
                "isMultiline": true,
                "id": "Ideades",
                "isRequired": true,
                 "errorMessage": "Idea description/Problem Statement is required",
                "placeholder": "Enter Idea description/Problem Statement"
            } ,
        {
          "type": "Container",
          "items": [
            {
              "type": "TextBlock",
              "text": "Click \"+\" to show more and if you like to submit without adding more detail, please click the Skip And Submit option.",
              "wrap": true
            },
            {
              "type": "ActionSet",
              "actions": [
                {
                  "type": "Action.ToggleVisibility",
                  "title": "+",
                  "targetElements": ["valueButton", "benefitsButton", "relevanceButton", "minusButton"]
                },
               
                  {
                    "type": "Action.Submit",
                    "title": "Skip And Submit",
                    "data": {
                      "id": "skipandsubmit"
                    }
                  }
              ]
            },
            {
                "type": "ActionSet",
                "id": "valueButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Value",
                    "data": {
                      "id": "value"
                    }
                  }
                ]
            },
            {
                "type": "ActionSet",
                "id": "benefitsButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Benefits",
                    "data": {
                      "id": "benefits"
                    }
                  }
                ]
            },
            {
                "type": "ActionSet",
                "id": "relevanceButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Relevance",
                    "data": {
                      "id": "relevance"
                    }
                  }
                ]
            }
           
           
          ]
        }
       
    ]
    }




  • nesrivastava Profile Picture
    on 07 May 2024 at 21:55:03
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    can you share the screenshot of your scenario and the adaptive card JSON. 

  • AnnaJMoy Profile Picture
    8 on 07 May 2024 at 15:07:01
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 
    Following up on the above query. Please let me know if you have any information on the same

  • AnnaJMoy Profile Picture
    8 on 02 May 2024 at 09:37:23
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 

    I'm utilizing the chatbot preview feature in Power Apps canvas to display a chat application, which I've integrated as a tab within Microsoft Teams.
    I've encountered a challenge where the adaptive card forms within the chatbot do not retain the inputted information after a button is clicked. Although the entered data is successfully stored as global variables in Power Virtual Agents, the form fields reset and no longer display the previously entered values. Is there a method to preserve the data within the form fields post-button click, ensuring that the information remains visible to users?

  • nesrivastava Profile Picture
    on 24 Apr 2024 at 16:12:53
    Re: Adding PVA CoPilot in MS teams inside Specific channel

     Yes, unfortunately, can't add in the channel. The chat bot will be appear inside the apps on Teams and not inside the channel, so you can share using the documentation to other users inside your organization, you just adding as a member of a team.

    https://docs.microsoft.com/en-us/power-virtual-agents/teams/admin-share-bots-teams#share-bots

    @AnnaJMoy

  • v-yueyun-msft Profile Picture
    on 24 Apr 2024 at 02:30:03
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    Hi , @AnnaJMoy 

    The PVA bot seems can not embed to the special team channel.

    As searched , you may need to refer to this:
    Create Teams conversation bot - Teams | Microsoft Learn

    DEMO - Bots in Microsoft Teams channels and group chats (youtube.com)

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - Building Copilot Studio Chatbots in Microsoft Teams

Overall leaderboard

Featured topics