> For the complete documentation index, see [llms.txt](https://docs.heisenware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heisenware.com/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions.md).

# Function extensions

These tools provide additional, often simpler capabilities for data processing beyond functions:

* [**Modifier**](/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions/modifier.md)**:** Transform function output using JavaScript or JSONata.
* [**Filter**](/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions/filter.md)**:** Interrupt or continue flows by generate`true` or `false` values.
* [**Error Handler**](/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions/error-handler.md)**:** Catch potential errors thrown by a function.
* [**Memorizer**](/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions/memorizer.md)**:** Directly work with frontend data, such as user input, without injecting it as an input argument into a function.
* [**Recorder**](/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-and-file-storage/internal-influxdb.md#recording-data)**:** Adds to the list, although it is actually a tool for recording and not processing data.

## Extending functions

To extend a function:

1. Click the `+` icon behind the function output or behind an extension
2. Select the desired extension

<div align="left"><figure><img src="https://3495989837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE5Ketpww1s7TauSAJrJ8%2Fuploads%2Fp5rubM7BYggyesRpAJUr%2Fimage.png?alt=media&amp;token=36cd89e4-6a45-4858-91f0-cea1d84a5b2f" alt=""><figcaption><p>The four extension types</p></figcaption></figure></div>

Outputs can have parallel extensions to modify or filter values independently, and extensions can have extensions, too.

<div align="left"><figure><img src="https://3495989837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE5Ketpww1s7TauSAJrJ8%2Fuploads%2Fj8okqYv226mM46PHBkn7%2Fimage.png?alt=media&amp;token=7a6785f7-0a77-4472-a7d8-338c32ae50c9" alt=""><figcaption><p>One function with three extensions</p></figcaption></figure></div>

## Deleting extensions

To delete an extension:

1. Right-click on an extension.
2. Select `Delete`.


---

# 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://docs.heisenware.com/~/changes/Q625pQNc0nXqVGPtyjAY/building-apps/data-processing/function-extensions.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.
