Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Two Ways Building MS Teams Custom Connector with Logic Apps
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Website Published to Netlify",
"sections": [
{
"activityImage": "https://raw.githubusercontent.com/devkimchi/Microsoft-Teams-Channel-Notification/master/images/published.png",
"activityTitle": "Published: @{triggerBody()['name']}",
"activitySubtitle": "[@{triggerBody()['url']}](@{triggerBody()['url']})",
"activityText": "@{triggerBody()['published_at']}"
}
]
}
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"speak": "Website Published to Netlify",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"style": "default",
"url": "https://raw.githubusercontent.com/devkimchi/Microsoft-Teams-Channel-Notification/master/images/published.png",
"size": "small"
}
],
"width": "auto"
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"weight": "bolder",
"text": "Published: @{triggerBody().name}",
"wrap": true
},
{
"type": "TextBlock",
"text": "[@{triggerBody().url}](@{triggerBody().url})",
"wrap": true
},
{
"type": "TextBlock",
"text": "@{triggerBody().published_at}",
"wrap": true,
"isSubtle": true
}
],
"width": "stretch"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.