Configure alerts¶
Platform alerts (job failures, storage warnings, workflow/agent issues, and similar events) are delivered by the Alert Sender that runs in the Aizen GUI pod. An AIZEN_ADMIN configures how email and text are sent, then each member’s notification preferences control who is contacted for which severity.
Email can use Microsoft Outlook (Microsoft Graph) or Gmail (Gmail API). Text uses Twilio. Email and text are independent: you can enable one, both, or neither.
Note
Only users with the AIZEN_ADMIN role can open and change Alert Sender settings. Delivery credentials are stored in Vault; non-secret identifiers (tenant ID, mailbox, Twilio from-number, and so on) are shown again after save.
Overview¶
Configuration has three parts:
Alert Sender (Platform Settings → Notifications) — the Outlook/Gmail/Twilio credentials used to send messages.
Member contact and preferences (Members → invite or edit user) — each user’s email, phone, and which severities use email and/or text.
Project alert recipients — which users are listed for a project/service/severity in the platform alert configuration (
alerts_config). The sender notifies those users when an alert opens, using each user’s preferences from step 2.
Until Alert Sender email or text is saved and enabled, matching notifications are skipped (and may be marked failed when a user was supposed to be notified).
Open Alert Sender in Studio¶
Sign in to the Aizen GUI as an
AIZEN_ADMINuser.Open Platform Settings.
Select the Notifications tab.
Use the Alert Sender card. Email and Text panels are side by side on a wide layout.
Each panel shows a status line such as Not configured, Configured, disabled, or Configured. Secret fields (client secret, refresh token, Twilio auth token) are never shown again after save; leave them blank on a later save to keep the stored value.
Prepare Microsoft Outlook (Azure / Entra)¶
Use this path when the Alert Sender Provider is Outlook. The product sends mail through Microsoft Graph as the mailbox you enter (application permission Mail.Send).
Outside Studio, in the Microsoft Entra tenant that owns the sending mailbox:
Create an App registration (single tenant is typical).
Under API permissions, add Microsoft Graph Application permission
Mail.Send, then Grant admin consent.Under Certificates & secrets, create a client secret and copy its value once.
Choose a licensed user mailbox or a shared mailbox used only for alerts. Note its UPN (for example
alerts@contoso.com). Recipients see this as the From address.Capture:
Directory (tenant) ID
Application (client) ID
Client secret
Mailbox UPN
Note
Graph application Mail.Send is tenant-wide. To limit a leaked client secret, restrict the app in Exchange with an application access policy that allows send only as the alert mailbox (mail-enabled security group + New-ApplicationAccessPolicy). The UPN you enter in Platform Settings must be in that group. A test send that returns HTTP 403 usually means consent is missing or the mailbox is outside the policy.
Prepare Gmail (Google Cloud)¶
Use this path when the Alert Sender Provider is Gmail. The product refreshes an OAuth token and sends with the Gmail API as the consented user (users/me).
Outside Studio:
In Google Cloud Console, create or open a project and enable the Gmail API.
Create an OAuth client (Desktop or Web).
Complete a one-time OAuth consent as the Google account that will send alerts, for scope:
https://www.googleapis.com/auth/gmail.send
Save the refresh token that consent returns.
Capture:
OAuth client ID
OAuth client secret
Refresh token
Sender address (must be the same Google account that consented)
Note
The sender address in Platform Settings must match the consented account; save checks this against Gmail users/me/profile and rejects a mismatch. The product does not send as a different Gmail address. If a test send fails with invalid_grant, create a new refresh token (revoked or expired tokens are not recoverable from Studio).
Prepare Twilio (text / SMS)¶
In the Twilio Console, copy the Account SID and Auth Token.
Use a Twilio phone number that can send SMS to the destination country, in E.164 form (for example
+15551234567).Trial accounts can only send to verified destination numbers until the account is upgraded.
Configure email in Platform Settings¶
On Platform Settings → Notifications → Alert Sender → Email:
Check Enable email.
Choose Outlook or Gmail.
Fill the fields for that provider:
Outlook
Tenant ID
Application (client) ID
Client secret
Mailbox UPN
Gmail
OAuth client ID
OAuth client secret
Refresh token
Sender address
Optional From display name (Outlook Graph
fromname and Gmail From header)
Click Save email. Saving email does not change the Text panel.
Click Send test email, enter a destination address (defaults to the signed-in admin email when available), and confirm delivery.
The test uses the saved configuration. Save first; the test action stays disabled while the email panel has unsaved changes.
To remove email credentials, use Clear email credentials. That deletes the Vault secret, blanks the identifier fields, and turns email off.
Configure text in Platform Settings¶
On the Text panel:
Check Enable text.
Enter:
Account SID (must start with
AC)Auth token
From number (E.164, leading
+)
Click Save text.
Click Send test text, enter a destination number in E.164, and confirm the SMS arrives.
A successful test means Twilio accepted the message (queued). If the phone does not receive it, check the Twilio Messaging log for that message SID (trial/unverified destination and carrier delivery are common causes). Leave the auth token blank on a later save to keep the stored secret.
To remove text credentials, use Clear text credentials.
Member email, phone, and alert preferences¶
Alert Sender only delivers when a recipient user has contact details and preferences that match the alert severity.
Open Members.
Invite a new user or edit an existing member.
Set email and/or phone (phone should be E.164 for SMS).
Under the contact fields, enable Use email for alerts and/or Use phone for text alerts, and select severities (Info, Warning, Error, Critical) for each channel.
Save the member.
Email preferences require a valid email address. Text preferences require a valid phone number. A user with no matching severity/channel preferences is not contacted for that alert.
After configuration¶
Changes take effect on the next Alert Sender cycle. No Helm value and no pod restart are required for credential updates.
Email and text can be enabled or disabled independently without clearing the other channel.
Switching the email provider (Outlook ↔ Gmail) replaces the email Vault secret for that channel; save again after switching.
Troubleshooting¶
Test email / test text disabled — Save the panel first; unsaved edits block the test actions.
Outlook test fails with 403 — Confirm admin consent for
Mail.Sendand that the mailbox UPN is allowed for the app (Exchange application access policy if you use one).Gmail test fails with ``invalid_grant`` — Obtain a new refresh token for
gmail.sendand save it again.Twilio test succeeds but no SMS — Confirm E.164 formatting, trial verified numbers, and the message status in the Twilio Console.
Alerts stay open / failed with no delivery — Confirm Alert Sender email/text is Configured and enabled, and that the user is listed for the alert and has matching member preferences for that severity.