capabilities.work

Alert Threshold Tuning

A 3-step recipe with Tomorrow.io. We can help you get access.

Recipe · 3 steps

Alert Threshold Tuning

Read an alert, update its condition, and confirm the new definition.

  1. Read the current alert definition before applying any changes.
  2. Apply the new threshold condition to the alert while preserving its name, description, and active state.
  3. Re-read the alert to confirm the updated condition is in effect.
What you'll need to have ready
  • apikey: Tomorrow.io API key passed as the apikey query parameter.
  • alertId: Identifier of the alert to retune.
  • field: Weather data layer the condition evaluates.
  • operator: Comparison operator (gt, gte, lt, lte, eq, neq).
  • value: New threshold value for the condition.
For your developer

Arazzo workflow tomorrow-io:alert-threshold-tuning, 3 operations: getAlert → updateAlert → getAlert. Specs on APIs.io.