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:
Go to Setup and enter Flows in the Quick Find box. Then select Flows and click on the new Flow.
We will add a screen where we can collect information from the user who runs the flow:
In the General Info tab, name it
Create a customer
In the Add a Field tab, double-click on Textbox to add the field on the screen
Repeat the same for six other text fields
Select each field in the preview pane and enter the field label, as shown in the preceding screenshot, and click on OK
Select the Record Create element from the Palette on the screen:
From the Palette...