# Save many records into tables using the workbench UI

In this exercise we will add a few records to each of the tables created above by invoicing API using Trillo Workbench. In normal development, you will invoke these APIs from a client program after reading a file from the source system such as a file or API.

###

### Code location in repo: /lessons/Save\_many\_records\_using\_WB\_UI

1. After creating the Customer table in the previous steps, navigate to the table.
2. Access the "API" section and select the "Save Many" endpoint.

<figure><img src="https://lh7-us.googleusercontent.com/dSK2Xep9LRtmYHT7eLiVCVK-Rpv5maxIfINwW2lEWqdiDjtoyTWycqVKWQjej8ucMmUDxLtHIe9fMfyWXL8UER2XW-8ahdqRaUu5Bbtqlk3NIJwVFEKhuuMo4w_zc7Exm6rUzCHQR_BFwEyFfVckLJs" alt=""><figcaption></figcaption></figure>

3. Enter the data in the request body as an array of JSON objects for insertion. For example:

```
[ 
  {
    "firstName": "Sam",
    "lastName": "Hodar",
    "phone": "+1412772922",
    "email": "sam.hodar@example.com"
  }
]
```

4. Click on the "Test" button. In the response, check the status of each record. If "inserted": true is present, the record was successfully inserted.

<figure><img src="https://lh7-us.googleusercontent.com/WLj1x7OfUOnVJh0LBe9Qm75R8ds-8yQlTLvnnxzmgcKBIKzpYe14BrONODI-xG6g5vAK1hO45n2oe4ukyf89ErwGmjcIhO8k2CjHTYtG2pLpBJd4NeAzm1GAonVgnmx4bzG-_yJf6l9ppbJgPyJ-PUU" alt=""><figcaption></figcaption></figure>

5. Repeat the same process for the Order and LineItem tables, following the steps mentioned above for each table.
