Created
July 9, 2020 08:18
-
-
Save expiscornovus/6e688546faad8f0d99e425cb9823f343 to your computer and use it in GitHub Desktop.
OnBoardingAdaptiveCard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | |
"type": "AdaptiveCard", | |
"version": "1.2", | |
"body": [ | |
{ | |
"type": "TextBlock", | |
"size": "Large", | |
"weight": "Bolder", | |
"id": "Title", | |
"text": "How are you <at>@{outputs('Get_user_-_User_Id')?['body/displayName']}</at>?", | |
"mentioned": { | |
"id": "8:orgid:@{triggerOutputs()?['body/id']}", | |
"name": "@{outputs('Get_user_-_User_Id')?['body/displayName']}" | |
} | |
}, | |
{ | |
"type": "TextBlock", | |
"size": "default", | |
"weight": "default", | |
"id": "WelcomeText", | |
"text": "What's your experience with Microsoft Teams?" | |
}, | |
{ | |
"type": "Input.ChoiceSet", | |
"id": "acFollowUp", | |
"choices": [ | |
{ | |
"title": "I have used it in my past job", | |
"value": "Experienced" | |
}, | |
{ | |
"title": "I have seen it a couple of times", | |
"value": "SomeExperience" | |
}, | |
{ | |
"title": "Microsoft Teams?", | |
"value": "NoIdea" | |
} | |
] | |
} | |
], | |
"actions": [ | |
{ | |
"type": "Action.Submit", | |
"title": "Submit" | |
} | |
], | |
"msteams": { | |
"entities": [ | |
{ | |
"type": "mention", | |
"text": "<at>@{outputs('Get_user_-_User_Id')?['body/displayName']}</at>", | |
"mentioned": { | |
"id": "8:orgid:@{triggerOutputs()?['body/id']}", | |
"name": "@{outputs('Get_user_-_User_Id')?['body/displayName']}" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brilliant!