Notifications
hibase can send notifications when something happens during a workflow run. Notifications are configured at the step level — each step can have one or more notification rules, each with its own trigger, recipients, and message.
Adding a Notification
Open any step in the workflow editor and expand the Notifications panel. Click Add notifications to create a new notification rule.
Each notification rule has the following fields:
| Field | Description |
|---|---|
| Trigger | The event that fires this notification (see Triggers below) |
| Users to notify | One or more platform users who will receive the notification |
| Title | Subject line / headline of the notification |
| Body | Message content |
You can add multiple notification rules to a single step — for example, one for errors (sent to the ops team) and one for success (sent to a stakeholder).
Triggers
The trigger determines when the notification fires. Available triggers depend on the step type:
| Trigger | Description | Available on |
|---|---|---|
| On Error | The step encountered an error during execution | All step types |
| On Success | The step completed without errors | All step types |
| On Completion | The step finished (regardless of outcome) | All step types |
| On True expression | The expression evaluated to true |
Evaluate Expression steps only |
| On False expression | The expression evaluated to false |
Evaluate Expression steps only |
The On True and On False triggers are unique to Evaluate Expression steps and are what make patterns like Data Assertions and Scheduled Reports possible.
Dynamic Content with Templating
Both the Title and Body fields support the hibase templating language. This means you can inject runtime data into your notification messages.
Available Variables
All parameters in scope are accessible in notification templates. In addition, these are specific to notifications:
| Variable | Description |
|---|---|
{{ $log_html }} |
HTML-formatted execution log of the step — useful for sending detailed error reports |
{{ $response.column_name }} |
Any column from the step's data source result (Evaluate Expression steps) |
Example: Error Notification
When you add the first notification to a step, hibase pre-fills a sensible default:
- Trigger: On Error
- Title:
Error executing ETL Step "Step Name" - Body:
{{ $log_html }}
This sends the full execution log to the selected users when the step fails — a good starting point for error alerting.
Example: Data Quality Report
For an Evaluate Expression step that computes metrics:
Data source query:
SELECT
COUNT(*) AS row_count,
(SELECT COUNT(*) FROM my_schema.my_table) AS total_records,
MAX(imported_at) AS latest_import_date
FROM my_schema.my_table
{{ WHERE imported_at >= $today }}
Notification settings:
- Trigger: On Completion
- Title:
Daily Data Quality Report — {{ $today }} - Body:
Rows imported today: {{ $response.row_count }}
Total records: {{ $response.total_records }}
Last import: {{ $response.latest_import_date }}
Common Patterns
| Pattern | Trigger | Typical Use |
|---|---|---|
| Error alerting | On Error | Notify ops team when a data pipeline step fails |
| Success confirmation | On Success | Confirm that a critical import completed |
| Data assertions | On False expression | Alert when a data quality check fails |
| Scheduled reports | On True expression | Send daily/weekly metric summaries |
| Pipeline completion | On Completion | Notify stakeholders when a workflow finishes |
See Error Notifications, Data Assertions, and Scheduled Reports for detailed examples.