Power Automate から Teams へ Adaptive Card を Chat bot を使って投稿する
Power Automate で HTML が使えなくなった?
らしい。
参考:https://qiita.com/yukimatsu/items/286be09e4b80cfd20478
代わりにAdoptive Card を使う
慣れると簡単に使えるので、HTML と JSON どちらもできるようになるのがオススメ
Power Automate で Chat bot を設定する
Post your own adaptive card as the Flow bot to a user を使うのがキモ
間違えて Message post as flow bot を使っていてハマった。
Adaptive card のJSON を作成する
AdoptiveCardScheme例
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Sample file was uploaded"
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Link to Forms",
"url": "お好きなように"
}
]
}
Adaptive card の参考
Adaptive card の内容をPower Automate のアクションに記入する
Author And Source
この問題について(Power Automate から Teams へ Adaptive Card を Chat bot を使って投稿する), 我々は、より多くの情報をここで見つけました https://qiita.com/ks4050kt/items/a551ea38c10e363d9d46著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .