Creating Rule-Driven Emails Based on Business Logic

Creating Rule-Driven Emails Based on Business Logic

Rule-driven emails are automatically generated or populated by applying predefined business rules and logic. These rules are tailored to meet the unique requirements and workflows of a business, ensuring that the generated emails conform to the organization’s specific standards and regulatory needs.
For instance, you can use business logic to customize email campaigns, such as offering a special reward to customers who spend over ₹50,000 on a specific card in their monthly statement. If a user spends less, the offer won’t appear, ensuring personalized communication.

Naming the section: In the email structure, each section is regarded as a block. Therefore, prior to applying any rules to a particular section, it is essential to assign a name to that section.

Hover over the desired section where you want to apply the rule; two options will appear on the right side. Click on the settings option, prompting a window to open on the left side, allowing you to input the name of the section. 



Enter the name in the designated field. 



Now that the section has been named, let's explore how business logic can be applied.
Before proceeding to business logic, ensure that the necessary variables have been created. Once the required variables are in place, proceed to the business logic section.

1. Navigate to the Business Logic Section and select “Add New Business Logic.” 



2. Assign a name to your Business Logic. Upon naming, a window will present itself with several fields to be filled. 



3. In the first step, select the Variable pertinent to this section. The efficacy of the business logic hinges on the variable chosen here. 



4. In the following section, select the condition to be applied to this logic, by clicking on the Equals drop down list, which lists out multiple conditions based on the input given. 



5. The Result field will illustrate the outcome derived from the applied conditions.  



6. In the Display area, specify which section should be visible. After you've named your section, it will become selectable here. 



After saving the business logic with the required conditions, it will appear as follows:



Condition types:
Match First: Enabling this option will display the section based on the first rule that matches, disregarding subsequent rules.

Match Last: This option matches with all sections and displays the section that matches the last. For instance, in a set of three rules, if it matches both the 2nd and 3rd rules, the system will display only the section corresponding to the 3rd rule.

Match All: This option matches with all rules and displays sections for which all rules match. 



Add or Remove Conditions:
Users can easily add new conditions, include multiple rules within the same business logic, or remove existing conditions and rules as needed.
Adding a New Condition:
To add a new condition alongside the current condition, click the +New Condition button located at the bottom.



To insert a new condition within the same rule, click the +Add More button inside the condition. This will add the new condition below the existing one.



Adding a New Rule:
Click on Add More Rule to create a new rule, which will appear next to the existing rule. 



Removing a Condition:
To delete an existing condition, click on the delete symbol within the condition.



For a newly added condition, click the corresponding delete symbol to remove it. 



Removing a Rule:
Hover over the rule you want to delete and select the Remove Rule option to remove it.

 
VIDEO DEMO:


    • Related Articles

    • Creating Rule-Driven Documents Based on Business Logic

      Rule-driven documents are automatically generated or populated by applying predefined business rules and logic. These rules are tailored to meet the unique requirements and workflows of a business, ensuring that the generated documents conform to the ...
    • Triggering Emails Through Excel Uploads

      The system offers a straightforward way for users to trigger personalized Emails by uploading customer data via Excel sheets. This feature is particularly beneficial for small businesses that lack access to third-party API systems. It streamlines the ...
    • How to Attach Files and Edit the Subject Line in Emails

      Users can set the subject of the email while creating the email template. However, if they wish to edit the subject line later, this can be done through the "Attachments & Subject" menu. 1. Navigate to the "Attachments & Subject" menu. 2. At the top, ...
    • Deleting a Section in Email Templates

      To delete a section from the template, hover over the desired section. A dialog box will appear on the right side, presenting two options: Settings and Delete. Click on the Delete button to remove the section. A warning message will appear, notifying ...
    • Introduction to Dashboard

      The Dashboard serves as a comprehensive hub for retrieving information regarding the generated documents, short messages and emails within the system. It categorizes data based on both weekly and yearly usage, facilitating a thorough overview. The ...