Is Verification Code Valid Action Application Steps
Log in to the Kuika platform.
Select the project you want to work on from the Apps screen.
Go to the UI Design module.
Open the Properties panel on the right side.
Select the relevant component (e.g. ‘Verify’ button).
+ ADD ACTION menu, add the Authorisation > Is Verification Code action according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).
Define the following parameter:
Verification Code (String - Required): The verification code entered by the user. It is usually taken from an input field.
It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed, and can be linked via the Symbol Picker tool.
Sending the Verification Code (API or Backend)
How the verification code is sent:
The verification code is usually sent to the user via SMS or email beforehand.
This process is typically configured as a separate action that runs when the user clicks the ‘Send Code’ button.
Example scenario for sending the code:
Add an OnClick action to the ‘Send Code’ button.
This action allows you to send the verification code to the backend with a Service Call (e.g. POST /send-verification-code).
The user's phone number or email address is sent to the backend in the Request Body.
The backend generates and sends the verification code for this user.
After completing the configuration, click the SAVE button.