Automate Reddit
Explore Plans
Mobile menu Close menu
Agile OctopusAgile Octopus

History of Energy price threshold alerts

This query returns a list of alerts when your electricity price crossed your set threshold between your preferred time settings. Note: this query will only return future events after this Applet is created.

About this query

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 query returns a list of alerts when your electricity price crossed your set threshold between your preferred time settings. Note: this query will only return future events after this Applet is created.
API endpoint slug
agile_octopus.history_of_energy_price_threshold_alerts
Runtime method
performQuery("agile_octopus.history_of_energy_price_threshold_alerts")

Query fields

Price threshold Text input

Label
At what price should this activate?
Helper text
Price in pence. Max 35 pence.
Slug
price_threshold
Required
true
Can have default value
true

When to trigger Dropdown list

Label
When to trigger?
Slug
when_to_trigger
Required
true
Can have default value
true

Happens after Dropdown list

Label
Happens after
Slug
happens_after
Required
true
Can have default value
false

Happens before Dropdown list

Label
Happens before
Slug
happens_before
Required
true
Can have default value
false

When to trigger carbon intensity Dropdown list

Label
Carbon intensity filter
Slug
when_to_trigger_carbon_intensity
Required
true
Can have default value
true

Carbon intensity threshold Text input > Regular expression

Label
Carbon intensity threshold
Slug
carbon_intensity_threshold
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

PriceEnergy price (pence) when trigger event occurred.

Slug
price
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.Price
Type
String
Example
10.50

Triggered atDate and time when trigger event occurred.

Slug
triggered_at
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.TriggeredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Trigger pricePrice (pence) threshold in trigger settings.

Slug
trigger_price
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.TriggerPrice
Type
String
Example
10

Triggers afterTime (hours) in trigger settings, events happen after this time.

Slug
triggers_after
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.TriggersAfter
Type
String
Example
12:00 AM

Triggers beforeTime (hours) in trigger settings, events happen before this time.

Slug
triggers_before
Filter code
AgileOctopus.historyOfEnergyPriceThresholdAlerts.TriggersBefore
Type
String
Example
12:00 PM