web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issues with adaptive card
Power Automate
Unanswered

Issues with adaptive card

(0) ShareShare
ReportReport
Posted on by 4

So I have a flow that I created that is triggered off a form submission. Part of the form submission asks for a user text response describing the problem. This response is then displayed in an adaptive card in a teams channel. All of this works fine unless someone uses Quotation marks in the question on the Form. Then the flow fails and does not output the adaptive card to teams. Im assuming this has to do with how JSON or something else treats Quotation marks but I am not sure how to fix this. Could creating a string variable and then setting the value of that variable to the Question response and then using that variable in the Adaptive Card work?

Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    on at
    Re: Issues with adaptive card

    Hi @Matt1261 ,

     

    Maybe you could try to replace " with \".

    replace(Dynamic Content,'"','\"')

    vyujincuimsft_0-1665029443045.png

    vyujincuimsft_1-1665029451249.png

    Here is a link for your reference.

    https://www.adaptivecards.io/designer/

    vyujincuimsft_2-1665029472040.png

     

    Best Regards,

    Charlie Choi

  • Matt1261 Profile Picture
    4 on at
    Re: Issues with adaptive card

    This is sort of what i ended up doing. The issue is that sometimes users put quotations and sometimes they dont. So i just assigned the output of the form to a variable and then ran a replace function to replace any instances of " with \". works perfect now. Thank you

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard