You can generate a dynamic OTP inside your chatbot flow using the Number Formatter – Random Number Generator.
Steps to Generate OTP #
- In your Bot Flow, click Add Automation App.
- Search for Number Formatter.
- Select Random Number Generator.
- Set the range:
- Minimum Value →
1000 - Maximum Value →
9999
(This ensures a 4-digit OTP is generated.)
- Click Run to test the generated number.
- Click Save.
Store the OTP #
- Use Save Variable Value or store it in a Bot Field (e.g.,
generated_otp).
The generated value can now be sent to the user and used later for OTP validation within the flow.