Explore Plans
Mobile menu Close menu
AI Agent

Number on a page changes

This Trigger fires when a number on a page you choose rises above or drops below a threshold you set, or changes.

Developer info

API endpoint slug
ai_agent.watch_a_number

Trigger fields

Url Text input > Other

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

Description Text input > Other

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

Condition Dropdown list

Label
When the number
Slug
condition
Required
true
Can have default value
true

Threshold Text input > Other

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

Value The number now.

Slug
value
Filter
AiAgent.watchANumber.Value
Type
String
Example
92

Previous value The number at the check before.

Slug
previous_value
Filter
AiAgent.watchANumber.PreviousValue
Type
String
Example
88

Delta Value minus PreviousValue.

Slug
delta
Filter
AiAgent.watchANumber.Delta
Type
String
Example
4

Percent change The change as a percentage of PreviousValue. Blank when PreviousValue is 0.

Slug
percent_change
Filter
AiAgent.watchANumber.PercentChange
Type
String
Example
4.55

Direction up or down.

Slug
direction
Filter
AiAgent.watchANumber.Direction
Type
String
Example
up

Which value The number's description from the Applet.

Slug
which_value
Filter
AiAgent.watchANumber.WhichValue
Type
String
Example
Current air temperature at KPDX in Fahrenheit

Source url The page the number was read from.

Slug
source_url
Filter
AiAgent.watchANumber.SourceUrl
Type
Web URL
Example
https://forecast.weather.gov/MapClick.php?lat=45.5152&lon=-122.6784

Checked at When the page was read.

Slug
checked_at
Filter
AiAgent.watchANumber.CheckedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00