# Processor

The "**Processor**" is a powerful task designed to process and transform data from the input format to a completely different output format without using any programming.

To do that it uses the power of [jq](https://jqlang.github.io/jq/) JSON processor.

Let's imagine, we have an input dataset of elements, each of which has 3 fields: `id`, `amount` and `currency`. What we want to do with it is to calculate a total amount, a total amount in euros, and get all IDs as a separate list. Something like that:

```json
{
    IDs: [1, 2, 3, 4],
    totalAmount: 1500,
    totalAmountInEUR: 1000,
}
```

That is how can be done just using "**Processor**":

<figure><img src="/files/OQ4xhIK0wyRBbYsgTSEs" alt=""><figcaption></figcaption></figure>

More information and examples are in the [official jq documentation](https://jqlang.github.io/jq/manual/).&#x20;


---

# Agent Instructions: 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:

```
GET https://docs.ylem.co/pipelines/tasks-ip/processor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
