That action isn't supported here in Teams Adaptive cards error

im creating the Adative card using below Json and while submitting action getting error- That action isn’t supported here.

Json-

"{'type': 'AdaptiveCard', '$schema': 'http://adaptivecards.io/schemas/adaptive-card.json', 'version': '1.4', 'body': [{'type': 'TextBlock', 'text': '📌 Lead Follow-up Required', 'weight': 'Bolder', 'size': 'Medium'}, {'type': 'FactSet', 'facts': [{'title': 'Lead ID:', 'value': 'abc'}, {'title': 'Name:', 'value': 'PQR'}, {'title': 'Company:', 'value': 'Test Company'}, {'title': 'Email:', 'value': 'abcd@gmail.com'}]}, {'type': 'TextBlock', 'text': 'Have you contacted this lead?', 'wrap': true, 'spacing': 'Medium'}, {'type': 'Input.ChoiceSet', 'id': 'contacted', 'style': 'compact', 'choices': [{'title': 'Yes', 'value': 'Yes'}, {'title': 'No', 'value': 'No'}]}, {'type': 'TextBlock', 'text': 'What was the response from the customer?', 'wrap': true, 'spacing': 'Medium'}, {'type': 'Input.ChoiceSet', 'id': 'response', 'style': 'compact', 'choices': [{'title': 'Interested', 'value': 'Interested'}, {'title': 'Not-Interested', 'value': 'Not-Interested'}, {'title': 'Follow-up required', 'value': 'Follow-up required'}, {'title': 'Do Not Contact', 'value': 'Do Not Contact'}]}], 'actions': [{'type': 'Action.Submit', 'title': 'Submit', 'data': { 'action': 'lead_followup' }}]}"

As far as I know (cause I recently did some work using adaptive cards) the adaptive card stuff is pretty useless since you cannot connect the buttons to any actions.
The need to be connected to things that Teams is aware of and when UiPath makes the card it doesnt do this.

Its rather annoying, especially since the Integration service team seemed to add them to the activity but didnt document them at all (they dont even list the property as something you can use) and even have broken links from the activities to the actual documentation.

I know that is abit of a rant, but in the end, I found I could not use the cards in any meaningful way via UiPath.
Same is true for slack cards, you cannot connect the buttons to actions.

1 Like