# Create CSV

**Description**

Create a new CSV file with an initial text content.

**Input Parameters**

| Parameter        | Type     | Required | Description                                        |
| ---------------- | -------- | -------- | -------------------------------------------------- |
| `filename`       | `string` | ✅        | The name of the CSV file.                          |
| `initialContent` | `string` | ✅        | CSV formatted content to initialize the new file.  |
| `delimiter`      | `string` | ✅        | A character to use as a delimiter between columns. |

**Output Parameters**

| Parameter | Type     | Description                            |
| --------- | -------- | -------------------------------------- |
| `out`     | `object` | Generates an output port with headers. |

**Instructions**

1. **Provide File Name:** Enter the desired CSV file name.
2. **Set Delimiter:** Define a delimiter (default: `,`).
3. **Enter Initial Content:** Add pre-formatted CSV content.
4. **Process CSV Creation:** The component generates a CSV file.

***


---

# 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.appmixer.com/connector-configuration/utils/csv/createcsv.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.
