Generate OTP

Reference documentation for using the Generate OTP action

Written By Support Channel

Last updated 8 months ago

Overview of the Generate OTP action

The Generate OTP action creates a temporary one-time password (OTP) based on your chosen settings, such as the length or format of the code. This password is then stored in a variable, which can be used later in the chatbot to send to the user or verify their identity.

Purpose

Create a one-time password

Parameters

One Length, One Include

Output

Generated OTP

Understand the Generate OTP action

The Generate OTP action allows you to customise how the resulting password will be created. The following customisation options are available:

Length

Specify the number of characters the OTP should contain.

Include

Choose the type of characters to include in the OTP:

  • Numbers only

  • Letters only

  • Numbers and letters

Create and manage Generate OTP actions

Add a Generate OTP action

Add the action

Use the following steps to add the action to a workflow.

Configure the action

Use the following steps to configure the action.

  1. Select Length and Include settings

  2. Click back in the main view to hide the slide-over.

Delete a Generate OTP action

Use the following steps to remove the action from your workflow:

Take care when deleting an action to also remove any logic using its outputs: workflow steps may function incorrectly or break if they attempt to evaluate an output of a deleted action.

Use the Generate OTP action

After using the Generate OTP action, you will be able to use / to call on and utilise the output value under the Generate OTP category.