> For the complete documentation index, see [llms.txt](https://docs.tailent.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tailent.com/actions/tap-actions/csv/append-csv.md).

# Append CSV

This action can append a DataTable to an existing CSV file.

## **Properties**

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

### **Input**

* **File Name**: The name of the existing CSV file.
* **Input**: The variable to be appended.
* **Include Headers:** Specifies if the DataTable's headers will be deleted.\
  True/False.

{% hint style="info" %}
**Note:** The variable must be a DataTable.
{% endhint %}

### **Misc**

* **Display Name**: action display name in your implementation project.
* **Wait Before**: number milliseconds robot to wait before executing the action.
* **Wait After:** number milliseconds robot to wait until moving to the next action.
* **Abort on Error**: True/False
* **Retry Times**: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.&#x20;

## **Use Case**

### **Potential Use Cases**

* Append data to a file in a loop.
* Append a CSV file to an existing CSV file.

### **Examples of Using Append CSV**

**Example**&#x20;

Watch the robot in action:

{% embed url="<https://www.youtube.com/watch?v=gKyITMl426w>" %}

You can check and download the example from here:

{% file src="/files/1sHKZgpA2rrSHZvzVMS8" %}
