Creating new custom module record based on deal stage
I've created a customer module named 'Bookings'
I would like a 'Booking' to be automatically created once a Deal stage is marked as Closed-won, with some of the fields from the deal mapped across to the booking.
Please can somebody provide me with steps of how to do this? I know I need a custom workflow I just don't know how to write it.
Thanks in advance!