Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Omnidesk: Кастомный запрос для вебхука в адрес Slack
payload={"attachments":[
{
"fallback":"<[case_url]|[case_subject|slack]> (#[case_number])",
"pretext":"<[case_url]|[case_subject|slack]> (#[case_number])",
"color":"#4CA9E4",
"fields":[
{
"title":"Отправитель",
"value":"[user_full_name|slack] ([user_email])",
"short":true
},
{
"title":"Группа",
"value":"[case_group|slack]",
"short":true
},
{
"title":"Содержание",
"value":"[case_description|text|slack]",
"short":false
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.