Skip to main content

Components

Apps consist of components in Superflow. With those components you can create the frontend of your app, run app logic and store data.

Available components: Pages*, Blocks*, Flows, Functions, Data Collections and Variables.

*Available later this year

Example: Loyalty App

Let's have a look at a very simple loyalty app that is using components. This app will award customers with points for each purchase they make.

  • Create a Flow called "Order Created" that triggers every time a new order is created.
  • Within the Flow, use a Function to calculate the number of points that are awarded, based on the total value of the order.
  • Store the customer's reward points in a Data Collection called "Reward Balance".
  • 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.