Overview

The Event Handler feature is a service that allows you to build automations based on SIM events, such as when a SIM status changes or when its data usage exceeds a particular threshold, in order to send email notifications, throttle or disable a SIM, execute a webhook, and so on. Event handlers can be applied to a single subscriber, a SIM that contains one or more subscriptions, a group of SIMs, or to all SIMs in your account.

Parameters

Each event handler consists of the following configuration parameters:

You can also use Variables with certain actions in order to dynamically change the value of the action parameter, such as using ${simId} to include the SIM ID of the matched SIM in an email notification or webhook.

Multiple event handlers can be configured for the same target. When a SIM meets the conditions of multiple event handler rules, all corresponding actions will be executed.

Limitations

Each Soracom account is limited to the following number of event handler configurations per target type:

Target Description
Subscriber A maximum of 10 event handlers can target each IMSI
SIM A maximum of 10 event handlers can target each SIM ID
Group A maximum of 10 event handlers can target each group ID
Operator A maximum of 10 event handlers can target your Operator ID

For example, you can configure 10 event handlers targeting an operator and an additional 10 event handlers targeting a specific IMSI.

If you require higher limits when configuring event handlers, contact Soracom Support.