User Actions
User event Actions provide authentication and account management for Web and Native App — registration, login, verification codes, contact binding, and account lifecycle.
User Actions include:
- Refresh current user data
- Send verification code
- Verify verification code
- Register account
- User login
- Bind contact information
- Unbind contact information
- Reset password
- Logout
- Deregister account
Refresh Current User Data
Purpose
Refresh the in-app current user snapshot after profile, binding, or password changes so UI matches the server without a full reload.
Configuration and Output
Add Refresh current user data on a button, or chain it after bind/unbind, password reset, or profile update Actions.
Send Verification Code
Purpose
One-time codes for sign-in, sign-up, password reset, bind/unbind account, and deregistration.
- Built-in service: Momen built-in email delivery (SMS availability depends on project configuration and region).
- Bring your own channel: Connect third-party SMS, email, or other providers via Actionflow.
Custom delivery requires a project on Basic tier or higher.
How it works:
- Generation: Running Send verification code creates a 6-digit numeric code and stores recipient, code, and scenario in an internal table.
- Delivery:
- System mode: Sent through the built-in channel.
- Custom mode: Passes
send to,verification code, andscenariointo a designated Actionflow that performs delivery.
- Verification: On login, register, or other final Actions, inputs are compared to the stored record; a match succeeds.
Configuration
Action settings
| Field | Type | Description |
|---|---|---|
| Delivery method | Enum (SMS / Email / Custom) | SMS or Email uses built-in delivery; Custom requires Custom config below. |
| Custom config | Custom config | Required when delivery method is Custom. |
| Scenario | Enum (Register / Login / Reset / Bind account / Unbind account / Deregistration) | Must match later Actions (e.g., login). |
| Send to | Text | Recipient email or phone number. |
Custom delivery setup
Step 1: Create a send Actionflow
- Create an Actionflow with inputs:
send to,verification code,scenario. - Add send nodes (e.g., built-in Twilio SMS, email nodes) or call external APIs.
- Bind Actionflow inputs to send node parameters.
Step 2: Add custom configuration
- Go to Settings → Verification code and add a custom configuration.
- Set:
- Name: Label (e.g., Twilio SMS).
- Actionflow for sending verification code: Actionflow from Step 1.
- Actionflow inputs: Under Constant in data binding, map Send to, Verification code, and Scenario to Actionflow inputs.
Step 3: Use the configuration
In Send verification code, select the custom config under Custom config.
Verify Verification Code
Purpose
Validate the code the user entered before running sensitive follow-up Actions.
Configuration and Output
- Add Verify verification code; choose delivery method; bind phone/email and code inputs.
- Configure On success / On failure (e.g., Show Toast, proceed to login).
| Select Action | Delivery method |
|---|---|
![]() | ![]() |
Register Account
Purpose
Create a new account with username, email, phone, and password. Supports username, phone, and email registration paths; email/phone verification optional per project settings.
Configuration and Output
Add inputs and a button; configure Register account; bind username, phone, email, verification code, and password fields.
| Username | Phone | |
|---|---|---|
![]() | ![]() | ![]() |
Notes
- On success, Momen creates account data and links the account table record.
- Configure Show Toast on success and failure.
User Login
Purpose
Sign in with username/password, phone (code or password), or email. SSO may be available when configured — see SSO configuration.
Configuration and Output
Add inputs and a button; configure User login; bind credentials and verification fields.
| Username | Phone + code | Phone + password | |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Notes
Configure Show Toast or navigation Actions on success and failure.
Bind Contact Information
Purpose
Add and verify a phone number or email on the account for recovery and notifications. Updates the account record on success.
Configuration and Output
- Add Bind contact information on a button; bind phone/email input.
- On the send-code button, set scenario to Bind account.
| Bind phone | Bind email |
|---|---|
![]() | ![]() |
Unbind Contact Information
Purpose
Remove a bound phone number or email. Clears the field on the account record.
Configuration and Output
Add Unbind contact information; bind verification code input.
- Set send-code scenario to Unbind account.
| Unbind phone | Unbind email |
|---|---|
![]() | ![]() |
Reset Password
Purpose
Reset a forgotten password via verified phone or email.
Configuration and Output
Bind phone/email, new password, and verification code; configure Reset password on a button.
| Phone reset | Email reset |
|---|---|
![]() | ![]() |
Logout
Purpose
End the current session. Closing the browser or app does not always clear server session — use Logout for explicit sign-out.
Configuration and Output
Add Logout to a button. Optionally chain refresh or UI update Actions. Logout does not delete database records.
| Select Action | Result |
|---|---|
![]() | ![]() |
Deregister Account
Purpose
Permanently delete the account and associated data. Irreversible; requires verification code or password confirmation.
- Set send-code scenario to Deregistration when using code-based deletion.
| Code deregistration | Password deregistration |
|---|---|
![]() | ![]() |
Configuration and Output
Add inputs (verification code or password) and Deregister account on a button; bind fields.
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)

.png)
.png)