Hi Community 👋,
I'm working on a use case where I need to send rich HTML + Markdown content to a 1:1 Teams chat using Power Automate.
🔧 Flow I'm Using:
-
I take dynamic content in HTML + Markdown which includes:
-
Ordered lists
-
Tables
-
Headings
-
Bullet points (Nested)
-
Images
etc.
-
I convert that HTML/Markdown content into Adaptive Card JSON using a custom Python script.
-
Then in Power Automate, I:
❌ The Problem:
-
Adaptive Cards inside Teams chat have width limitations.
-
Even with "size": "Stretch" or "width": "Full", the card still looks narrow.
-
Tables don't have any border.
💬 What I'm Looking For:
1. Is there any working way to:
2. If not possible with Adaptive Cards:
🧪 What I’ve Tried:
-
Adaptive Card Task Module modal (but unclear how to trigger from Power Automate without a full Teams bot)
-
Tried "width": "Full", "Stretch", custom containers — no success.
Output:
For reference i have added few outputs ss below:
- The first image describe the output of adaptive card which is half the screen.
- The second image describe the output of directly passing the html content and the teams doesn't parse it.
- The third image represents out of first converting html to text connector than that output is send which doesn't include markdown, newline other major html5 tag conversion.
If anyone has a sample using Task Module with Power Automate to display wide Adaptive Cards or HTML content, please share 🙏
Appreciate any guidance, code samples, workarounds, or alternate approaches!
Thanks in advance,
Vaibhav