I have a set of requirements that I need to automate.

I have already completed the prototype and it was approved.

Before I start the coding I want to design the complete project. Please suggest how should i proceed and what things need to be taken care of while designing the automation.

Any template for the design document ?