Skip to content

TeleSign Verify SMS Code

Client SDK
Sub-journey

Checks a user-supplied code against the one that was sent

Description

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.

This step is user-facing

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.

Configuration

FieldRequiredDescription
Generated CodeYesExpression that yields the code produced by TeleSign Send SMS Verification Code, via its output variable.
User Entered CodeYesExpression that yields whatever the journey collected from the user.
Output Variable—Name of the variable that stores the result.
Journey event data

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.

Branches

BranchWhen it occurs
VerifiedGenerated Code and User Entered Code match.
Not VerifiedThey don't match.
FailedThe request to TeleSign fails outright.

Example

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.