Soracom · Arazzo Workflow

Soracom Send SMS to Active IoT SIM

Version 1.0.0

Look up a SIM, branch on whether it is active, and send a downlink SMS only when it can receive one.

1 workflow 1 source API 1 provider
View Spec View on GitHub IoTCellularLPWANSIMLoRaWANSigfoxMVNOConnectivityEdgeJapanArazzoWorkflows

Provider

soracom

Workflows

send-sms-to-active-sim
Send an SMS to an IoT SIM only when it is active.
Reads the SIM, branches on its status, and sends the SMS to the SIM when it is active, otherwise ends without sending.
2 steps inputs: encodingType, payload, simId outputs: messageId, status
1
getSim
Read the target SIM so the flow can decide whether it is in a state that can receive an SMS.
2
sendSms
Send the SMS message to the active SIM and capture the returned message ID.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Soracom Send SMS to Active IoT SIM
  summary: Look up a SIM, branch on whether it is active, and send a downlink SMS only when it can receive one.
  description: >-
    A guarded SMS delivery flow for Soracom Air. The workflow reads the target
    SIM, and only when the SIM is in the active status does it send the SMS to
    the device; if the SIM is not active the flow ends without attempting an
    impossible delivery. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-2640.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-2640.20
      capability_name: SIM & eSIM Lifecycle Management
      spec: soracom-sim-api-openapi.yml
      confidence: 0.9
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: simApi
  url: ../openapi/soracom-sim-api-openapi.yml
  type: openapi
workflows:
- workflowId: send-sms-to-active-sim
  summary: Send an SMS to an IoT SIM only when it is active.
  description: >-
    Reads the SIM, branches on its status, and sends the SMS to the SIM when it
    is active, otherwise ends without sending.
  inputs:
    type: object
    required:
    - simId
    - payload
    properties:
      simId:
        type: string
        description: The SIM ID of the target SIM to message.
      payload:
        type: string
        description: The SMS message body to send to the device.
      encodingType:
        type: integer
        description: >-
          Encoding type of the message body. 1 for GSM 7-bit, 2 for UCS-2
          (default).
        default: 2
  steps:
  - stepId: getSim
    description: >-
      Read the target SIM so the flow can decide whether it is in a state that
      can receive an SMS.
    operationId: getSim
    parameters:
    - name: sim_id
      in: path
      value: $inputs.simId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
    onSuccess:
    - name: simActive
      type: goto
      stepId: sendSms
      criteria:
      - context: $response.body
        condition: $.status == "active"
        type: jsonpath
    - name: simNotActive
      type: end
      criteria:
      - context: $response.body
        condition: $.status != "active"
        type: jsonpath
  - stepId: sendSms
    description: >-
      Send the SMS message to the active SIM and capture the returned message
      ID.
    operationId: sendSmsToSim
    parameters:
    - name: sim_id
      in: path
      value: $inputs.simId
    requestBody:
      contentType: application/json
      payload:
        encodingType: $inputs.encodingType
        payload: $inputs.payload
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      messageId: $response.body#/messageId
  outputs:
    status: $steps.getSim.outputs.status
    messageId: $steps.sendSms.outputs.messageId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/soracom-send-sms-to-active-sim-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.