FlowmageDocs

Check verification code

BetaChanges data

Checks the one-time code a person typed.

Settings

SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Verification idRequiredThe id Send verification code answered with.
Code the person typedRequiredEvery check spends one of the attempts you allowed, whether the code is right or wrong.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
verifyIdtextits `{{ }}` must give a string
codetextits `{{ }}` must give a string

Output

FieldType
verifiedWhether the code was rightboolean
statusStatus (verified, failed, expired)string
verifyIdVerification idstring
Sample output, and the expression for each field
  • status"verified"
  • verifiedtrue
  • verifyId"vf-1"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "code": "<code the person typed>",
    "connection": "<connection id>",
    "verifyId": "<verification id>"
  },
  "label": "Check verification code",
  "type": "messagebird.checkVerificationCode",
  "version": 1
}