Components
In Superflow, Apps consist of components. With those components you can create the frontend of your App (Coming soon!), run App logic and store data.
Available components: Flows, Functions, Data Collections and Variables.
Components coming soon: Pages, Blocks.
Example: Loyalty App
Let's have a look at a very simple loyalty App that is using multiple components. This App will award customers with points for each purchase they make.
-
Flow: Create a Flow called "Order Created" that triggers every time a new order is created.
-
Function: Within the Flow, use a Function to calculate the number of points that are awarded, based on the total value of the order.
-
Data Collection: Store the customer's reward points in a Data Collection called "Reward Balance".
-
Blocks (Coming soon!): Add a Block to the "User Account" page of your store to display the current balance of the customer's reward points.
Now start building your own Apps today with Superflow components!