Wait for a USSD push on a SIM

Wait for a USSD message sent by the network, such as a balance alert or a promotion, and verify its content when it arrives.

USSD (Unstructured Supplementary Service Data) is the service behind operator short codes like #100#, where the network answers with a text screen. A push is a USSD message the network sends on its own, without any code being dialed. The action sends nothing: it watches the SIM. When an earlier action triggers the push, start watching from that action so the message isn't missed.

Parameters

ParameterRequiredDescription
Expected MessageNoThe push content you expect. The result records the match ratio.
Check reception from a previous stepNoStart watching from a previous action's position instead of this one, for pushes triggered earlier in the flow.
Reception is optionalNoThe test passes even if no push arrives; variables get their default values. Default: off.

Results and metrics

In the action report (result):

FieldDescription
messageThe push content received.
sessionSession state after the push: alive or close.
ratioMatch ratio (0 to 100) against the expected message.
relative_durationHow long after the watch started the push arrived, in seconds.
dynamic_variablesValues extracted from the push into variables.

In Analytics, each run feeds the USSD push measurement with reception_duration_seconds and duration_seconds, tagged by status, antenna, and access technology.

What's next?

USSD Command

Trigger the flow that causes the push

Wait SMS

The same pattern for incoming SMS

Last updated on