We are going to create a simple flow for the customer to donate a book to the library. The input form is going to collect the customer data and check whether the customer is present in the system. If not, we will create the customer and the book they want to donate. If the customer is present, we are simply going to add the book to our media object.
So, let's begin: