Momen Docs
Go to Momen
  • Get Started
    • Introduction
    • Quick Start
    • Software Development Process
    • Editor Overview
  • Changelog
    • Latest Product Update
  • Build UI
    • Pages
    • Components
    • Canvas
    • Layout
    • Component - Display
    • Component - Input
    • Component - View
    • Component - List
    • Component - Tab View
    • Component - Select View
    • Component - Conditional View
    • Component - Others
    • Component - Map
    • Custom Component
  • Data
    • Overview
    • Data Model and Database
    • API
    • Variable
    • Parameter
    • Formula and Conditions
  • Actions
    • Overview
    • Request
    • Navigation
    • Actionflow
      • Custom Code
      • Database Trigger
    • AI
      • AI Data Model
      • AI Point
      • Vector Data Storage and Sorting
    • User Actions
    • Component Management
    • App and Page Management
    • Toast Notifications & Modal
    • Payment
    • SSO
    • Share
    • Location
    • File Management
    • QR Code
    • Clipboard
    • Conditional
    • Loop
  • Release and Growth
    • Publish Application
    • Upgrade Project
    • Multiple Clients
    • Permission
    • Log Service
    • SEO
    • Hosting Files
  • My Account and Community
    • My Wallet
    • Promoting Momen
    • Code Component
    • Collaboration
  • Debugging
    • How to Debug in Momen
    • Request Error Reference
  • Tutorial
    • How to Build an AI Needs Analysis Project?
    • How to Set Up Payment with Stripe Plugin?
    • How to Embed an Iframe Component into Your Momen Project?
    • How to Build Your Login Page?
    • How to Convert Momen App to Native Mobile App?
    • How to Build a CMS (MVP Version) in Hours?
    • How to Set a Countdown Timer When Sending a Verification Code
  • Template
    • AI Mental Health Assistant
    • Angry Dietitian
    • AI Help Center
    • AI Knowledge Base
    • SaaS Corporate Site
    • Blog
    • AI Feedback Tool
    • Feedback Tool, a Nod to Canny
    • Portfolio
    • Online Courses, a Nod to Udemy
    • Mobile Auto Repair AI Scheduler
Powered by GitBook
On this page
  • Types of actions
  • 1. Built-in action
  • 2. Custom actions via API
  • 3. Use actionflow to streamline complicated business processes
  • To add an action
  • Note
  1. Actions

Overview

PreviousFormula and ConditionsNextRequest

Last updated 1 day ago

Action refers to a series of event sets and is one of the fundamental elements of building software. By properly configuring actions, users can implement app interactions such as page navigation, data operations, and complex interaction or business processes. With APIs and actionflows, users can configure custom actions and complex actionflows to meet various business scenarios.

Types of actions

1. Built-in action

Momen provides 16 categories and over 100 types of built-in actions, covering common interaction needs such as triggering AI on click, payments, sharing, navigation, and operations on pages or components. Common actions include:

  • Request: Used for CRUD operations on data tables, invoking pre-configured APIs, and triggering actionflows.

  • Navigation: Enables navigation between internal pages or to external URLs.

  • AI: Requires prior configuration of AI models via the AI feature. Once configured and tested, AI actions can be triggered on the frontend or in actionflows.

  • Login: Allows building user authentication systems by configuring login methods (username/password, email, phone, or SSO) in "Settings > Login Settings" and adding login actions to components.

  • Payment: Supports monetized apps by enabling payment features in settings and adding payment actions to components for user transactions, including payments and refunds.

2. Custom actions via API

In addition to more than 100 built-in actions, you can also customize actions through the API function. After adding a custom API, you can execute the API in the application with the "Request - API" action.

3. Use actionflow to streamline complicated business processes

In complex business scenarios, a series of data operations may be required. At this time, the actionflow is an ideal solution. The actionflow allows users to connect multiple action nodes to form a complete actionflow. It supports a variety of nodes, including adding, deleting, and modifying the database, calling third-party APIs, executing code blocks, and AI operations. Users can also set condition branches to handle different business logic paths. The triggering method of actionflow is diverse. In addition to the button click, it also supports time-triggers such as regular triggers, data changes, and webhooks to facilitate building action automation.

To add an action

  1. Find a component that needs to be configured and click "Action" to add new actions.

  2. If you need to configure follow-up actions, you can add new actions in the [Actions on success] or [Actions on failure] section.

Note

  1. Multiple actions under the same component have no guaranteed execution order. If you want to strictly configure the execution order, please use "success" and configure the subsequent action in the success section of the preceding action.

  2. When multiple actions are configured, editing in the right column is difficult. You can open the "Action Editor" and edit in an independent pop-up window.