For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating an Action

This page walks through the action editor from top to bottom. The example used in the screenshots is a Warning action that fires when a greenhouse sensor reports a temperature above 30 °C for 10 minutes while humidity is above 70 %, and sends an email.

Step 1: Open the editor

Go to Actions in the left sidebar and click + Add action. To change an existing action, click its name in the list. The editor of an existing action has a Save and a Delete button at the bottom.

Click Show Help Guide at the top of the editor for a short reminder of the main concepts.

Step 2: General settings

Create Action general settings
General settings and Action Behavior Settings
Field
Required
Description

Action Name

Yes

A unique, descriptive name, e.g. Greenhouse - High Temperature or Low Battery Warning.

Alert Type

Yes

Severity of the generated event: Info (informational), Warning (attention needed) or Danger (critical issue, shown as Critical in the list).

Custom Message

No

Overrides the default event message. Placeholders are not supported here; use them in the message of a THEN action instead.

Pass Payload

No

Includes the full asset payload in notifications. Useful for debugging or detailed logs.

Step 3: Action Behavior Settings

Action Behavior Settings
Action Behavior Settings with Action Dependencies enabled

Enabled (default: on)

Disabled actions are completely inactive and do not trigger any notifications. Use it, for example, to pause an action during maintenance. You can also toggle this directly in the actions list.

Trigger Once (default: off)

The action fires once and then waits until the condition becomes false before it can fire again.

Example: Temperature > 30 °C fires once. It will not fire again until the temperature drops below 30 °C and rises above it again.

Execute Every (Rate Limiting) (default: on, 15 minutes)

The action cannot execute more often than the selected interval, even if the condition stays true: 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour or 1 day. This is useful for sensors that report very often when you only want, say, hourly alerts. Combine it with Trigger Once for maximum control over notification frequency.

Action Dependencies (Alert Suppression) (default: off)

Suppresses this action's notifications while one of the selected parent actions is triggered, with an optional Hold window. See Action Dependencies.

Step 4: Add conditions (IF / IS)

Click + Add Trigger (or + Add Condition for further statements). The Configure Condition panel opens on the right.

Configure Condition panel, IF configuration
IF configuration

IF configuration: what to monitor

Field
Required
Description

Asset Template

Yes

The asset template (formerly device type) of the assets to monitor.

Asset goes offline

No

Fires when a selected asset goes offline. Data field and comparison are not required.

Gateway connectivity alert

No

None (default), Gateway goes offline or Gateway goes online. Use separate actions for the offline and the online transition. Requires the Widgelix LoRaWAN Network Server.

Data Field

Yes

The telemetry field to evaluate, e.g. temperature, humidity, batteryVolt. The list comes from the asset template's decoder.

Asset Selection Method

Yes

Select from list or Select from map (pick assets on a map).

Assets

Yes

One or more assets. Choose All to monitor every asset of the template.

IS configuration: what value to check

Comparison Type:

  • Compare with constant: compare the reading with a fixed value. See Compare with constant.

  • Compare with asset measurement: compare the reading with the live value of another asset. See Compare with asset measurement.

  • Geofence: check whether the asset is inside or outside one or more areas drawn on a map. See Geofences.

Comparison Operator: Less Than, Less Than Or Equal, Equal, Greater Than Or Equal, Greater Than, Not Equal, In Range, Out Of Range. See Comparison Equations.

Value: the threshold. In Range and Out Of Range ask for a minimum and a maximum.

Switching threshold range (hysteresis)

Prevents alerts from flickering when a value hovers around the threshold. After the condition fires, the value must first satisfy the Reset comparison / Reset threshold before the condition can fire again.

Switching threshold range and Temporal control
Switching threshold range and Temporal control

Example: trigger when temperature > 30, reset when temperature < 27. The action fires above 30 °C and cannot fire again until the reading has dropped below 27 °C.

Reset comparison options: Less Than (default), Less Than Or Equal, Equal, Greater Than Or Equal, Greater Than, Not Equal. Available for Compare with constant and Compare with asset measurement.

Temporal control

Requires the condition to stay true for a Persist duration (default 10 minutes) before it counts, with optional Ignore short spikes and Reset after prolonged violation. Not available for offline alerts. See Temporal Control.

Click Apply to save the condition or Cancel to discard it.

Combining conditions

Each condition appears as a Statement card that summarizes the IF / IS logic (and the temporal duration, if set). Click a card to edit it, or the bin icon to remove it.

Two statements combined with AND
Two statements combined with AND

You can add up to 10 conditions per action. Between two statements choose AND (both must be true) or OR (either is enough).

Step 5: Add THEN actions

Below the conditions, in the THEN section, every new action starts with Event Only (the event is logged in Widgelix without sending anything). Click + Add Action to add a notification or command.

Select Action Type dialog
Select Action Type

Available types: Email, Discord, Slack, Webhook, SMS, Signl4, Downlink and Event Only. You can add several THEN actions to one action, and use ← Change Action Type inside the dialog to switch types. Field details and message placeholders are described in Action Types & Placeholders.

Email action with placeholders
Email action with placeholders in the message

Step 6: Escalation chain (optional)

Turn on Escalation chain below the THEN actions to assign the alert to people step by step and escalate it when nobody acknowledges it in time. See Escalation Chain.

THEN actions, escalation chain and schedule
THEN actions, Escalation chain and Schedule

Step 7: Schedule (optional)

The Schedule card at the bottom restricts when the action is allowed to execute. By default it shows Any time. Click the card to open Configure Schedule.

Configure Schedule panel
Schedule limited to working days, 09:00 to 18:00
  • Any day (no schedule restrictions): when on (default), the action runs 24/7.

  • Turn it off to show the weekly timeline (00 to 23 hours, one row per day).

  • Quick buttons: Select All, Clear All, Business Hours (9-18).

  • Tick the checkbox of a day to enable it, then click and drag across its row to select the active hours. The timeline snaps to 30-minute steps.

  • For exact times, right-click the time range on the right of a row and choose Edit Time (enter HH:MM start and end) or Copy to All Days. The small toggle next to each day's time range opens a precise time input for that day.

Click Apply. The Schedule card then shows the active days and hours.

Step 8: Save

Click Save Action (or Save for an existing action). Required fields that are missing (for example Asset Template, Data Field, Assets, Parent actions or Reset threshold) are highlighted in red and must be fixed before saving.

Checklist

Last updated