Articles in this section
Category / Section

Maths

2 mins read
Updated:

Maths by FlowMattic is a module that allows users to perform mathematical calculations based on the input provided within a workflow. It is a tool designed to make workflow automation more efficient and streamlined by providing a simple and user-friendly interface for performing calculations.

This module is particularly useful for businesses that deal with large as well as small volumes of data and require quick and accurate calculations. It eliminates the need for manual calculations, reducing the risk of errors and saving time. Additionally, it can be integrated with other modules in FlowMattic, allowing users to create complex workflows that include multiple calculations.

Step by Step Documentation for Maths by FlowMattic:

  1. To create a new workflow on FlowMattic in WordPress, you need to first log in to your WordPress dashboard and navigate to the FlowMattic -> Workflows. Now, click on the “New Workflow” button

new-workflow.jpeg

  1. By default, the trigger step is added with webhook module selected. Click on the trigger step and then in “Setup” tab, click the “Change” button, Then, choose the “Maths” module from the FlowMattic Built-in Tools-

choose-maths-module.jpeg

  1. Once you’ve selected the Maths module, choose “Execute Maths Equation” as the Action Event. Currently, there’s only one action event available for the Maths module.

  2. In the “Enter Math Equation” field, you can enter the equation you want to calculate. For example, if you want to add 10 to the total price of a WooCommerce order, you could enter “{woocommerce1.total} + 10”. This will add 10 to the total price of the order.

maths-write-equation.jpeg

You can use a wide range of mathematical operators and functions in your equations. For example, you can use “+”, “-”, “*”, “/”, “%”, and “^” to perform addition, subtraction, multiplication, division, modulo, and exponentiation, respectively. You can also use functions like “sqrt()”, “sin()”, “cos()”, “tan()”, “log()”, and “exp()” to perform more advanced calculations.

  1. Once you’ve entered your equation, click the “Continue” button at the bottom, and move to the “Test” tab. Now, click the Test Action to see the final result of your maths equation. The Maths module will perform the calculations based on your equation and return the result as an output.

  2. Finally, click on the “Save and Close” button to save the Maths module settings and close the settings popup -

maths-save-close.jpeg

Conclusion:

Using the Maths module by FlowMattic, you can easily perform calculations and data manipulation within your workflow. With its user-friendly interface and support for a wide range of mathematical operators and functions, the Maths module is a powerful tool for automating your calculations and saving time.The Maths module by FlowMattic allows users to perform calculations based on the input within the workflow. This can be useful for automating calculations and data manipulation within your workflow.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied