Skip to main content

Notifications

AstroPulse tells your organization when something happens to its clusters and applications: a create, an update, a failure, a request waiting for approval. You choose which topics the organization is told about, such as Cluster Pipeline and Application Pipeline, and where each goes: email on every plan, Slack on the Enterprise plan. Notifications belong to the organization, not to one person or one cluster. A cluster an admin creates waits for an owner's approval, and that request arrives by email the same way: Approvals.

Before you start​

  • The organization owner or admin role. Other members see the settings but cannot change them.
  • For Slack: the Enterprise plan, and a Slack incoming-webhook URL for the channel.

In the console​

  1. Select your name at the bottom of the sidebar, then Organization settings, then Notifications.

    Open zoom view

    The account menu open from your name at the bottom of the sidebar, with Organization settings

    The account menu open from your name at the bottom of the sidebar, with Organization settingsThe account menu open from your name at the bottom of the sidebar, with Organization settings

    The list shows every topic the organization can be told about, with All, On and Off filters and where each topic is delivered.

    Open zoom view

    Organization settings, Notifications: the topics, which are on, and where each is delivered

    Organization settings, Notifications: the topics, which are on, and where each is deliveredOrganization settings, Notifications: the topics, which are on, and where each is delivered
  2. Select Manage delivery, then Add Notification Channel. Pick Email and enter the address, or Slack and paste the webhook URL. Select Create Channel.

    Open zoom view

    Add Notification Channel with Email chosen

    Add Notification Channel with Email chosenAdd Notification Channel with Email chosen
  3. On a topic's row, select Turn on, choose the channels it goes to, and select Turn on. Turn all on turns on every topic that is off.

  4. To check a Slack channel, select Test Webhook on it under Manage delivery.

The create cluster wizard's Notifications step shows which of the organization's channels already cover the cluster.

You should see​

The topic's row reads on and lists its channels. The next event on that topic arrives in each channel, and Test Webhook posts a test message to Slack.

Topics​

The topics come from AstroPulse and include Cluster Pipeline (cluster create, update, delete and approval requests) and Application Pipeline (deploys, updates and status changes). Topics marked System stay on. Unsubscribe from everything turns off every other topic, after a confirmation.

Slack webhook URLs​

A Slack webhook URL is a credential: anyone who has it can post to the channel. Once saved, AstroPulse never shows it again. The console, the API and astroctl return it with its secret part replaced by asterisks (https://hooks.slack.com/services/T.../B.../********), and webhookConfigured: true says one is saved.

  • To keep the saved URL while changing something else, leave the URL out, or send the masked value back unchanged.
  • To replace it, send a complete new webhook URL.
  • To check it works without entering it again, send a test message from the saved configuration.

Other ways in​

With astroctl​

Terminal
astroctl notifications integrations test --channel slack

If it's refused​

"invalid Slack webhook URL format. Must be like: https://hooks.slack.com/services/..."
Cause
The URL is not a Slack incoming-webhook address.
Fix
Create an incoming webhook in Slack and paste the URL that starts with https://hooks.slack.com/services/.

Troubleshooting​

Nothing arrives: check that the topic is on and lists the channel, and that the address or webhook is right. Slack posts nothing: check the plan, run astroctl notifications integrations test --channel slack, and check the Slack app may post to the channel. The saved URL is never shown, so if you are not sure which one is saved, create a new webhook in Slack and save it again.

Next​