Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »


1. How do I generate an OTP for call verification?

Not directly, but we can do the following:

  1. $sys.time provides value like: 18:40:44.165

  2. We can use the “Regex Extract” to extract the last 3 digits (milliseconds) using Regex .([0-9]{3}) and the last digit of seconds ([0-9])\., that is 4.165 and save it in $flow.key.otp_1 and otp_2

  3. Concatenate both to create a 4 digit OTP.

How to do it:

  1. Operation Widget Overview(Kindly Ignore the Operand $sys.datetime in the snippet below → It’s $sys.time only.

2. Input

3. $flow.key.otp_1

4. $flow.key.otp_2

5. $flow.key.otp

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.