Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

JSON output as Dropdown options in Adaptive card

(0) ShareShare
ReportReport
Posted on by 92

Hi,

Is there a way to use JSON outputs from GET HTTP requests as dropdown options in an Adaptive card?

JSON output schema:

{
 "type": "array",
 "properties": {
 "id": {
 "type": "integer"
 },
 "name": {
 "type": "string"
 },
 "path": {
 "type": "string"
 },
 "slug": {
 "type": "string"
 },
 "fullPath": {
 "type": "string"
 },
 "eoJobName": {
 "type": "string"
 },
 "modelType": {
 "type": "string"
 },
 "documentationUrl": {
 "type": "string"
 },
 "productFruitWorkspaceCode": {},
 "useEoAPI": {
 "type": "boolean"
 },
 "referenceDate": {
 "type": "string"
 },
 "referenceTime": {
 "type": "string"
 },
 "planPeriod": {
 "type": "string"
 },
 "planPeriodGrouping": {
 "type": "integer"
 },
 "planPeriodFormat": {
 "type": "string"
 },
 "historyDays": {
 "type": "integer"
 },
 "displayRounding": {
 "type": "integer"
 },
 "outputRounding": {
 "type": "integer"
 },
 "numberOfPeriods": {
 "type": "integer"
 },
 "defaultConnectionId": {
 "type": "integer"
 },
 "importConnectionId": {
 "type": "integer"
 },
 "outputConnectionId": {
 "type": "integer"
 },
 "preSolveStoredProcedure": {},
 "postSolveStoredProcedure": {},
 "bannerMessage": {},
 "createdAt": {
 "type": "string"
 },
 "updatedAt": {
 "type": "string"
 },
 "organization": {
 "type": "object",
 "properties": {
 "id": {
 "type": "integer"
 },
 "name": {
 "type": "string"
 },
 "path": {
 "type": "string"
 }
 }
 }
 }
}

I'd like to use 'Name' values as my dropdown options. @remidyon @adilei Would love your help

  • Verified answer
    Viswav Profile Picture
    92 on at
    Re: JSON output as Dropdown options in Adaptive card

    *Update Solution:

    1. Get output from Power Automate in JSON
    2. Parse JSON by uploading sample data
      Viswav_0-1715691168480.png

       

    3. Use the adaptive card below:

     

    {
     '$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
     type: "AdaptiveCard",
     version: "1.5",
     body: [
     {
     type: "TextBlock",
     text: "Please select an option:",
     wrap: true
     },
     {
     type: "Input.ChoiceSet",
     id: "userSelection",
     choices: Topic.ApplicationNamesTable
     }
     ],
     actions: [
     {
     type: "Action.Submit",
     title: "Submit"
     }
     ]
    }​

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 66

#2
Pablo Roldan Profile Picture

Pablo Roldan 55

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard