The Math Operation action in Enrollio workflows is a powerful tool that automates calculations on numeric and date fields. This feature is especially useful for dance studio owners who need to streamline tasks such as scheduling class dates, calculating fees, and managing enrollment metrics.
The Math Operation action in workflows allows you to perform calculations on numbers and dates. For example, a dance studio can automatically update class renewal dates by adding the appropriate period (such as one school term) to the current class end date. It’s a flexible tool for automating processes—from managing enrollment renewal to adjusting promotional pricing—and it integrates seamlessly with If/Else conditions for dynamic decision-making.
Here are several examples tailored to dance studios:
Class Schedule Renewal:Automatically extend renewal dates for ongoing dance classes by adding a specific period (e.g., one semester) to the current class end date. This ensures timely reminders for student re-enrollments.
Discounted Registration Pricing:Calculate discount amounts for early-bird registrations by subtracting a fixed discount fee from the total registration cost.
Instructor Bonus Calculation:Determine bonus payouts for instructors by multiplying their base pay by a bonus percentage when certain performance thresholds are met.
Event Countdown:Subtract the current date from the date of an upcoming recital or competition to display a countdown timer for your studio’s event promotions.
Inventory Management for Supplies:Subtract the number of items used (e.g., dance costumes or props) from the total inventory to trigger reorder notifications when supplies fall below a set level.
Navigate to the Operations drop-down and select the field that applies (add, divide, multiply, and subtract)
Please Note: The Select field and Update Field can be the same or different, but it has to be of the same field type
Next, enter the specific value amount and select “Save Action”
Date Field Type
Under Operations click on the select field - Current date
Add or subtract any days, months, and years to the current date or any date type field that apply
Once done select the “Save Action” button
Please Note: If the output value is negative then it will be replaced with zero
To set up a Math Operation in your Enrollio workflow:
Create or select a workflow:Start by creating a new workflow or choosing an existing one where you want to use math operations.
Add the Math Operation action:In the workflow builder, click on "Add Action" and select the "Math Operation" action from the list.
Choose the field to update:Select the numeric or date field that needs to be updated—for example, a field holding class start or end dates, registration fees, or enrollment counts.
Select the operation:Decide which mathematical operation to perform. For numeric fields, this might be addition, subtraction, multiplication, or division. For date fields, you might choose to add or subtract days, months, or years.
Input the operator:Enter the value or custom field to use in the calculation. For instance, if you want to add 30 days to a class end date, input "30". Custom fields can be inserted using the appropriate merge tags or syntax.
Update the field:Choose the target field in the "Update Field" dropdown. This can be a standard field, a custom field, or a custom value field, but ensure that the field type matches the source.
Save the action:Click "Save" to add the Math Operation to your workflow.
Activate the workflow:Once you have configured the Math Operation along with any additional actions and conditions, publish the workflow. The calculation will run automatically each time the workflow is triggered.
Combine with other actions and conditions:You can integrate Math Operations with actions such as sending emails or updating other fields, and use If/Else conditions to create more dynamic workflows. For example, update enrollment statuses based on calculated class capacities.
Numeric Field:
Purpose: Stores whole numbers or decimals (e.g., the number of enrolled students or class capacities).
Use Cases: Counting student registrations, calculating growth percentages, or tracking attendance trends.
Monetary Field:
Purpose: Stores currency values representing financial data such as registration fees and instructor payouts.
Use Cases: Calculating discounted prices, revenue from class fees, or cost adjustments for studio events.
Note: Ensure that the Select field and Update Field are of the same field type. If a Math Operation on a monetary field yields a negative value, it will be replaced with zero to maintain accuracy.
Date Field:
Purpose: Stores dates and timestamps (e.g., class start dates, recital dates, or enrollment deadlines).
Supported Operations:
Add/Subtract Days: Adjust class or event dates.
Add/Subtract Months: Update renewal or billing cycles.
Add/Subtract Years: Set long-term milestones such as anniversaries or membership renewals.
This field represents the current date and time according to your studio’s settings in Enrollio.
Supported Operations:
Add/Subtract Days, Months, or Years: Use these operations to schedule reminders or update class deadlines relative to the current date.
Monetary Field Constraints:Prevent negative registration fees or discount amounts. If a subtraction operation results in a negative value, the system will update the field to zero.Example: If a discount calculation yields a negative registration fee on a promotional campaign, set the final fee to zero.
Numeric Field Constraints:Numeric fields can support both positive and negative values. For instance, tracking a net profit/loss in studio finances can account for negative values, so no extra handling is required.
Using the Math Operation feature in Enrollio provides several advantages for your studio:
Automation:Streamlines repetitive calculations such as fee updates, enrollment renewals, and schedule adjustments—freeing up your time to focus on dance instruction.
Accuracy:Minimizes human error in your financial or scheduling data, ensuring that class dates, fees, and budgets are calculated precisely.
Customization:Allows the use of custom fields and variables, so you can tailor calculations specifically for your studio’s fee structures and class schedules.
Improved Decision-Making:Provides valuable data insights for planning events, managing budgets, and optimizing class schedules.
Time-Based Scheduling:Automates time-sensitive processes using date calculations, ensuring timely follow-ups and reminders.
Scalability:Handles increasing volumes of enrollment data and scheduling adjustments efficiently as your studio grows.
Can I perform multiple math operations in a single workflow step?No, each Math Operation action in a workflow handles one calculation at a time. However, you can string together multiple Math Operation actions to execute complex calculations.
How do I handle rounding errors or decimal precision?Most systems manage decimal precision internally, but you can add custom logic or rounding functions in your workflow if you need more control over rounding.
Can I perform math operations on custom date fields?Yes, dance studios can create custom date fields—such as specific program start dates—and perform math operations to update them automatically.
Are there limitations on the range of values in math operations?The range depends on the field type and system capabilities. Monetary fields cannot go below zero, whereas numeric fields may handle both positive and negative values.
Can I use the result of a math operation in an If/Else condition?Absolutely. For instance, use the result of a calculated enrollment number to trigger different actions—for example, send notifications if a class reaches capacity or if a registration fee discount applies.
Can math operations use data from external sources, such as APIs?While Math Operation actions primarily use Enrollio’s built-in numeric and date fields, some systems allow you to integrate data from external APIs through custom fields.
Can I combine Math Operation actions with other workflow actions and triggers?Yes, integrating Math Operations with other actions, triggers, and conditions enables you to build comprehensive workflows—for instance, automating class scheduling based on calculated dates and enrollment figures.
Enrollio’s Math Operation action helps you manage your dance studio more efficiently by automating critical calculations, ensuring accurate scheduling, fee calculation, and more. Whether you’re updating class dates for next term or adjusting promotional discounts for early enrollment, this feature is designed to keep your studio running smoothly so you can focus on inspiring your young dancers.