最近の検索
最近の検索はありません
Simple webhook JSON payload for webhook sent to Slack channel
回答済み
投稿日時:2024年1月02日
Hi,
I'm not using any custom headers for my webhook preset for Slack, but just looking for a simple JSON template to use in the "JSON body" section to send an SLA warning breach to a Slack channel. I'd like to include:
- Text mentioning that this ticket has breached SLA
- The URL of the Zendesk ticket
Thank you.
0
4
4件のコメント
Nicholas Deary
Would it be something like this?
2
Brandon Tidd
Nicholas Deary's answer looks correct!
1
Nicholas Deary
Ok, thank you. I'll give this a go!
0
Heather Cook
You can also include ticket properties :-) E.g:
{
"properties": {
"IncidentNumber": "{{ticket.id}}",
"Zendesk Group Name": "{{ticket.group.name}}",
"Incident Title":"{{ticket.title| truncate:'100'}}",
"Incident Description": "{{ticket.latest_comment.value | truncate:'20000'}}",
"Requestor": "{{ticket.requester.name}} ({{ticket.requester.email}})"
}
0