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 Automate / JSON Card reads data a...
Power Automate
Answered

JSON Card reads data as string value

(0) ShareShare
ReportReport
Posted on by 16

Hi all,

 

I have an approval flow for my work which eventually will ask the employee to fill in a number in a JSON card that was sent via Teams. however, the value does not get recognized by the card when there is an action after the action 'post adaptive card and wait for a response'. 

Poldinho_0-1708336388386.png

It basically says that the value that has been filled in, is a string value and should be a number. I have googled a lot, checked forms on here and tried the solutions, such as compose, but to no avail. 

 

My JSON card is created via adaptivecards.io and uses version 1.3 for teams. 

 

Can anyone help me to make sure the data from my card gets recorded as a number?

 

Categories:
  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    Can you please open the designer view of the "Post adaptive card" action and post a screenshot of it?

    The error reads as you put in the number as a String instead of a number.

  • Poldinho Profile Picture
    16 on at

    See picture below. I have cut off the text from the image as it is way too long and not worth posting. 

    Poldinho_1-1708337999350.png

     

     

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    Can you please show the actual input in the flow designer, not from the flow run?

  • Poldinho Profile Picture
    16 on at

    Ah yes, apologies. See below:

     

    Poldinho_0-1708345146699.png

     

    Update item 3 is my final step, do until is being done until a certain date has been reached before sending the adaptive card.

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    We would need to see the input parameters of the Teams action

  • Poldinho Profile Picture
    16 on at

    This is the test data filled in:

    Poldinho_0-1708350026405.png

    The action is submit and the flow recognizes it, but gives eventually the same issue as posted on the first post. I have tried creating the same flow again from scratch but that also does not fix the issue.

  • Verified answer
    Poldinho Profile Picture
    16 on at

    Just wanted to inform everyone that the issue is solved. I was using input.number and changed it to input.text. Then I changed my list to single line of text and then the issue was resolved. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard