Checks a user-supplied code against the one that was sent
This step checks a user-supplied code against the one sent via TeleSign Send SMS Verification Code. Before using this step, configure a TeleSign connection in Integration Hub.
Same client-side caveat as TeleSign Send and Verify SMS Code — the client application or SDK needs to have collected the code from the user before this step runs.
| Field | Required | Description |
|---|---|---|
| Generated Code | Yes | Expression that yields the code produced by TeleSign Send SMS Verification Code, via its output variable. |
| User Entered Code | Yes | Expression that yields whatever the journey collected from the user. |
| Output Variable | — | Name of the variable that stores the result. |
This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see Additional data reporting.
| Branch | When it occurs |
|---|---|
| Verified | Generated Code and User Entered Code match. |
| Not Verified | They don't match. |
| Failed | The request to TeleSign fails outright. |
Continuing from TeleSign Send SMS Verification Code: a Collect information step collects the code the user entered, storing it in codeForm.code. This step is configured mapping Generated Code from telesignSend's output and User Entered Code = codeForm.code, storing the result in an output variable named telesignVerify. A following Condition step checks the result before proceeding.