# Upload Bulk File

You can attach a file to create new entities.

Here, the user can create, update, and delete entities. To do this, the user must choose the type of action to execute and the type of file to upload.

## Steps

### Bulk Wizard

Available actions:

- Create
- Delete: This option allows deleting the device. If the device subscriptions or subscribers exist, this entity will not be deleted.
- Delete All: This option allows deleting the complete device with subscriptions and subscribers.
- Update

Resource: We will have the options of Entities or Tickets.

{{< staticImage "ux/UploadBulkFileWizard/Steps/uploadWizard.png" "Creation" >}}

Type of file:

It allows the selection of a file with the following types:

- **Csv**
- **Json**
- **Flattened**: A data file format that simplifies the structure, presenting information in a flat list, which can be beneficial in some data analysis and processing situations.

#### CSV

In the CSV section, we will add the different options: Escape Char, Line separator, Null Value, and Quote Char.
Once this is done, we will add the CSV file, and the simulation button will be enabled. This button is only available for the CSV file type.

{{< staticImage "ux/UploadBulkFileWizard/Steps/SimulateCsv.png" "Creation" >}}

When you press the simulation button, a window will open where you can see the attached CSV file.

{{< staticImage "ux/UploadBulkFileWizard/ModalSimulateCSV/ModalSimulateCSV.png" "ModalSimulate" >}}

#### JSON

Attach a JSON file.

{{< staticImage "ux/UploadBulkFileWizard/JsonFile/uploadJson.png" "Json" >}}

#### JSON Flattened

Attach a JSON Flattened file.

{{< staticImage "ux/UploadBulkFileWizard/JsonFile/uploadJsonFlattened.png" "JsonFlattened" >}}

## Import/Export Configuration

Allows you to import and export the wizard's configuration via JSON.

{{< staticImage "ux/UploadBulkFileWizard/JsonFile/btnModalJson.png" "btnJson" >}}

{{% ux-wizard-json-import-export %}}

{{< staticImage "ux/UploadBulkFileWizard/JsonFile/itemJson.png" "items" >}}

{{% children sort="weight" depth="10" %}}

---
