StockAlert Trigger

Trigger workflows on StockAlert events

StockAlert Trigger

AI-generated

Summary

Receives StockAlert alert.triggered events through a POST webhook and starts the workflow with the request body and headers. Configure optional symbol or alert-condition filters, and optionally require and validate webhook headers and timestamps.

Inputs

  • Events (required) — Select the event to listen for; Alert Triggered is the available event and the default.
  • Filter by Condition — Optionally accept only selected alert conditions, such as price changes, reminders, or dividend events. The filter is applied when the request body contains data.alert.
  • Filter by Symbol — Optionally provide comma-separated ticker symbols, such as AAPL,GOOGL,MSFT. Symbols are trimmed and compared case-insensitively when the request body contains data.alert.
  • Require Event Header — When enabled, reject requests missing the X-StockAlert-Event header.
  • Verify Timestamp — When enabled, require a parseable X-StockAlert-Timestamp header within the configured tolerance; otherwise the request is rejected.
  • Timestamp Tolerance (Minutes) — Allowed clock difference in minutes for timestamp verification; defaults to 10. This option is shown when Verify Timestamp is enabled.

Output shape

One item containing the webhook request body as json and request headers as headers, or no items when a configured symbol or condition filter excludes the event.

Requires StockAlert API credentials to register the webhook. The node verifies a signature when a stored webhook secret and signature header are both present; invalid signatures are rejected. Timestamp and required-event-header checks are optional.

Links

Discussion