Hello, I wanted to ask if it is possible to be able to use the {Asset.x} data point variables in webhooks to send to a google chat when a ticket is created, or is it only limited to {Ticket.x} variables?
This is the webhook code I am using:
{
"cardsV2":
{
"card": {
"sections": e
{
"widgets":
{
"decoratedText": {
"icon": {
"materialIcon": {
"name": "devices"
}
},
"topLabel": "Device Model:",
"text": "<b>{{Asset.ModelName}} || {{Asset.ManufacturerModelName}}</b>",
"wrapText": true
}
},
{
"decoratedText": {
"icon": {
"knownIcon": "DESCRIPTION"
},
"text": "<b>{Ticket.IssueCategoryName} > {Ticket.IssueTypeName}</b>"
}
},
{
"textParagraph": {
"text": "<i>\"{Ticket.IssueDescription}\"</i>",
"maxLines": 20
}
},
{
"divider": {}
},
{
"decoratedText": {
"icon": {
"knownIcon": "TICKET"
},
"topLabel": "Ticket Number:",
"text": "<a href=\"https://x.incidentiq.com/agent/tickets/{Ticket.TicketId}\">{Ticket.TicketNumber}</a>",
"wrapText": true
}
},
{
"decoratedText": {
"icon": {
"knownIcon": "MAP_PIN"
},
"topLabel": "Location:",
"text": "{Ticket.LocationName}",
"wrapText": true
}
},
{
"decoratedText": {
"icon": {
"knownIcon": "PERSON"
},
"topLabel": "Submitted By:",
"text": "<a href=\"https://x.incidentiq.com/agent/users/{Ticket.OwnerId}\">{Ticket.OwnerFirstName} {Ticket.OwnerLastName}</a>",
"wrapText": true
}
},
{
"decoratedText": {
"icon": {
"knownIcon": "PERSON"
},
"topLabel": "Submitted For:",
"text": "<a href=\"https://x.incidentiq.com/agent/users/{Ticket.ForId}\">{Ticket.ForName}</a>",
"wrapText": true
}
}
]
}
]
}
}
]
}
And this is the end result in the Google Chat space:
Any advice or insight would appreciated.