The following example demonstrates how data can be automatically inserted into a Slack channel using a simple webhook.
Prerequisites
Slack account
A workspace with full permissions
Obtain the Webhook URL
In Slack, create an app from a manifest.
Select a workspace.
Optionally, change the default name.
Select Incoming Webhooks.
Enable the option, Activate Incoming Webhooks and then select Add new webhook to workspace.
Select the channel where messages will be posted and then select Allow.
Copy the webhook URL that was generated.
Use the Webhook to Post a Message
Sign in to Elements and create an automation.
Action type: Execute Custom Webhook
Webhook URL: Enter the URL obtained in the previous example.
HTTP method: POST
Content type: JSON (application/json)
Request body:
{
"type"
:
"TextBlock"
,
"text"
:
"Webhook message for Slack"
}
Execute the action through the dashboard.
View the message in Slack.
© 2025 Honeywell International Inc. All Rights Reserved.