This Trigger fires when any goal gets too close to derailing. You choose how many days before derail it should fire when you set up the Trigger.
Developer info
API endpoint slug
beeminder.any_goal_safety
Trigger fields
Safe days Text input > Other
Label
Safe days
Helper text
Number of days before derailment that this should Trigger
Slug
safe_days
Required
true
Can have default value
true
Comparison Dropdown list
Label
Comparison
Helper text
The default is to Trigger if you have *exactly* N days of safety buffer but you can also change to Trigger if you have *more than* N days, or *less than* N days.
Slug
comparison
Required
true
Can have default value
true
Ingredients
GoalName of the goal that is in danger
Slug
goal
Filter code
Beeminder.anyGoalSafety.Goal
Type
String
Example
productivehours
Goal titleThe descriptive title of the goal
Slug
goal_title
Filter code
Beeminder.anyGoalSafety.GoalTitle
Type
String
Example
My Most Excellent Goal
Goal URLThe URL of the goal in danger
Slug
goal_url
Filter code
Beeminder.anyGoalSafety.GoalURL
Type
String
Example
https://www.beeminder.com/meta/uvi
Safe daysNumber of safe days left until the deadline