This Trigger fires when a number on a page you choose rises above or drops below a threshold you set, or changes.
- API endpoint slug
- ai_agent.watch_a_number
Trigger fields
- Label
- Page URL
- Helper text
- The address of a page that shows the number, such as a weather, price, or stats page
- Slug
- url
- Required
- true
- Can have default value
- true
- Label
- Which number?
- Helper text
- Describe the number the way the page does, such as "current temperature at KPDX in Fahrenheit" or "story score in points"
- Slug
- description
- Required
- true
- Can have default value
- true
- Label
- When the number
- Slug
- condition
- Required
- true
- Can have default value
- true
- Label
- Threshold
- Helper text
- A number, such as 100 or 2.5. Leave blank when the Applet runs on every change.
- Slug
- threshold
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- value
- Filter
- AiAgent.watchANumber.Value
- Type
- String
- Example
- 92
- Slug
- previous_value
- Filter
- AiAgent.watchANumber.PreviousValue
- Type
- String
- Example
- 88
- Slug
- delta
- Filter
- AiAgent.watchANumber.Delta
- Type
- String
- Example
- 4
- Slug
- percent_change
- Filter
- AiAgent.watchANumber.PercentChange
- Type
- String
- Example
- 4.55
- Slug
- direction
- Filter
- AiAgent.watchANumber.Direction
- Type
- String
- Example
- up
- Slug
- which_value
- Filter
- AiAgent.watchANumber.WhichValue
- Type
- String
- Example
- Current air temperature at KPDX in Fahrenheit
- Slug
- source_url
- Filter
- AiAgent.watchANumber.SourceUrl
- Type
- Web URL
- Example
- https://forecast.weather.gov/MapClick.php?lat=45.5152&lon=-122.6784
- Slug
- checked_at
- Filter
- AiAgent.watchANumber.CheckedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00