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 Costs

Initial Costs

There are no initial costs associated with using this app template.

Monthly Costs

Item
Estimated Cost for This App
Notes
SORACOM Flux
Up to 3.41 yen/month (*1)
  • (*1) This Flux app counts 1 event per day, resulting in 31 events counted for a 31-day month of operation.
  • (*1) The SORACOM Flux Developer plan includes up to 10,000 events/month free per account. Events exceeding 10,000/month are charged at 0.11 yen per event.
  • Event counts and credits are initially set to the same upper limits as the free bundle allocation. When the limit is reached, app launches and action executions triggered by events will no longer occur. If you wish to use beyond these limits, please update the limits in advance. When you set limits that exceed the monthly bundle allocation, excess events and credits will be available on a pay-as-you-go basis.

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).