Request | Actionflow
Learn to configure and integrate custom action flows seamlessly in Momon.
Introduction
Learn to configure actionflows and integrate them into buttons or other components. Whether you aim to streamline user interactions or enhance functionality, this guide provides step-by-step instructions.
Definition
Custom Action: It refers to calling an actionflow, after configuring the actionflow, you can call it in a button or other components/action.
Basic Configuration
Example: User clicks a button to execute an action
Add a button
Add a action to the button [Request/Custom Action].
Select the desired action flow, and if there are inputs, configure the inputs under "Required Parameters".
Actions on Success
When this custom action request is successful, you can configure other actions to be performed here.
Result Data
After the custom action is executed successfully, if the action has set the output parameter, the content of the output parameter can be referenced in the [Result Data].
For example: The role of the custom action is to encrypt text using MD5, and the output parameter is the specific ciphertext generated. If you want to use this ciphertext, you need to first define a text type [Page Data] on the page, and then add the [Set Page Data] action when the custom action succeeds. The value of the page data will be assigned as follows: "Result Data/Code Block Name/Output Parameter Name".
Action on Failure
Actions executed when a request fails
Misconfiguration in the custom action.
Network errors, such as network fluctuations, network outages, etc.
About Momen
Momen is a no-code web app builder, allows users to build fully customizable web apps, marketplaces, Social Networks, AI Apps, Enterprise SaaS, and much more. You can iterate and refine your projects in real-time, ensuring a seamless creation process. Meanwhile, Momen offers powerful API integration capabilities, allowing you to connect your projects to any service you need. With Momen, you can bring your ideas to life and build remarkable digital solutions and get your web app products to market faster than ever before.
Last updated