Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Alerts & Notifications

Alerts & Notifications

Enrich OpenObserve alerts with log context and notify responders via Novu

When something happens in a connected app, it sends alerts using Novu, Open Observe, Data Table.

What it does

## Enrich OpenObserve alerts with log context and notify responders through Novu ### How it works This workflow starts when a selected OpenObserve alert fires, normalizes the alert payload, and searches OpenObserve for relevant log context around the alert time. It selects the closest log event, optionally expands the surrounding context, then builds an incident brief. Before notifying responders through Novu, it checks a Data Table cooldown to suppress duplicates, supports a preview-only path, and records/report the notification outcome. ### Setup steps - Configure the OpenObserve trigger with the alert or monitor that should start the workflow. - Add OpenObserve credentials to both search nodes and verify the configured log stream, service field, default service, and search window match your environment. - Create or select the n8n Data Table used to store notification cooldown state, and ensure the load/save nodes point to it consistently. - Configure the Novu node with the correct Novu credentials, workflow/template, subscriber or topic, and payload fields expected by your notification template. - Review the preview-only and cooldown settings before enabling live responder notifications. ### Customization Adjust the enrichment configuration, log search window, anchor-selection logic, cooldown duration, and Novu payload/template to fit each service or incident severity.

The steps

  1. OpenObserve Alert Trigger
  2. Set Incident Enrichment Fields
  3. Normalize Alert Data
  4. Prepare Log Search Query
  5. Execute Alert Window Query
  6. Find Closest Log Anchor
  7. Check for Log Anchor
  8. Search Logs Near Anchor
  9. Compile Incident Brief
  10. Retrieve Notification Cooldown
  11. Assess Notification Needs
  12. Determine if Notification Needed
  13. Check If Preview Only
  14. Log Notification Preview

18 steps in total.

Similar automations