# Exercise 2: Store list of customers

In this exercise, store a list of customers through a Flow.

## Requirements

* Create or select an existing entity for customers information&#x20;
* Create an API to receive a list of customers as a request&#x20;
* Trigger a Flow from the API to update the list of customers in the target entity.

## Solution

The solution entails three (3) steps:&#x20;

* Step 1: Create a Flow component to receive the customers' list from the API and create an entity record.&#x20;
* Step 2: Create a Flow to update the created entity record in the target entity “UserName\_Acc\_customers”.&#x20;
* Step 3: Create API to get a list of customers in the request and trigger the created Flow.&#x20;

{% hint style="info" %}
In this exercise, users are advised to replace “UserName” with their name.&#x20;
{% endhint %}
