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 when Phyn detects an alert.
- API endpoint slug
- phyn.alert_raised
Trigger fields
Device ID Dropdown list
- Label
- Which home?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Alert type Dropdown list
- Label
- Which type of alert?
- Helper text
- Alert type
- Slug
- alert_type
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- Phyn.alertRaised.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Home nameName of the home for which the alert is detected.
- Slug
- home_name
- Filter code
- Phyn.alertRaised.HomeName
- Type
- String
- Example
- Vacation home
Alert typeType of the alert detected.
- Slug
- alert_type
- Filter code
- Phyn.alertRaised.AlertType
- Type
- String
- Example
- Leak alert
Alert timeThe time when this alert is detected.
- Slug
- alert_time
- Filter code
- Phyn.alertRaised.AlertTime
- Type
- String
- Example
- 2019-08-07 16:10 PM PST
Suggested fixturesThe fixtures associated with a leak alert.
- Slug
- suggested_fixtures
- Filter code
- Phyn.alertRaised.SuggestedFixtures
- Type
- String
- Example
- 'sink, shower'