"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "@{outputs('Get_item')?['body/Status/Value']} @{outputs('Get_item')?['body/Source/Value']}",
"wrap": true,
"size": "Large",
"weight": "Bolder",
"spacing": "None",
"color": "Accent",
"separator": true
},
{
"type": "TextBlock",
"text": "@{outputs('Incident_Text_Fix')?['body/WhatHappened']}",
"wrap": true,
"weight": "Bolder",
"separator": true
},
{
"type": "FactSet",
"facts": [
{
"title": "Name",
"value": "@{outputs('Get_item')?['body/First']} @{outputs('Get_item')?['body/Last']}"
},
{
"title": "Phone",
"value": "@{outputs('Incident_Text_Fix')?['body/Phone']}"
},
{
"title": "Email",
"value": "@{outputs('Incident_Text_Fix')?['body/Email']}"
}
],
"separator": true,
"height": "stretch"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Container",
"spacing": "Small",
"height": "stretch",
"minHeight": "1px",
"verticalContentAlignment": "Center",
"items": [
{
"type": "TextBlock",
"text": "@{outputs('Get_item')?['body/Title']}",
"wrap": true,
"spacing": "None"
}
]
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "@{formatDateTime(parseDateTime(outputs('Get_item')?['body/ReceivedDate']), 'M/d/yy', 'en-US')}",
"wrap": true,
"spacing": "None",
"size": "Default",
"horizontalAlignment": "Center"
},
{
"type": "TextBlock",
"text": "submitted at",
"wrap": true,
"spacing": "None",
"size": "Default",
"horizontalAlignment": "Center"
},
{
"type": "TextBlock",
"text": "@{body('Convert_time_zone')}",
"wrap": true,
"spacing": "None",
"horizontalAlignment": "Center",
"size": "Default"
}
]
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch"
},
{
"type": "Column",
"width": "stretch"
}
]
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "ActionSet",
"horizontalAlignment": "Center",
"actions": [
{
"type": "Action.Submit",
"title": "Got It",
"iconUrl": "https://cdn-icons-png.flaticon.com/128/5290/5290058.png"
}
]
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch"
},
{
"type": "Column",
"width": "stretch"
}
]
}
]
}
]
}
]
}
