This section will explain the 99minds workflow in detail and the role of each component during the workflow journey. The 99minds workflow is tightly encapsulated within 4 steps -
- Integrate merchant application with 99minds APIs
- Build the rules (with coupons, discounts, and so on)
- Validate customer interactions with the rules in the rule engine
- Send the results (actions) that will deliver the rewards/promotions to the customer
Integrate merchant application with 99minds
The first step in the workflow is to integrate the merchant application with 99minds. The application will connect with the APIs exposed by the 99minds engine. Once connected, the application will send information about the customer profile, customer orders and other significant activities performed by the customer to the API.
For more details about the APIs and SDKs, refer this section.
Build the Rules
The next step is to build the rules. Rules form the framework of the engine. A Rule is associated with specific Rules and Actions. When the Rules are validated successfully, the Actions will be triggered on a per use case basis. The rules can be based on multiple conditions or, for example, to check for a coupon code, referral code. Based on the result of the rules, the corresponding actions such as adding loyalty points, redeeming coupon code, applying discount will be executed.
For more details about accessing the rule builder, building a rule, and defining the actions, refer the Rule Builder documentation.
Validating with rules in the Rule Engine
Every rule created in the 99minds engine will be stored within the Rule Engine. When any event is received from the API (from merchant to 99minds API), the information is first sent to the rule engine to see which actions must be triggered.
Trigger actions back to the application
Actions will be triggered only when one or more rules are valid in the rule engine. Some examples of actions are "Apply discount of 5%, Add Loyalty Points" and so on.
For more details about the different actions and using them, refer this section.