Hello,
In a "Post to a channel when a webhook request is received" as second action i created an adaptative card with placeholders
{
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "${summary}",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "TextBlock",
"text": "meta-search-google.prod-nordics",
"isSubtle": true,
"wrap": true
},
{
"type": "FactSet",
"facts": [
{
"title": "Target",
"value": "Deployment/meta-search-google.prod-nordics"
},
{
"title": "Failed checks threshold",
"value": "1"
},
{
"title": "Progress deadline",
"value": "180s"
},
{
"title": "Traffic routing",
"value": "Blue/Green"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
But when i send the JSON to the webhook
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"themeColor": "0076D7",
"summary": "meta-search-google.prod-nordics",
"sections": [
{
"activityTitle": "New revision detected, progressing canary analysis.",
"activitySubtitle": "meta-search-google.prod-nordics",
"facts": [
{
"name": "Target",
"value": "Deployment/meta-search-google.prod-nordics"
},
{
"name": "Failed checks threshold",
"value": "1"
},
{
"name": "Progress deadline",
"value": "180s"
},
{
"name": "Traffic routing",
"value": "Blue/Green"
}
]
}
]
}
I got ${summary} instead of meta-search-google.prod-nordics
What am i doing wrong ? Is it possible to use placeholders ?