Soracom API Action

The Flux Soracom API Action executes a specified Soracom API with the permissions of a SAM User.

Configuration

Condition

In the Action Condition section, you can specify the conditions under which the action will be executed using the values (Message or Context) from the event source to the channel. For more details on the expressions you can input, please refer to Action Condition Expressions.

In this input field, you can enter expressions representing data related to the trigger that starts the Flux application (e.g., event.payload.temp) or data related to the channel where the action is added (e.g., payload.temp).

Config

Configure the settings for the Soracom API Action.

Output

Configure how to handle the output data of the action. Refer to Enable Republishing of Action Output for more details.

Output Data of the Action

The output data of a Soracom API action is the response body of the executed API, which varies by API. Refer to the API Reference for details.

The maximum response body size is 32,768 bytes. Exceeding this limit results in an error:

Failed to send a http request. Response too large. Max size: 32,768 bytes. If the API supports limiting response size via parameters like limit, adjust accordingly. APIs with large, unadjustable responses cannot be used with Soracom API actions.