About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires for an account that is on a dynamic pricing plan such as the Residential Hourly Pricing program or other real time market rates whenever the average price changes.
- API endpoint slug
- ComEd.average_price_change
Trigger fields
Which season Dropdown list
- Label
- Which season do you want this to trigger?
- Slug
- which_season
- Required
- true
- Can have default value
- true
Which price threshold Text input > Regular expression
- Label
- Which price threshold do you want this to trigger?
- Slug
- which_price_threshold
- Required
- true
- Can have default value
- true
Trigger type Dropdown list
- Label
- When to trigger?
- Helper text
- Whether this should trigger when the price exceeds or goes under the provided price threshold
- Slug
- trigger_type
- Required
- true
- Can have default value
- true
How often to trigger Dropdown list
- Label
- How often do you want this to trigger?
- Helper text
- Whether this should trigger every time a new average price is above or below the set price or just the first time it goes above or below the value
- Slug
- how_often_to_trigger
- Required
- true
- Can have default value
- true
Ingredients
TimestampDate and time the price change occurred.
- Slug
- timestamp
- Filter code
- ComEd.averagePriceChange.Timestamp
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Average priceThe current average price in cents for the hour.
- Slug
- average_price
- Filter code
- ComEd.averagePriceChange.AveragePrice
- Type
- String
- Example
- 14.4
From hourThe start hour in which this average is applicable.
- Slug
- from_hour
- Filter code
- ComEd.averagePriceChange.FromHour
- Type
- String
- Example
- 3
To hourThe end hour in which this average is applicable.
- Slug
- to_hour
- Filter code
- ComEd.averagePriceChange.ToHour
- Type
- String
- Example
- 4