Once an inbound webhook has created a service, the sending system can go on to cancel it, withdraw that cancellation, terminate it, suspend it or lift the suspension, by posting further events to the same webhook. This article covers the Actions tab, which decides which events do what and how each action is carried out. Read Inbound Webhooks and Mapping Events to Orders first.
Before you start #
Note: Changing the Actions tab, and approving or re-processing an action on the Events tab, needs Manage Webhooks (
manage_webhooks). See the Permission Reference.
Actions only ever touch a service this webhook created, or one the event names by its portal ID that belongs to the same customer and a ticked product. They never touch an add-on on its own.
The Actions tab #

The tab lists five actions, each with its own switch, a Route and its own conditions under Only when:
| Action | What it does |
|---|---|
| Cancel | Cancels at the end of the term: the service stays live until its next due date and is not renewed, and its add-ons go with it. Unpaid invoices for later terms are withdrawn. |
| Uncancel | Withdraws a cancellation that is still pending, before the end of its term has been processed. The service, and the add-ons its cancellation moved, go back as they were. |
| Terminate | Ends the service now, with its add-ons. Unpaid invoices for terms it will not serve are withdrawn. |
| Suspend | Suspends the service and its active add-ons. |
| Unsuspend | Lifts a suspension, whoever made it: the service, and the add-ons this webhook suspended, are active again. |
Cancel, Terminate and Suspend are marked Takes a service away.
Conditions #
An action’s conditions say which events it acts on, for example type equals license.suspended. They work like the order conditions on the Mapping tab, with up to ten per action. When you press Save actions, RackHelm checks that:
- every action that is switched on has at least one condition;
- creating the order (Provision, on the Mapping tab) has a condition too, as soon as any action is on;
- no two actions have exactly the same conditions.
Every event must match exactly one of Provision and the actions. One that matches none is logged and ignored; one that matches two is refused and staff are alerted.
Tip: Before switching a destructive action on, save its conditions with the action still switched off and use Test this payload on the Mapping tab. The dry run shows what the action would do (“Switched off. Switched on, it would suspend the service”). Or put the webhook in Hold for approval while you try it.
Routes #
| Route | What happens |
|---|---|
| Now | Carried out at the panel (or the remote system) straight away. |
| Schedule | The same, on the next run of webhook actions, every five minutes, checked again first. |
| Record only | The sender has already done it: the portal is updated and the panel or remote system is never called, so nothing echoes back to the sender. Recommended for senders that act first and tell you afterwards, for example a licence already revoked at the licence server. |
| Staff | Flagged on the Events tab, and staff are alerted. Staff carry it out at the panel, record it only, or dismiss it. This is the route an action starts on. |
Cancel works at the end of the term whatever the route. With Now, a Custom API integration is told the cancellation was requested, and at the end of the term the service is terminated at the panel. With Record only, at the end of the term it is closed in the portal and nothing is called. Uncancel has nothing to call, so Now and Record only do the same.
RackHelm changes the route when the chosen one cannot work, and the event says why:
- a product whose panel cannot carry out the action (an SSL certificate, cPGuard, or a panel RackHelm does not provision) goes to Staff instead of Now or Schedule;
- a suspend or unsuspend of a product nothing provisions is recorded only, as there is nothing to call;
- terminating a service that was never provisioned closes it in the portal only.
Scheduled actions are carried out by the webhook-scheduled-actions task, which runs every five minutes whenever the server’s scheduler is running. It is built in, so it is not listed under Schedules and cannot be switched off. If by the time it runs the webhook has been switched off, has left Automatic, or the action is no longer on Schedule, the action is handed to staff instead.
The webhook’s mode applies to actions too #
In Capture only, an action event is logged and changes nothing. In Hold for approval, it waits on the Events tab for Approve, then follows its route. In Automatic, it follows its route at once.
How the service is found #
- By the event’s Remote service ID, through the link written when this webhook created the service.
- Failing that, by the Service ID (portal), if the sender includes it. If both are present and point at different services, the event is refused.
The service must then belong to the customer mapped to the event’s customer ID, be on a product ticked on the Products tab, and be a main service, never an add-on. Otherwise the event is refused.
A service already in the state the action asks for is left alone and the event reads No change, so a repeated event does nothing twice. An event is never acted on twice: once an action has been carried out, scheduled or handed to staff, neither a redelivery nor Re-process runs it again.
When the sender changes its mind, its latest word stands. An event asking the opposite of a pending action on the same service (an unsuspend arriving while a suspend is still scheduled, held or waiting for staff, for example) withdraws that action, which is marked Ignored.
Webhook suspensions and non-payment suspensions #
RackHelm remembers who suspended a service.
- A suspension made by a webhook is not lifted when the customer pays. Only the webhook’s Unsuspend, or staff, lift it. Staff lift it by setting the package’s Service Status back to Active (or Pending or Failed) on its page, which also brings back the add-ons the webhook suspended. Like any Service Status change, that does not call the panel.
- A suspension for non-payment stays one. If the sender then reports the service suspended, the event reads No change, and paying the invoice still lifts the suspension as usual.
The package page shows a webhook suspension in its Needs attention strip. See The Package Page: Product Tab and Needs Attention.
Approving or re-processing a destructive action #
Approving or re-processing an event that would suspend, cancel or terminate a service needs two things: tick the box beside the button (This may suspend, cancel or terminate a service for Approve, Allow it to suspend, cancel or terminate a service for Re-process), and enter your password if you have not done so in the last five minutes. The same password check applies to Do it at the panel now and Record only on an event waiting for staff. See Events, Callbacks and Status.
Troubleshooting #
| Symptom | Cause and fix |
|---|---|
| An action event is Ignored | It matches none of the switched-on actions, or a later opposite event withdrew it. Check the conditions, or open the event with View. |
| An action event is Rejected as matching two actions | Two actions’ conditions both fit it. Make the conditions distinct, for example by event type. |
| An action event is refused because no service was found | The service was not created by this webhook and the event has no matching Service ID (portal), or it belongs to another customer, is on a product that is not ticked, or is an add-on. |
| A Now action ended up waiting for staff | The product’s panel cannot carry it out. Carry it out by hand, then press Record only on the event, or Dismiss it. |
| A scheduled action never runs | The server’s scheduler is not running, or the webhook was switched off or left Automatic, in which case the action is now waiting for staff. |
| A customer paid but their service is still suspended | A webhook suspended it. Wait for the sender’s unsuspend, or set the package’s Service Status to Active. |
| “Save actions” refuses a switched-on action | It has no conditions, Provision has none, or two actions have identical conditions. |