> For the complete documentation index, see [llms.txt](https://hub.equipme.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.equipme.io/equipme/automation/workflows/types-of-modifiers.md).

# Types of modifiers

### Object Modifiers

| Modifier  | Description                                                        |
| --------- | ------------------------------------------------------------------ |
| Each      | Loops over all values of a list or an object.                      |
| JSON Path | Accesses nested properties of the VALUE object using dot notation. |
| Map       | Maps an array to another array.                                    |
| Stringify | Converts an object or list to a JSON string.                       |

### List Modifiers

| Modifier    | Description                                                                  |
| ----------- | ---------------------------------------------------------------------------- |
| Deduplicate | Filters unique values or objects in an array if a property name is provided. |
| Each        | Loops over all values of a list or an object.                                |
| Filter      | Returns a new list with values that pass a condition.                        |
| First Item  | Finds the first item of a list.                                              |
| Flatten     | Flattens an array one level deep or recursively.                             |
| Initial     | Gets the first element(s) of an array.                                       |
| Join        | Joins items into a single text string.                                       |
| Last Item   | Finds the last item of a list.                                               |
| Length      | Calculates the length of a text or list.                                     |
| Map         | Maps an array to another array.                                              |
| Max         | Finds the maximum value of an array.                                         |
| Mean        | Calculates the average (arithmetic mean) of values in an array.              |
| Min         | Finds the minimum value of an array.                                         |
| Nth Index   | Finds the nth item of a list.                                                |
| Pick        | Picks nested object values from the list.                                    |
| Reverse     | Reverses the order of an array.                                              |
| Shuffle     | Shuffles values of an array.                                                 |
| Stringify   | Converts an object or list to a JSON string.                                 |
| Sum         | Computes the sum of values in an array.                                      |
| Tail        | Gets all but the first element(s) of an array.                               |

### Text Modifiers

| Modifier           | Description                                                  |
| ------------------ | ------------------------------------------------------------ |
| Add                | Adds two numbers or concatenates two strings.                |
| Base64             | Generates a base64 string.                                   |
| Camel Case         | Converts text to camel case (e.g., "Foo Bar" to "fooBar").   |
| Decode URL         | Decodes a URL or URL component.                              |
| Encode URL         | Encodes a URL or URL component.                              |
| Escape HTML        | Converts characters to HTML entities.                        |
| Extract Emails     | Finds all email addresses in the text.                       |
| Extract URLs       | Finds all URLs in the text.                                  |
| Extract Words      | Splits the text into a list of words.                        |
| Kebab Case         | Converts text to kebab case (e.g., "Foo Bar" to "foo-bar").  |
| Length             | Finds the length of a text or list.                          |
| Lowercase          | Transforms text to lowercase.                                |
| MD5                | Generates an MD5 hash of the text.                           |
| Regex              | Finds matches using a regular expression.                    |
| Replace            | Replaces part of the text using patterns.                    |
| SHA1/SHA256/SHA512 | Hashes text using the SHA1, SHA256, or SHA512 algorithms.    |
| Snake Case         | Converts text to snake case (e.g., "Foo Bar" to "foo\_bar"). |
| Split              | Splits text by a specified delimiter.                        |
| Trim               | Removes leading/trailing whitespace or specified characters. |
| Uppercase          | Transforms text to uppercase.                                |

### Control Modifiers

| Modifier            | Description                                              |
| ------------------- | -------------------------------------------------------- |
| Condition           | Sets a condition for values in a flow.                   |
| Custom Fields       | Returns custom fields defined in the flow.               |
| Equals              | Tests equality between two values.                       |
| Flow ID             | Returns the current flow ID.                             |
| Flow Name           | Returns the current flow name.                           |
| Not                 | Inverts a Boolean value.                                 |
| UUID v4             | Generates a UUID version 4.                              |
| JavaScript Function | Allows running JavaScript to transform a variable value. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hub.equipme.io/equipme/automation/workflows/types-of-modifiers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
