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 / Power Apps / Using cards to get res...
Power Apps
Unanswered

Using cards to get responses, then switch screens, using PowerAutomate

(0) ShareShare
ReportReport
Posted on by 1

Hello,

 

I am trying to use a PowerAutomate flow to automatically send a card. The card itself has two screens, one for a satisfaction rating, another for when a option is selected, it goes to a thank you screen. It works in Power Apps, but when I try to get it to do the same this in PowerAutomate, it just sends the first screen. I also need it to increment a table when an option is selected.

 

none119c_0-1709740730921.png

 

 

none119c_1-1709740756966.png

none119c_2-1709740775092.png

 

none119c_3-1709741056930.png

 

 

Here is my json:

{
  "name": "Demo",
  "description": null,
  "author": "SPSVC",
  "screens": {
    "main": {
      "template": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "Rate your experience",
            "id": "textLabel1"
          },
          {
            "type": "ActionSet",
            "id": "buttonSet1",
            "actions": [
              {
                "type": "Action.Execute",
                "id": "ipGreat",
                "title": "Great",
                "associatedInputs": "auto",
                "verb": "onSelect_Button1",
                "iconUrl": "https://cdn-icons-png.flaticon.com/512/2107/2107957.png",
                "style": "positive"
              },
              {
                "type": "Action.Execute",
                "id": "ipGood",
                "title": "Good",
                "associatedInputs": "auto",
                "verb": "onSelect_Button2",
                "iconUrl": "https://cdn-icons-png.flaticon.com/512/2107/2107957.png"
              },
              {
                "type": "Action.Execute",
                "id": "ipNeutral",
                "title": "Neutral",
                "associatedInputs": "auto",
                "verb": "onSelect_Button3",
                "iconUrl": "https://cdn-icons-png.flaticon.com/512/2107/2107957.png"
              },
              {
                "type": "Action.Execute",
                "id": "ipBad",
                "title": "Bad",
                "associatedInputs": "auto",
                "verb": "onSelect_Button4",
                "iconUrl": "https://cdn-icons-png.flaticon.com/512/2107/2107957.png"
              },
              {
                "type": "Action.Execute",
                "id": "ipTerrible",
                "title": "Terrible",
                "associatedInputs": "auto",
                "verb": "onSelect_Button5",
                "iconUrl": "https://cdn-icons-png.flaticon.com/512/2107/2107957.png"
              }
            ]
          }
        ],
        "version": "1.5",
        "actions": [],
        "rtl": false,
        "verticalContentAlignment": "Center",
        "selectAction": {
          "verb": "onSelect_Action_6",
          "type": "Action.Execute"
        },
        "refresh": {
          "action": {
            "verb": "show",
            "type": "Action.Execute"
          }
        }
      },
      "verbs": {
        "onSelect_Button1": "Patch(cr395_Demos,LookUp(cr395_Demos,Title = \"Great\"),{ Amount: LookUp(cr395_Demos, Title = \"Great\").Amount + 1});\r\n\r\nNavigate('Thank you for your submission!');\r\n",
        "show": "",
        "onSelect_Action_6": "",
        "submit": "echo",
        "onSelect_Button2": "Patch(cr395_Demos,LookUp(cr395_Demos,Title = \"Good\"),{ Amount: LookUp(cr395_Demos, Title = \"Good\").Amount + 1});\r\n\r\nNavigate('Thank you for your submission!');\r\n",
        "onSelect_Button3": "Patch(cr395_Demos,LookUp(cr395_Demos,Title = \"Neutral\"),{ Amount: LookUp(cr395_Demos, Title = \"Neurtal\").Amount + 1});\r\n\r\nNavigate('Thank you for your submission!');\r\n",
        "onSelect_Button4": "Patch(cr395_Demos,LookUp(cr395_Demos,Title = \"Bad\"),{ Amount: LookUp(cr395_Demos, Title = \"Bad\").Amount + 1});\r\n\r\nNavigate('Thank you for your submission!');\r\n",
        "onSelect_Button5": "Patch(cr395_Demos,LookUp(cr395_Demos,Title = \"Terrible\"),{ Amount: LookUp(cr395_Demos, Title = \"Terrible\").Amount + 1});\r\n\r\nNavigate('Thank you for your submission!');\r\n"
      }
    },
    "Thank you for your submission!": {
      "template": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "Thank you for your feedback!",
            "id": "thankyou"
          },
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "You may now close out of this chat",
            "id": "closechat"
          }
        ],
        "version": "1.5"
      },
      "verbs": {}
    }
  },
  "sampleData": {
    "main": {},
    "Thank you for your submission!": {}
  },
  "connections": {
    "Default-8cba7b62-9e86-46c6-9b1b-06504a61c72d_cr395_demo": {
      "apiName": "shared_commondataserviceforapps",
      "name": "shared-commondataser-2df9945d-f27c-43ba-902e-562f3386956d",
      "apiId": "/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps",
      "apiDisplayName": "Microsoft Dataverse",
      "tablePluralName": "cr395_Demos",
      "logicalName": "cr395_demo",
      "environment": "Default-8cba7b62-9e86-46c6-9b1b-06504a61c72d",
      "hasParameters": true
    }
  },
  "variables": {
    "selectedTest": {
      "type": "string",
      "title": "",
      "description": "",
      "default": "",
      "x-ms-cardapp": {
        "scope": "session"
      }
    },
    "selectedTitle": {
      "type": "string",
      "title": "",
      "description": "",
      "default": "",
      "x-ms-cardapp": {
        "scope": "session"
      }
    },
    "isAdding": {
      "type": "string",
      "title": "",
      "description": "",
      "default": "",
      "x-ms-cardapp": {
        "scope": "session"
      }
    },
    "DemoTest": {
      "type": "string",
      "title": "",
      "description": "",
      "default": "",
      "x-ms-cardapp": {
        "scope": "session"
      }
    }
  },
  "flows": {},
  "locale": "en-US"
}
 
Any help would be greatly appreciated.
Categories:

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard