Soracom Product Updates logo

Product Updates

Soracom is IoT connectivity with powerful APIs that enable you to build world class applications

Subscribe to Updates
  • 日本語

Labels

  • All Posts
  • Feature
  • Improvements
  • Devices
  • Announcement
  • Beta
  • Deprecation
  • End of Support

Jump to Month

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
Feature
3 years ago

New Event Handler features

Event Handler is a service that allows you to build automations that react to different SIM events. An event handler consists of a rule and one or more actions, which can be freely combined to fit a variety of situations, as well as variables which can be used to customize certain actions.

  • Examples of rules that Event Handler can check:

    • Perform an action when a SIM is activated (its status changes to Active)
    • Perform an action when a SIM exceeds 1 GiB of data transfer within one month
    • Perform an action when a SIM's expiration date has passed
  • Examples of action that Event Handler can perform:

    • Send a notification by email
    • Change the speed class of the SIM
    • Call an AWS Lambda function

Event Handler has been updated and now supports the following additional rules, actions, and variables:

New Rule: Match when a SIM status is changed to Standby

The Target Status property of the Sim status attribute and Subscriber status attribute rules can now be set to Standby. With this configuration, an Event Handler will run its actions when a SIM's status is changed to Standby.

Updated Rule: Match source SIM status

In addition to configuring an Event Handler rule to run its actions when a SIM's status is changed to a specific status (such as when a SIM status changes to Active or Inactive), you can now also match a specific SIM status before the status change.

This gives you finer control over your devices, such as running different actions when a SIM changes from Ready to Active, than when it changes from Inactive to Active.

New Action: Suspend a SIM

You can now choose to suspend a SIM (change its status to Suspended) as an action to perform when an Event Handler's rule is matched.

  • Note: A fee may apply

    Note that a suspension fee or a reactivation fee will apply when changing a SIM status to or from the Suspended status, respectively, depending on the subscription plan of the SIM. For more information, refer to the Pricing & Fee Schedule documentation.

New Variable: Coverage Type

Event Handlers only apply to the coverage type in which they are created. In other words, an Event Handler created for Global coverage will only apply to SIMs which are also managed in the Global coverage type, and likewise for Japan coverage. If you have configured Event Handlers in both coverage types, you can now use the ${coverage} variable in the Send email, Send mail to operator, Execute web request, and Invoke AWS Lambda actions to differentiate which coverage type the action is coming from. This variable will return the following values:

  • When an Event Handler in Global coverage executes, ${coverage} will be replaced with g
  • When an Event Handler in Japan coverage executes, ${coverage} will be replaced with jp

For more information, please refer to the Event Handler documentation.