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 / How to send adaptive c...
Power Automate
Unanswered

How to send adaptive card containing rich text and/or all types of characters?

(0) ShareShare
ReportReport
Posted on by 1,097

Hi

How can i send adaptive card to microsoft teams using the teams connector in flow for adaptive cards with flow-bot.

Cards that contain invalid characters and/or rich text.

 

looking at https://adaptivecards.io/designer/ i can see that there are a textblock for rich text.

but i dont know how to use it.

 

i have a powerapp and i want to send rich text to teams in adaptive cards.

 

 

i get error message running my flow´s complaining about invalid characters.

 

Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: Den angivna adaptiva kortbegäran för Teams-flowbot saknas eller är ogiltig. Spårnings-ID:t är {0}. ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: K. Path 'body[1].inlines[0].text', line 15, position 32.

 

My card just for test looks like this:

{
 "type": "AdaptiveCard",
 "body": [
 {
 "type": "TextBlock",
 "size": "Medium",
 "weight": "Bolder",
 "text": "Exempel"
 },
 {
 "type": "RichTextBlock",
 "inlines": [
 {
 "type": "TextRun",
 "text": "@{triggerBody()['Postadaptivecardinachatorchannel_AdaptiveCard_2']}"
 }
 ]
 }
 ],
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.4"
}


This is the connector:

Oskarkuus_0-1649949395160.png

 

 

Any solution to getting the message to print?

This is the message when running the flow:

{
 "type": "AdaptiveCard",
 "body": [
 {
 "type": "TextBlock",
 "size": "Medium",
 "weight": "Bolder",
 "text": "Exempel"
 },
 {
 "type": "RichTextBlock",
 "inlines": [
 {
 "type": "TextRun",
 "text": "<p><strong>kk</strong></p><p> </p><p><u><strong>kk</strong></u></p><p> </p><p><a href="http://www.google.se"><u><strong>lll</strong></u></a></p>"
 }
 ]
 }
 ],
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.4"
}

 

This text:

Oskarkuus_1-1649949614065.png


Comes from a rich texteditor from powerapps

So how to push that into a adaptive card in Teams?

Categories:
I have the same question (0)
  • SynapticSci Profile Picture
    on at

    I am encountering this same issue, did anyone resolve it? 

  • Oskarkuus Profile Picture
    1,097 on at

    Sadly not.  I had to do a compose action to clean the text from characters that cause an error.  Id love to see the ability to post the same things as any user can post in teams. 

  • JPS1995 Profile Picture
    2 on at

    Hi Oskarkuss - do you know where I can find the 'characters that cause an error'? I would like to also do this with my flow, but have not been able to find this. Thanks 🙂 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard