# Data Parsing & Generation

## File Parsing

These tasks parse a file and return structured data, or generate a file from structured data. They are typically placed immediately after a **File Upload Trigger**.

<figure><img src="/files/1XGssY21mhBfMIWxOjc4" alt=""><figcaption></figcaption></figure>

| Node              | Input                           | Output             |
| ----------------- | ------------------------------- | ------------------ |
| **XML Parser**    | XML string or uploaded file     | JSON object        |
| **XML Generator** | JSON object                     | XML string         |
| **CSV Parser**    | Uploaded CSV file               | JSON array of rows |
| **Excel Parser**  | Uploaded `.xlsx` / `.xlsm` file | JSON array of rows |

Connect them in the flow and they work automatically — no additional configuration is required for basic parsing.

{% hint style="info" %}
The CSV Parser, Excel Parser, and XML Parser tasks accept the file reference object produced by the File Upload Trigger as their input. See [Triggers & Execution](/tillit/knowledge-base/setting-up-tillit/integrations/wire-flow/triggers-and-execution.md) for the expected input format.
{% endhint %}

## Storing Results for Future Use

You can use the End Event Task type to create a variable and use the results in the further nodes. Otherwise, you can only map the immediate previous results.

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


---

# 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://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/integrations/wire-flow/task-types-and-integrations/data-parsing-and-generation.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.
