> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agrihub360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set a Trigger

> Get a push when a reading crosses a line, a sensor goes quiet or frost is in the forecast, and call a webhook if you want one.

<Steps>
  <Step title="Open the field, then Alerts">
    The page lists the triggers on the field, how often each has fired, and the events. Tap **Add an alert**.
  </Step>

  <Step title="What to watch">
    The choices are the forecasts (**Frost**, **Heat**, **Heavy rain**, **High wind**, **Pest pressure**), **Sensor reading crosses a threshold** and **A device goes offline**. Pick one, then set the line it crosses: a threshold for a reading, or a temperature for frost.
  </Step>

  <Step title="What to do">
    **Alert only** sends a push. **Auto-action via webhook** calls a URL you give, for a pump or a vent. Save. **Test fire** on the trigger sends one now so you can see it arrive.
  </Step>
</Steps>

<Frame caption="Tell me when: what to watch and the threshold.">
  <img src="https://mintcdn.com/agrihub360/U-w2pyncLxF4g_f2/images/screens/trigger-edit.jpg?fit=max&auto=format&n=U-w2pyncLxF4g_f2&q=85&s=6c2919e64fc974a37f1436bb5e13f865" alt="Tell me when: What to watch with Frost forecast chosen, Heat forecast, Heavy rain forecast, High wind forecast, Sensor reading crosses a threshold, A device goes offline, Pest pressure forecast, then Threshold (°C)." width="270" data-path="images/screens/trigger-edit.jpg" />
</Frame>

<Frame caption="The field's alerts: three set, fifty fired, with Pause, Edit and Test fire.">
  <img src="https://mintcdn.com/agrihub360/U-w2pyncLxF4g_f2/images/screens/triggers.jpg?fit=max&auto=format&n=U-w2pyncLxF4g_f2&q=85&s=40514c3f803a2023909461b8a0ee85c4" alt="Alerts on North Pasture: 3 set, 50 fired in the last 30 days; Sensor reading drops below 18, Alert only, fired 83 times; Soil temp drops below 2; each with Pause, Edit, Test fire." width="270" data-path="images/screens/triggers.jpg" />
</Frame>

## What You See Next

A trigger that fires is a decision on Today under **Reading**, with the value and the line it crossed. **Pause** keeps it without firing.

## If It Does Not

| You see                      | It means                     | Do                                                  |
| ---------------------------- | ---------------------------- | --------------------------------------------------- |
| Automation is a paid feature | Webhooks are on Grower       | Alert only works on Free                            |
| It fires every hour          | The reading sits on the line | Move the threshold, or pause it                     |
| The webhook fails            | The URL refused it           | The event shows the HTTP status; check the receiver |

Related: [Custom Triggers](/features/decision-windows/custom-triggers), [Webhooks](/devices/webhooks).
