# Delete Salesforce Data

The following articles describe using **Single Dataloader** to delete data from Salesforce. To delete data, you need a CSV file containing the IDs of the objects to delete. Follow the steps below:

1. Log in to your ARM account.
2. Hover your mouse over the **`Dataloader`** module and choose the **`Dataloader`** option.
3. Click **`Delete`** on the right side of the screen.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FdhYqozk9ObRoNgZJe18c%2Fimage.png?alt=media&#x26;token=ab7a8f0d-1020-4fe8-8361-5481c779b124" alt="Delete option on Dataloader page"><figcaption></figcaption></figure>

4. Choose your [**`Salesforce Org`**](https://knowledgebase.autorabit.com/~/revisions/cT0ZuVgeUzTQt27sMR9n/product-guides/arm/arm-features/dataloader/single-dataloader/broken-reference) and select your org environment (**`Production or Development Edition`**, **`Sandbox`**, or **`Pre-Release`**).
5. The corresponding **`URL`** and **`Username`** are auto-generated based on the selection.
6. Click **`Login and Fetch Objects`** to load all objects from your Salesforce Org.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fp30JULhj3XjSJHNykqnP%2Fimage.png?alt=media&#x26;token=2bd4cb20-e08f-422d-a147-d8621afa9b5e" alt="Login and Fetch Objects screen"><figcaption></figcaption></figure>

7. Select the object (e.g., **`Account`**, **`Contact`**, **`Lead`**). Use **`search`** and **`filter`** options to find standard/custom objects.
8. Click **`Next`**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FMb26e940YtyWwKgm7YzS%2Fimage.png?alt=media&#x26;token=cfbdc5c8-72d9-4cef-8e2f-4c559692bc2b" alt="Object selection screen in Dataloader"><figcaption></figcaption></figure>

9. Upload your **CSV** file by clicking **`Upload`**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F99ZwW8sLRamJA87TjNpw%2Fimage.png?alt=media&#x26;token=61e91c7c-908b-4b48-ba06-9114f6830884" alt="CSV upload screen"><figcaption></figcaption></figure>

10. Confirm the number of impacted records in the popup. Click **`OK`**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F5F02TgGrOvPYDlxKOQ9Z%2Fimage.png?alt=media&#x26;token=9a5488d0-8277-4e0b-9278-91425978bec5" alt="Notification showing impacted records"><figcaption></figcaption></figure>

11. Prepare field mappings to match your CSV fields with Salesforce fields.
12. Use **`Automap`** to auto-match fields by name.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FqUeYmMv5eeeQhMW4qEEW%2Fimage.png?alt=media&#x26;token=7b378ba3-ccd5-419f-853a-96a93800ed0f" alt="Automap field mapping UI"><figcaption></figcaption></figure>

13. View the number of mapped vs. total fields below the Automap checkbox.
14. Use **`search`** to locate fields and **`Filter`** to narrow down:
    * **All** – Displays all fields.
    * **Mapped** – Only mapped fields.
    * **Unmapped** – Only unmapped fields.
15. Ensure all required fields are mapped, then click **`Next`**.
16. On the **`Process Summary`** screen:

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FFK06LtddWb5tldj8ZTqT%2F2.png?alt=media&#x26;token=197e841e-e1f2-4d91-8f15-b9022c6f15bb" alt="Dataloader Process Summary screen"><figcaption></figcaption></figure>

* Name the process/job.
* Select or create a **Category**.
* Review the Object, Type (**Delete**), and impacted Records.

17. Schedule tasks as **Daily**, **Weekly**, or **On-demand**.
18. Click **`Save`** to save and run later.
19. Your job appears at the top in the **`Dataloader Summary`** screen.
20. Click **`Run`** to execute the job manually.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FaruzK4xrZ9YtZnhDL6Wm%2Fimage.png?alt=media&#x26;token=b835fc26-1417-4ec2-b25e-7c394f70e080" alt="Run button in Dataloader Summary"><figcaption></figcaption></figure>

21. Choose criteria for running the Dataloader job:

| Configurations | Descriptions                                                                     |
| -------------- | -------------------------------------------------------------------------------- |
| **Batch Size** | Used when Bulk API is not selected. Ideal for small-volume real-time processing. |
| **Use UTF-8**  | Use UTF-8 encoding unless data contains non-English alphabets.                   |

22. Click **`Run`**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FtAFvnnpCgogUA9yPleqW%2F3.png?alt=media&#x26;token=9ad26b48-4a16-4002-9810-84d4128926a3" alt="Run confirmation screen" width="563"><figcaption></figcaption></figure>

23. The **`Results of Last Run`** section shows live updates of successful and failed record deletions. You can view/download records in CSV format.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F0zAobgw7wbsSTCPrS4kV%2Fimage.png?alt=media&#x26;token=16ec7235-eca7-4168-b7f6-03c0056bd822" alt="Run results summary showing deleted records"><figcaption></figcaption></figure>

24. The number of impacted records is updated dynamically in the **Records** section.

***

### More Options <a href="#more-options" id="more-options"></a>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FGqif4XxdLszMyyI1cd1M%2Fimage.png?alt=media&#x26;token=d8ead780-e5e7-4a64-b0b2-ff12182e797c" alt="More options menu"><figcaption></figcaption></figure>

1. **Edit** – Modify job details.
2. **Abort** – Stop a running process.
3. **Schedule** – Set job run schedule.
4. **Delete** – Delete the configured job.
5. **Log** – View execution logs.
6. **VR/WFR** – Review and re-enable validation/workflow rules. See [Validation/ Workflow Rules](https://knowledgebase.autorabit.com/~/revisions/cT0ZuVgeUzTQt27sMR9n/product-guides/arm/arm-features/dataloader/validation-workflow-rules).

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FIfXsvpPZ9rlcAoXfuhuR%2Fimage.png?alt=media&#x26;token=f89d1d8f-0175-40df-8090-a41f3adc79cb" alt="Validation/Workflow Rules list UI"><figcaption></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FHzU3YD96ShXu7VNiSkYw%2Fimage.png?alt=media&#x26;token=2f8b9a8b-ab7a-4067-a06e-ebc4d6e90b22" alt="Sample validation rule execution log"><figcaption></figcaption></figure>

7. **Clone** – Duplicate a process. You can upload a new CSV and select another Salesforce Org.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FXucAdoulPPXbX1zN98lf%2Fimage.png?alt=media&#x26;token=2b03bef1-445d-4a35-bab7-a58d7bbccd6e" alt="Cloning an existing dataloader process"><figcaption></figcaption></figure>
