Skip to content

event targets element

The targets section enables a developer to emit a notification, send a webhook, and/or trigger a task.

Examples

Slack Notification

yaml
events:
  all-deployments:
    # ...
    targets:
      slack:
        channels:
          - deployments

Attributes

slack

The slack target allows you to configure notifications to Slack channel(s) when an event occurs.

Before using this, you must connect a Slack workspace to your Nullstone organization. Visit "Integrations" in Nullstone under "global configuration". You can find this in the left pane at the bottom when logged in to Nullstone.

slack.channels

The channels section allows a developer to choose a list of Slack channels to send notifications.

TIP

The Nullstone bot must be a member of private channels. Type /invite @Nullstone in the Slack channel after configuring the Slack integration.