# Flow zone presentation

The [Transaction Preprocessing](flow_zone:q5FSh7v) is dedicated to transforming the input transactions dataset so that the flow can handle its data.

![transactions_preprocessing.png](xDJKQAG8OUJ5)

For this purpose, recipe [compute_transactions_prepared](recipe:compute_transactions_prepared) uses the parameters set in the application [Transactions preprocessing section](article:38) to:
- Rename the project key columns.
- Date column handling:
  - Parse the date if needed.
  - Extract the year and month information from the date.
- Compute the total price: this is the product "Item quantity purchased" **x** "Item unit price".
- Retrieve the RFM reference date as a constant to the dataset. 
  - This date is computed based on the parameters set in the [RFM section](article:39).