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.
{
"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",
"style": "positive"
},
{
"type": "Action.Execute",
"id": "ipGood",
"title": "Good",
"associatedInputs": "auto",
"verb": "onSelect_Button2",
},
{
"type": "Action.Execute",
"id": "ipNeutral",
"title": "Neutral",
"associatedInputs": "auto",
"verb": "onSelect_Button3",
},
{
"type": "Action.Execute",
"id": "ipBad",
"title": "Bad",
"associatedInputs": "auto",
"verb": "onSelect_Button4",
},
{
"type": "Action.Execute",
"id": "ipTerrible",
"title": "Terrible",
"associatedInputs": "auto",
"verb": "onSelect_Button5",
}
]
}
],
"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.