# Data Capture Form

Once you have tried and tested your document, you can finally start merging!

There are various options to do a merge. One of them is to fill a form with all the merge fields, similar to the test document phase.

### Creating a Data Capture Form

To start creating documents using a form, follow the steps listed below :

* Click on the **Create** tab to access the Create Document view.

<figure><img src="/files/8lU3lBfcahvvStCvFuEB" alt=""><figcaption><p>Accessing the Create Document view</p></figcaption></figure>

* Select the **Data Capture Form** on the left side (if it's not already selected), then click the **+ Create Link** button.

<figure><img src="/files/inqFrCspkxFUNelgSnTE" alt=""><figcaption><p>Creating a Data Capture Form</p></figcaption></figure>

* Click on the link under the heading "**Generate document by filling form**" to open a form

<figure><img src="/files/KHB3d1DuAe1yAEJZ7a5p" alt=""><figcaption><p>Accessing Data Capture Form URL </p></figcaption></figure>

* Once you complete the form and click the **Submit** button, the generated document will be delivered to all your configured deliveries. If no deliveries are configured, the document will be downloaded.

If you want to download the generated document along with triggering deliveries you use the Link under **"Download Form"** section or append a `?download=true` parameter in the URL.

### Populating Table data using a CSV

If your data capture form includes a table (i.e. if your template contains an array field), you can upload a CSV file to automatically populate the table —saving you from manually entering each record.

For example, if you need to fill a list of employees (role, name and experience), you can prepare a CSV like this:

<figure><img src="/files/mkBpAzQK19xjgig1zuu4" alt="CSV data to be uploaded to data capture form"><figcaption></figcaption></figure>

Then upload the CSV to the corresponding table field in your data capture form.

{% hint style="warning" %}
**Note:** The CSV column headers must exactly match the template tokens used in the table for the import to work correctly.
{% endhint %}

<figure><img src="/files/P4ZM9jaYfXgslFn2h7Zn" alt="Upload CSV to data capture form"><figcaption></figcaption></figure>

### Deleting a Data Capture Form

To delete the link that opens Data Capture Form, click the **Delete** button available on the right side of the **Data Capture Form** section.

<figure><img src="/files/w6lam9qoR97CAM6yWegN" alt=""><figcaption><p>Deleting the Data Capture Form</p></figcaption></figure>

{% hint style="info" %}
To create or delete these links, users must have **Manage** or **Write** permissions on the templates. Please note that deleting the Data Capture Form link will also remove the link created for API Endpoint.
{% endhint %}


---

# 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.docupilot.app/create-document/data-capture-form.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.
