# FileWriterPlugin

The "FileWriter" plugin makes it easier to create and update files in your app. This plugin's intuitive interface makes file management a breeze. You can automate the process of generating new files on the fly, specifying formats and extensions according to your needs, and updating existing files. This plugin supports various file formats, including CSV, EXCEL, JSON, and XML, enabling versatile file handling.

You may consider using this plugin to:

* save form submissions directly into files for organized data management,&#x20;
* export dynamic data, such as reports or analytics, into user-readable files, and more

#### How to Use?

Drag the File Writer plugin into your API flow. Choose an output file format and select an option to add the content received from the user's input—select "New file" to generate a new file or "Existing file" to add the user's input to an existing file.&#x20;

{% hint style="info" %}
To add dynamic content to an existing Excel file, select "Custom Sheet" and provide the sheet name into which the data has to be appended.
{% endhint %}

Next, if you would likely use the default headers, enable the "Use default headers" option; otherwise, specify the file headers in sequence for custom headers. Additionally, you can set font styles for the header and body separately if the output format is Excel.


---

# 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.reasy.ai/help/getting-started/workspace/tools/data-driven-plugins/data-sources/filewriterplugin.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.
