Slack is a messaging app for teams, offering channels for organized communication, file sharing, integration with various tools and services, and customizable workflows to streamline collaboration.
POST https:
//hooks.slack.com/services/<replace_with_your_webhook_key>
Content-Type: application/json
{
"username"
:
"Elements Automation Webhook"
,
"icon_url"
:
"https://portal.elementssecure.com/android-chrome-192x192.png"
,
"attachments"
: [
{
"fallback"
:
"<https://portal.elementssecure.com/events/{{context.trigger.id}}?activeCustomer={{context.trigger.customerId}}|View Event>"
,
"pretext"
:
"<https://portal.elementssecure.com/events/{{context.trigger.id}}?activeCustomer={{context.trigger.customerId}}|View Event>"
,
"color"
:
"warning"
,
"fields"
: [
{
"title"
:
"{{context.trigger.eventTypeLocalized}}"
,
"value"
:
"{{context.trigger.dateTimeLong}}"
},
{
"title"
:
"Person"
,
"value"
:
"{{context.trigger.person.firstName}} {{context.trigger.person.lastName}} ({{context.trigger.credential.badgeId}})"
},
{
"title"
:
"Space"
,
"value"
:
"{{context.trigger.space.name}}"
},
{
"title"
:
"Device"
,
"value"
:
"{{context.trigger.device.name}}"
}
]
}
]
}
© 2025 Honeywell International Inc. All Rights Reserved.