Soracom

IoT Template Gallery

Regularly check SORACOM usage charges and send notifications by email.

Overview

This app template creates an app that regularly sends SORACOM usage fees by email. This app helps with:

  • Tracking daily billing changes
  • Monitoring usage patterns
  • Preventing unexpected charges
  • Maintaining budget visibility

Example Email Report

The email report will contain content like:

Your SORACOM usage fee for this month is currently 12 USD.

Once this template is set up, you will receive regular reports without any manual operation.

Estimated Cost of Running the Flux App

The estimated cost of running a Flux app created from this template is as follows:

  • With email notifications set to once per day, this Flux app will execute a maximum of 31 events per month. The SORACOM Flux Developer plan includes up to 10,000 events/month for free. If you exceed 10,000 events/month, you will be charged 0.0010 USD per event.

This is an estimate and may vary based on actual usage. For accurate pricing, please check the Pricing & Fee Schedule and usage details in the User Console.

Preparation

Before deploying this template, please prepare the following:

  • Email Settings: A verified destination email address

For more details, refer to SORACOM’s documentation on Email Addresses.

Creating the App

When creating the app, you can customize the destination email address and email sending interval.

  • Setting the Destination Email Address
    • Select a verified destination email address by clicking the [Select Email Address] button.
  • Setting the Email Sending Interval
    • Set the sending interval from [schedule_expression].

Post-Creation Tasks

The interval timer is OFF immediately after creating the app. Manually test the app execution, and once you confirm the email notification, turn the timer ON.

  1. Click Interval Timer.

  2. Set Interval Timer to ON and save.

Customization

You can change the email destination and message template from the email notification action settings screen. You can also customize the email sending interval.

Customizing the Email Notification Action

You can change the email message template from the email notification action settings screen.

  1. Click on the [EMAIL Notification] action from Flux Studio.

TODO: Attach an image of email selection below images/app-create-0.png

  1. Update the email destination and content from [CONFIG].
  • You can use operators and functions in the content. For details, refer to Action and Condition Syntax.
  • Usage fees can be referenced with $${payload.amount}.

Customizing the Email Sending Interval

  1. Click on the [Interval Timer] action from Flux Studio.

TODO: Attach an image of the interval timer images/app-create-0.png

  1. Update the event occurrence interval from “Schedule Definition” in [TIMER].

Troubleshooting

If the app doesn’t work properly, check the app execution history. For details, refer to Checking Execution History/Message History (Logs).

Try this template in the User Console