Create a login page with flowchart and with proper exception handling technics

Hi all

I have a login page…

I want to automate login page with flowchart and with proper retry mechanism if any exception is occurred…

And with proper exception handling mechanism…

Please help me what activities I need to use from start to end until the element exist in the log in page…

Or else attach the image if it is available and mention the variables and retry count value and exception handling activities and all…

Thanks & regards

Sathish Kumar ch