Level Trigger icon

Level Trigger

Handle incoming webhooks from Level to react to alerts, devices, groups, and automation events. Configure the webhook URL in Level under Settings → Webhooks and store the signing secret in the Level Webhook Secret credential for signature verification.

Level Trigger

AI-generated

Overview

This node acts as a webhook trigger for Level, a platform that sends events related to alerts, devices, groups, and automation. It listens for incoming webhook POST requests from Level, verifies the request signature for security, filters events based on user-selected event types, and outputs the event data for further workflow processing. This node is useful for automating responses to specific Level events, such as alert activations, device updates, or group changes.

Use Case Examples

  1. Automatically notify a team when an alert becomes active or is resolved.
  2. Trigger workflows to update internal systems when devices or groups are created, updated, or deleted in Level.

Properties

Name Meaning
Event Types Select specific Level event types to emit. If no event types are selected, all events are received.
Output Raw Body Whether to emit the raw JSON payload as a string instead of the parsed event object.

Output

JSON

  • rawBody - The raw JSON payload string from the webhook request, emitted if 'Output Raw Body' is true.
  • event_type - The type of event received from Level, e.g., alert_active, device_created.
  • ``
    • *
      * `` - Other parsed event data fields from the Level webhook payload.

Dependencies

  • Requires a Level Webhook Secret credential for verifying webhook request signatures.

Troubleshooting

  • If the webhook signature header is missing or invalid, the node responds with HTTP 401 Unauthorized. Ensure the Level Webhook Secret credential is correctly configured and matches the secret used in Level webhook settings.
  • If the webhook signature verification fails, the node rejects the request with HTTP 401 Unauthorized. Verify the signing secret and that the webhook payload is unaltered.
  • If the incoming payload is not valid JSON, the node throws a parsing error. Check that Level sends valid JSON payloads.
  • If event filtering is enabled and the event type is not in the selected list, the node acknowledges the webhook but does not emit data downstream.

Discussion