alert actions
Actions are what happens when a rule fires. A rule with no actions still raises an alert in the portal — actions are how that alert reaches people or systems outside PosKit.
Actions are managed per rule, from Configure Actions on the rule's row menu. That opens the configure alert actions page for the rule, which lists the actions already attached and has an Add Action button.
The list shows each action's Type, Configuration, Execute On and a delete button. Ticket actions also get a test button.
the action types you can add
Add Action opens a dialog whose Action Type list offers nine entries:
| Type | What it does |
|---|---|
| Email Notification | Emails named recipients |
| Webhook | Calls an HTTP endpoint |
| SMS Notification | Texts named phone numbers |
| Push Notification | Sends a browser push notification to named users |
| Slack | Posts to a Slack incoming webhook |
| Microsoft Teams | Posts to a Teams incoming webhook |
| On-call Routing | Notifies whoever is currently covering the on-call rotation |
| Run Script | Runs an automation script on the affected device, or on a tagged device at the alerting location |
| Open Ticket | Raises a ticket in a connected ticketing system |
If you want a device to do something in response to an alert — restart a service, run a command — use Run Script with a script that does it.
The create wizard's Quick Add offers Email, Webhook, SMS, Run Script and Open Ticket; the full list above is available from the rule editor's actions tab after creation.
configuration by type
email notification
| Field | Notes |
|---|---|
| Recipients (comma-separated) | Who to email |
| Subject (optional) | Leave blank for the default subject |
There is no test button and no option to control what the email contains.
webhook
| Field | Notes |
|---|---|
| Webhook URL | Target endpoint |
| HTTP Method | GET, POST or PUT. Defaults to POST |
There is no headers field and no test button. PATCH and DELETE are not offered.
sms notification
| Field | Notes |
|---|---|
| Phone Numbers (comma-separated) | Who to text |
There is no message field and no test button — the message body is not configurable.
push notification
| Field | Notes |
|---|---|
| User IDs (comma-separated) | The users to notify |
| Custom Title (optional) | Overrides the default notification title |
| Custom Body (optional) | Overrides the default notification body |
| Require user interaction | The notification stays until dismissed |
The form has a Send Test Notification button. Recipients must have allowed browser notifications for the portal, and are entered by user ID.
slack
| Field | Notes |
|---|---|
| Webhook URL | A Slack incoming-webhook URL |
| Channel (optional) | Overrides the webhook's default channel |
| Username (optional) | The name the message posts under |
The message is a formatted attachment carrying the alert's severity colour, device, location and time. The form has a Send Test Message button.
microsoft teams
| Field | Notes |
|---|---|
| Webhook URL | A Teams incoming-webhook URL |
The message is a MessageCard themed by severity with the alert's facts. The form has a Send Test Message button.
on-call routing
| Field | Notes |
|---|---|
| On-call rotation | Organization default, or a specific rotation |
| Pager integration (optional) | Additionally raises an incident via PagerDuty when configured |
When the alert fires, the person currently covering the rotation is resolved and always notified by email and push; a configured pager integration is additive. Every routing decision — including failures — is written to the alert history. See on-call.
run script
Pick an automation script from the Automation Script dropdown, which lists each script with its language and shows the description of whichever you select. If your organisation has no scripts yet, the dialog says so and points you at the Automation section.
On a device-scope rule the script runs on the alerting device itself, and that is the whole configuration. On a location-scope rule there is no single alerting device, so the action shows one extra field:
| Field | Notes |
|---|---|
| Target Device Tag | The script runs on the online device carrying this tag at the alerting location |
When the rule fires, PosKit resolves the most recently seen online device with that tag at the location that breached, and runs the script there. One rule covers every site — each location resolves to its own device. Maintaining the tag itself is best left to a dynamic group's automatic device tagging.
A location-scope script action without a target tag fails — there is no meaningful device to fall back to. And if no online device at the location carries the tag when the rule fires, the action fails with an error naming the tag and location. If the tagged device is the thing that is down, the script cannot reach it.
The script action requires the target device to be online and relay-connected, and runs with the script's configured maximum execution time (5 minutes if unset). It cannot fix an offline device — which rules out the most obvious use, remediating a device-offline alert. Use it for conditions a device can still respond to, such as a stuck print queue, a stopped service, or an integration failing at a site whose devices are otherwise healthy.
open ticket
| Field | Notes |
|---|---|
| Ticketing Integration | Which connected system to use |
| Service Board | The board to raise on |
| Company | Searchable |
| Priority Mapping (optional) | One mapping per PosKit severity |
Priority mapping maps PosKit severities onto your ticketing system's own priority names, so a PosKit Critical becomes whatever your service desk calls its top priority.
Ticket actions are the only type with a test button on the actions list.
The ticket test button creates a real ticket in your ticketing system. It is not a dry run. Warn your service desk before you use it, or use a test board.
execute on
Every action carries an Execute On setting, chosen when you add it. There are three options:
| Option | Behaviour |
|---|---|
| When Triggered | Fires when the rule breaches |
| When Resolved | Fires when the alert clears |
| Both | Fires on both events |
There is no delay or debounce setting — every action fires immediately on its event. To control noise, use the rule's Cooldown and Consecutive Failures settings instead.
what gets recorded
Only on-call routing writes to the alert history. Email, SMS, webhook, script and ticket actions do not record anything there, so the alert history cannot tell you whether a notification went out.
Script actions do, however, record an execution in the Automation section's history, the same as a manually triggered run — so the script's output, exit code and per-device result are available there even though the alert history stays silent.
When someone reports they were not told about an incident, the alert history will not answer the question — checking it will show nothing either way. Verify delivery at the receiving end instead: the mailbox, the phone, the endpoint's own logs, or the ticket queue.
practical guidance
Match the channel to the severity rather than wiring everything everywhere:
- Info — portal only. No action.
- Warning — email to the team address that is already watched.
- Critical — email plus a ticket if the incident needs a paper trail.