Notification Events

4 min read

Notification Events #

Overview

Events are the four predefined, platform-wide triggers supported by BuildPiper. You cannot create additional events. For each event, you can configure the notification channels, message template, recipients, and retry behavior for failed delivery attempts.

Note: To send notifications for pipeline, stage or job events, use a pipeline notification rule. See Pipeline Notification.

1. View Events #

  1. 1

    Click Notifications Centre in the left menu.

  2. 2

    Click Events.

Original figure 1 — BuildPiper_Notification_Center_03_Notification_Events

Figure 1: Events page

Event Types and In-context Users #

Swipe horizontally to view all columns →
Event When the Event Is Triggered In-context User(s)
Pipeline Approval A pipeline stage is awaiting approval. The approvers configured for the pipeline.
Invite User A user is invited to BuildPiper. The user receiving the invitation.
Multifactor Authentication A multifactor authentication (MFA) message is generated during sign-in. The user attempting to sign in.
User Policy Change A user’s access policies are modified. The user whose access policies have changed.

Note: In-context users are the individuals directly associated with an event. For Pipeline Approval, these are the designated approvers, while for Invite User, it refers to the user being invited. The in-context users for the remaining two events are determined based on the event names.

Swipe horizontally to view all columns →
Column or control What it shows or does
Events and On/Off filters Pick one or more events, or filter by On or Off.
More Adds the Channel Configured filter.
On/Off Turns the event on or off. Off stops all notifications for that event.
Events, Date The event name and the date it was set up.
Channel Configured Icons for the channels attached to the event.
Three-dot menu Opens Manage Channels, Manage Re-Attempts and Turn off.
Original figure 2 — BuildPiper_Notification_Center_03_Notification_Events

Figure 2: Event actions

2. Manage Channels for an Event #

  1. 1

    On the Events page, click the three-dot menu of the event.

  2. 2

    Select Manage Channels. The page lists the channels attached to the event.

Original figure 3 — BuildPiper_Notification_Center_03_Notification_Events

Figure 3: Channels attached to an event

Swipe horizontally to view all columns →
Element Description
Add Channel Opens the three-step wizard that attaches a channel.
Channel, Notification Template Type, More Filters that narrow the list.
On/Off Turns this channel on or off for this event only.
Channel, Notification Template Type, Send Notification To The attached channel, the Default or Custom template, and the recipients.
Three-dot menu Edit Configuration reopens the wizard with the saved values. Delete detaches the channel from this event.
Back Returns to the Events list.

3. Attach a Channel to an Event #

An Event-Channel Mapping associates an event with a notification channel, along with the corresponding message template and recipients. Each event and channel combination can be mapped only once.

When a mapping is enabled, notifications are processed according to the configured settings. When a mapping is disabled, notifications for that event-channel combination are skipped.

Click Add Channel on the Manage Channels page. The wizard has three steps.

3.1 Step 1: Select Channel #

Swipe horizontally to view all columns →
Field Description
Channel type (required) Slack, Email, Teams, Telegram or Google Chat.
Select Channel (required) Only channels of the selected type are listed. If the list is empty, create the channel first.
Enable channel On by default. Enables the channel when the event is triggered.
Original figure 4 — BuildPiper_Notification_Center_03_Notification_Events

Figure 4: Select Channel

Click Next. If no channel is selected, the form shows “Channel selection is required”.

3.2 Step 2: Notification Template #

Swipe horizontally to view all columns →
Method Description
Default Template Select a predefined template from the Select Template dropdown. A matching template is preselected based on the event and notification channel. For example, new_pipeline_approval_email, pipeline_approval_slack, pipelineruntime_teams, pipelineruntime_telegram, or pipeline_approval_gchat. The UI refers to this option as Default Template.
Custom Template Upload a custom template by dragging and dropping a .json file into the designated area or browsing for a file. Click Download Default Template to download a predefined template that can be used as a starting point for customization.
Original figure 5 — BuildPiper_Notification_Center_03_Notification_Events

Figure 5: Notification Template

Important: When editing a template, modify only the static text, such as wording and labels. Do not alter the template’s structure, formatting, placeholders, or variables, as any such changes may cause the notification to fail.

3.3 Step 3: Send Notification To #

Tick one or both options.

Swipe horizontally to view all columns →
Option Description
In-context user(s) Sends the notification to the users associated with the event. BuildPiper automatically identifies the relevant recipients.
Channel (displayed as DL for Email) Sends the notification to a predefined destination. Select the appropriate channel type and click + Add to configure multiple destinations.
Swipe horizontally to view all columns →
Channel type Recipient fields Add more
Email DL Name, DL Email + Add DL
Slack Channel Name, Webhook Url + Add Channel
Teams Channel Name, Webhook Url + Add Channel
Telegram Channel Name, Chat Id + Add Chat
Google Chat Space Name, Webhook Url + Add Space
Original figure 6 — BuildPiper_Notification_Center_03_Notification_Events

Figure 6: Send Notification To

Swipe horizontally to view all columns →
Selection Result
In context user(s) only Sent to the users linked to the event.
Channel only Sent to the configured channels, groups or DLs.
Both Sent to the users and to the channels or groups.
Neither No notification is sent.

Click Submit to save. Back returns to the previous step, and Cancel discards the wizard.

Note: Select at least one option. Make sure that the DL email, webhook URL or chat ID is correct. An incorrect value can stop the notification from being sent. To learn how to get these values, see Notification Configuration.

4. Set the Re-Attempts of an Event #

Re-attempts automatically resend notifications that fail because of network errors or rate limits. Each row is one retry: a fixed label (Re-Attempt 1, 2, …) and a Delay (in Minutes) after the previous attempt.

  1. 1

    On the Events page, click the three-dot menu of the event.

  2. 2

    Select Manage Re-Attempts. The Configure Re-Attempts page opens.

  3. 3

    Change the delays. The defaults are Re-Attempt 1 after 1 minute and Re-Attempt 2 after 2 minutes.

  4. 4

    Click Add Re-Attempt to add a row, or the bin icon to remove one.

  5. 5

    Click Save Details, or Cancel to close without saving.

Original figure 7 — BuildPiper_Notification_Center_03_Notification_Events

Figure 7: Configure Re-Attempts

The number of retries set here is the “System Re-Attempts” total shown in the notification log, for example “0 of 2”.

5. Turn an Event Off #

Use the On/Off toggle, or the three-dot menu and Turn off. No notifications are sent for the event on any channel until you turn it back on.

Read more: Notification Configuration

Notification Channels #

Pipeline Notification #

Notification History #