# Wix Automations: Customizing Your Data with a Formula Field

Source: https://support.wix.com/en/article/wix-automations-customizing-your-data-with-a-formula-field (updated 2026-02-02)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

> **Before you begin:** This article is intended for advanced users. Creating advanced expressions using the formula field requires familiarity with schema properties and data types/formats.

In Wix Automations, use the formula field to build complex expressions and manipulate data. It enables you to create custom workflows using a combination of functions and schema properties.

To convert an automation field into a formula field, click **Customize** above the field. This opens a comprehensive list of data types, functions, values, and schema properties, providing everything you need to build your expression.

![A screenshot of the formula field list with an expression being created.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/20/8bd35a7a-b058-438a-8067-18fcc61f8d4a/e6b22a62-bfa7-4e26-9027-576a165bb1af.jpg)

---

## The formula field tabs

When you convert a field into a formula field, multiple tabs help you build expressions and logic for your automation flows. Click their names at the top to navigate between tabs and select elements to add to your expression.

## The Properties tab

The **Properties** tab lists all the data available from the triggers and actions in your automation flow. For example, if the trigger is Wix Forms, this tab displays form-related data, such as form fields. [Learn more about using the property picker.](https://support.wix.com/en/article/the-new-automation-builder-using-the-property-picker)

## The Functions tab

The **Functions** tab offers a categorized library of customizable functions to help you build complex logic. Functions are grouped into categories like Math, Text, Date & Time, Array, and Logic. Hover over a function to view details, including its description, examples, and return data type.

![An example of hovering over a function type to see more info.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/18/b53d77f8-3d54-482a-b2c1-6ea38216447a/ebeeb221-e876-4236-9692-db20dbb98528.jpg)

> **Important tips:**
>
> * Ensure you're using the correct input [data type](https://support.wix.com/en/article/the-new-automation-builder-using-the-property-picker#the-available-data-types) and consider the output of the function. For example, if you choose a Text data type like 'Contact Email' in a Sum function, you will encounter an error (see the image below). The Sum function requires a numeric input, not text.
> * If you need to replace the data type (e.g., replace a 'Sum' function with a 'Concat' function which expects text) click **Clear** at the top right of the formula field to reset the expected output type. Otherwise, you will receive an error, as the field already expects a number output.

![A screenshot of a function error with an incorrect data type.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/18/df923c3e-f29e-42e1-966f-d7ba53c68a7b/000002ef-478c-4c28-b296-b327d78261b2.jpg)

## The Values tab

The **Values** tab provides context-specific values for your flow, including those from triggers and general values like the current date, which can be selected using the date picker. These values can be used as inputs when building your expressions.

---

## Building an expression with the formula field

Customize your automation flow by converting a field into a formula field. This allows you to build complex expressions using the different tabs.

### To build an expression with the formula field:

1. [Create or edit an automation.](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder)
2. Click the step you want to adjust (e.g., condition).
3. Click **Customize** next to a field to convert it into a formula field.
4. Build your expression using the Properties, Function, and Values tabs.
5. Click **Apply**.

Click the example below to view step-by-step instructions of how to set up an expression with the formula field.

**Example of using the formula field to build an automation**

Sarah owns an online store. She wants to automate a check on all new products created to see if their profit margins fall below a certain percentage of their cost. If they do, a member of Sarah's team should automatically receive a task to enhance that product's profitability. She can set up this automation using a formula field.

  
**To build this automation using a formula field:** 

1. [Create an automation from scratch](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder).
2. Make sure **Product created** is selected as the trigger.
3. Click **+** to add a step.
4. Click **Condition**.
5. Click the [property pop-up](https://support.wix.com/en/article/the-new-automation-builder-using-the-property-picker) to select **Profit**.  
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/19/e8ad5e67-7bda-48bc-b6d7-340ad915c731/58fec61a-a463-4b9e-a2f3-d09d803a48e8.jpg)
6. Cilck the **Select logic** drop-down and select **'is less than**' under the Number data type.
7. Click **Customize** to convert the 'Enter a number' field into a formula field.
8. Click the **Functions** tab to start building your expression.
9. Under **Math** functions select **Multiply**.
10. Click the **Properties** tab.
11. Select **Item Cost** from the list (use the search bar if you can't locate it).
12. Enter the relevant percentage (e.g, 1.2) to the right of the semicolon in the expression.  
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/19/53b5a31d-8d43-4d36-a5b4-7f71dcd51463/b2588bf8-e7e0-413c-8215-01fd80f3e0ff.jpg)
13. Click **Apply**.
14. Click **+** to add a step in the **Then** flow.
15. Click **Action**.
16. Click **Create a task**.
17. Continue customizing your action:  
   * **Add a task for you or your team:** Write in a description of the task or instructions.  
   * **Assign to you or your team:** Select as assignee for the task.  
   * **Set a due date:** Toggle on or off a due date for the task.  
   * **Number of days to complete task:** Set the number of days assigned to complete the task.
18. Click **Activate**.

  
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/19/0a4c292e-e845-469b-83ac-41a67bd9febd/c12bc5e3-e1ac-4ea7-a7be-3c221de2ea0a.jpg)

---

## FAQs

Click a question below to learn more about using the formula field in Wix Automations.

**How do I know if a field is a formula field?**

If a field has a sigma icon, it can be converted into a formula field. Click **Customize** to open the list of properties, functions, and values.

  
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/71d20af0-560e-44a5-bb38-bf3f513b58fa/2024/12/18/c91e4847-2d42-4113-9d62-e662723d7369/9de5b0ec-eaa9-468d-b25f-a49ebc1ef303.jpg)

**Can I revert a formula field back to its original type?**

Yes. You can easily switch a formula field back to its original configuration by clicking the **Clear** button.

**What data types are supported in the formula field?**

Most common data types are supported, including text, numbers, dates, and arrays. However, some advanced configurations might restrict certain inputs, such as objects or specific types of arrays.

**What if my formula contains errors?**

If your formula has errors, they will be clearly highlighted with messages explaining the issue. You’ll need to fix these errors before you can save the formula. Learn more about [resolving errors in your formula](https://support.wix.com/en/article/automations-troubleshooting-formula-field).

**Can I use keyboard operators when building my formula such as '?,-,=,+'?**

Currently, keyboard operators like ?,+, -, and = are not supported. Instead, there are dedicated functions designed for these arithmetic operations.

**What are some tips for using a formula field effectively?**

* Start with simple formulas and gradually introduce complexity as needed.
* Leverage nesting by using functions as arguments for other functions to achieve advanced logic (and make sure they return the expected input).
* Consult function descriptions and examples.
