Skip to Content
Terminal Docs

Create a workflow

Create a workflow that watches your SIMs and acts when something happens, such as a SIM leaving a country or using too much data. A workflow can change the SIM, notify you, or both.

Before you start

Choose the trigger

  1. Go to Apps > Workflow automation.
  2. Select Create new workflow.
  3. Under Step 1 - Select trigger, choose a group: Monitor SIMs, Detect malfunctions, Optimise costs or Date based.
  4. Choose the trigger and fill in its values, for example the number of days or the countries.
  5. Select Next step.

A workflow has one trigger. For the full list, see Workflow triggers and actions.

For a Date based trigger, choose the date and time, and under Trigger frequency choose One time action (does not repeat), Repeats on the last day of the month or Repeat at custom intervals. The date must be at least 30 minutes from now.

Choose the SIMs

  1. Under Step 2 - Select SIMs, choose how to pick them: File upload, SIM, Groups, Labels or Data package.
  2. Select Continue to next step.

If you choose a group, label or data package, the workflow also covers SIMs that join it later.

To set up the workflow now and add SIMs later, select Skip adding SIMs. The workflow then covers no SIMs until you add some.

Choose what happens

  1. Under Step 3 - Select action, choose an action from Select action, for example Change SIM status or Change data limit, and fill in its value.
  2. To only get notified, select Skip automation instead. A Date based trigger always needs an action.
  3. Under Step 4 - Select a notification channel, choose how else to hear about it:
    • Receive an email: enter email addresses, separated by commas, or select Send email to all company users.
    • Set up an HTTP request: enter the URL and method, and optionally basic authentication, headers and parameters. Use {{iccid}}, {{msisdn}} or {{eid}} to send the number of the SIM that triggered the workflow.
    • Skip additional channel: see it only under Alerts.
  4. Select Next step.

Every time the workflow runs, it also shows under Alerts. To send alerts to Slack or Microsoft Teams, see Send notifications to Slack or Microsoft Teams.

Name and create the workflow

  1. Under Step 5 - Final confirmation, check the trigger, the SIMs, the action and the channels.
  2. Under Name the workflow, enter a name. If you leave it, Terminal keeps the placeholder name.
  3. Select Create workflow.

Terminal shows Workflow has been successfully created, and the workflow starts watching the SIMs.

An action such as Change SIM status to Offline or Closed runs on every SIM that meets the trigger, without asking. Check the trigger and the SIMs before you create the workflow. Closed SIMs can’t be used again.

Change, pause or delete a workflow

  1. Go to Apps > Workflow automation.
  2. On the workflow, open its menu and choose Edit workflow, Disable workflow, Enable workflow or Delete workflow.

Disabled workflows are listed under DISABLED WORKFLOWS. To see when a workflow ran, select See details and open History.

On this page