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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Raising event in adapt...
Copilot Studio
Unanswered

Raising event in adaptive card and capturing it in copilot studio

(1) ShareShare
ReportReport
Posted on by 5
I have list of records displayed on an adaptive card and allow the user to select any one of these records and see the details 
displayed on a new browser window. Here user can select another record and repeat the process. So I can't submit the adaptive card.
 
So I tried to raise and event in the adaptive card and tried to catch it at the bot level using 'event received' and/or 'acivity received' trigger topics.
But I got the error "Web Chat: received unknown action from Adaptive Cards" in the browser console after clicking on any of the displayed records.
The error screenshot is attached below the json string
 
Following is the json string used for generating the adaptive card.
 
{
    "type":"AdaptiveCard",
    "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
    "version":"1.5",
    "body":[
       {
          "type":"TextBlock",
          "size":"medium",
          "weight":"bolder",
          "text":"Ticket Summary",
          "horizontalAlignment":"center",
          "wrap":true,
          "style":"heading"
       },
       {
          "type":"Container",
          "spacing":"large",
          "style":"emphasis",
          "items":[
             {
                "type":"ColumnSet",
                "columns":[
                   {
                      "type":"Column",
                      "spacing":"large",
                      "items":[
                         {
                            "type":"TextBlock",
                            "weight":"bolder",
                            "text":"TITLE",
                            "wrap":true
                         }
                      ],
                      "width":"stretch"
                   },
                   {
                      "type":"Column",
                      "horizontalalign":"right",
                      "items":[
                         {
                            "type":"TextBlock",
                            "weight":"bolder",
                            "text":"",
                            "wrap":true
                         }
                      ],
                      "width":"stretch"
                   },
                   {
                      "type":"Column",
                      "horizontalalign":"right",
                      "items":[
                         {
                            "type":"TextBlock",
                            "weight":"bolder",
                            "text":"STATUS",
                            "wrap":true
                         }
                      ],
                      "width":"stretch"
                   },
                   {
                      "type":"Column",
                      "items":[
                         {
                            "type":"TextBlock",
                            "weight":"bolder",
                            "text":"RAISED",
                            "wrap":false
                         }
                      ],
                      "width":"stretch"
                   }
                ]
             }
          ],
          "bleed":false
       },
       {
          "type":"ColumnSet",
          "columns":[
             {
                "type":"Column",
                "spacing":"large",
                "items":[
                   {
                      "type":"TextBlock",
                      "text":"IT Related Ticket",
                      "wrap":true
                   }
                ],
                "width":"stretch"
             },
             {
                "type":"Column",
                "spacing":"medium",
                "items":[
                   {
                      "type":"TextBlock",
                      "text":"Assigned",
                      "wrap":true
                   }
                ],
                "width":"auto"
             },
             {
                "type":"Column",
                "items":[
                   {
                      "type":"TextBlock",
                      "text":"2025-01-31",
                      "wrap":true
                   }
                ],
                "width":"auto"
             },
             {
                "type":"Column",
                "spacing":"small",
                "verticalContentAlignment":"center",
                "items":[
                   {
                      "type":"Image",
                      "id":"ShowDown1",
                      "url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAAAAACPAi4CAAAAhklEQVRYw+3XQQ6AIAxE0TkUl+rJejnugFEjUSlJ6+yws/8vStiARg4J/BLAbX8F9ikJKPkFSv7C2WsHnJNX34LA0AeBsY8BRv8Eguc3XiyijwBmHwDs3g9Mejcw691AmfRuoBa7959BLb2Xr/fg6sEBAg4QkAASSCCBpYHoVgPyvZBAAsc2VEstovDW+u0AAAAASUVORK5CYII=",
                      "width":"30px",
                      "altText":"IT Related Ticket collapsed",
                      "selectAction":
                        {
                            "type":"Action.Execute",
                            "title":"Open",
                            "verb": "openexternalurl",
                            "data":{
                               "actionSubmitId":"displayTicket",
                               "url":"https://prov-stiesdmcsp30.powerappsportals.com/Tickets/Ticket-Details/?id=47e35ee9-dadf-ef11-a730-6045bd09ddd1"
                            }
                        }
                   }
                ]
             }
          ]
       }
    ],
    "actions":[
       {
          "type":"Action.Submit",
          "title":"Submit",
          "data":{
             "actionSubmitId":"Submit"
          }
       }
    ]
}
 
Here I have used an Image and configured 'Action.Execute' under the 'selectAction'
 
Error screenshot
 
Is it possible to catch this event in copilot studio? If possible how to do that? Or should I use custom event handler
created using bot framework to achieve the same? Please advise.
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard