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

  1. In Slack, create an app from a manifest.

  2. Select a workspace.

  3. Optionally, change the default name.

  4. Select Incoming Webhooks.

  5. Enable the option, Activate Incoming Webhooks and then select Add new webhook to workspace.

  6. Select the channel where messages will be posted and then select Allow.

  7. Copy the webhook URL that was generated.

Use the Webhook to Post a Message

  1. Sign in to Elements and create an automation.

    1. Action type: Execute Custom Webhook

    2. Webhook URL: Enter the URL obtained in the previous example.

    3. HTTP method: POST

    4. Content type: JSON (application/json)

    5. Request body:

      {
      "type": "TextBlock",
      "text": "Webhook message for Slack"
      }
  2. Execute the action through the dashboard.

  3. View the message in Slack.

© 2025 Honeywell International Inc. All Rights Reserved.