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 / PVA - Ask with Adaptiv...
Copilot Studio
Unanswered

PVA - Ask with Adaptive Card

(0) ShareShare
ReportReport
Posted on by 30

Dear Community,

 

I'm currently working on developing a bot in Copilot and I'm not very familiar with the new version of PVA. I need some assistance with the adaptive card integration with it.

 

My objective is to send an adaptive card response with only a button on it, and then capture the response value when the user clicks the button. Can anyone provide guidance on how to achieve this?

 

For example:

 

cardPayload = 
{
 "type": "AdaptiveCard",
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.5",
 "body": [
 {
 "type": "ActionSet",
 "actions": [
 {
 "type": "Action.Submit",
 "title": "Yes",
 "id": "Yes",
 "data":"Yes"
 },
 {
 "type": "Action.Submit",
 "title": "No",
 "id": "No",
 "data":"No"
 }
 ]
 }
 ]
}

 

RishikeshRai_0-1708580959411.png

 

Thank you for assistance in advance.

Categories:
I have the same question (0)
  • ManikandanS Profile Picture
    246 on at

    Hello @RishikeshRai ,

     

    What inputs you need to collect from user when they click button on adaptive card? . Provide more information about your adaptive card.

     

    Thanks.

  • RishikeshRai Profile Picture
    30 on at

    Hi @ManikandanS,

     

    Thanks for your reply.

     

    I want the data value of the Action.Submit button.

     

    "actions": [
     {
     "type": "Action.Submit",
     "title": "Yes",
     "id": "Yes",
     "data":"Yes"
     },

     

    RishikeshRai_0-1708588653670.png

     

  • HenryJammes Profile Picture
    Microsoft Employee on at

    Hi @RishikeshRai 

     

    Instead of using "Ask with adaptive card", can you instead use a standard Question node and add your adaptive card to it? "Ask with adaptive card" is usually more useful when you ask users to fill out a form.

     

    Henry

  • RishikeshRai Profile Picture
    30 on at

    Hi @HenryJammes,

     

    Thanks for your reply.

     

    I tried with standard Ask a Question action, but the bot didn't respond at all after I clicked the button (refer to below snap). It was much easier to get the value from the action button using the Bot Framework Composer. 

     

    RishikeshRai_0-1708668079338.png

     

  • HenryJammes Profile Picture
    Microsoft Employee on at

    Does your adaptive card submit send data? This screenshot doesn't match the previous yes/no JSON you shared.

  • RishikeshRai Profile Picture
    30 on at

    Hello @HenryJammes ,

     

     My sincerest apologies for the delay in my response. It's been a busy month, but I'm getting back to my priorities now.

    The JSON data in the screenshot is indeed the same one I'm using that I have shared on above.

  • RishikeshRai Profile Picture
    30 on at

    Hello @HenryJammes ,

     

     My sincerest apologies for the delay in my response. It's been a busy month, but I'm getting back to my priorities now.

    The JSON data in the screenshot is indeed the same one I'm using that I have shared on above.

  • ManikandanS Profile Picture
    246 on at

    Hello @RishikeshRai ,

     

    Able to get the value of data using question node as below. Please test at your end.

     

    ManikandanS_0-1711942808067.png

    Thanks.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 266

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 184 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 153

Last 30 days Overall leaderboard