jessicavegasmua2753
Member
Is there a guide for how to create a custom card message in Google Chats? I essentially want to alert my team to a new client booking and ask them to confirm their availability to facilitate this booking. This is the code that the Google card generator has given me (all red text will be mapped data). How do I set this up?
{
"header": {
"title": "Card Title",
"subtitle": "Card Subtitle",
"imageUrl": "https://i.ibb.co/C777gxP/JV-Logo-transparent.png",
"imageType": "SQUARE"
},
"sections": [
{
"header": "Section Header",
"collapsible": true,
"uncollapsibleWidgetsCount": 3,
"widgets": [
{
"buttonList": {
"buttons": [
{
"text": "Event Details",
"type": "OUTLINED",
"onClick": {
"openLink": {
"url": ""
}
}
}
]
}
},
{
"selectionInput": {
"name": "size",
"label": "Size",
"type": "CHECK_BOX",
"items": [
{
"text": "Available",
"value": "available",
"selected": false
},
{
"text": "Not Available",
"value": "not available",
"selected": false
}
]
}
}
]
}
]
}
{
"header": {
"title": "Card Title",
"subtitle": "Card Subtitle",
"imageUrl": "https://i.ibb.co/C777gxP/JV-Logo-transparent.png",
"imageType": "SQUARE"
},
"sections": [
{
"header": "Section Header",
"collapsible": true,
"uncollapsibleWidgetsCount": 3,
"widgets": [
{
"buttonList": {
"buttons": [
{
"text": "Event Details",
"type": "OUTLINED",
"onClick": {
"openLink": {
"url": ""
}
}
}
]
}
},
{
"selectionInput": {
"name": "size",
"label": "Size",
"type": "CHECK_BOX",
"items": [
{
"text": "Available",
"value": "available",
"selected": false
},
{
"text": "Not Available",
"value": "not available",
"selected": false
}
]
}
}
]
}
]
}