A result is not necessarily a purpose.
Sodass states a consequence. Damit states an intended purpose. Both introduce verb-final subordinate clauses, but their logic differs.
Hinglish hintSodass = result; damit = purpose. Accident ka result kisi ka intention zaroori nahin.
State the cause
Heavy rain is the first event, not a planned action to flood a road.
Es regnete stark, sodass die Straße überflutet wurde.
Aha! See the common trap
Not thisEs regnete stark, sodass die Straße wurde überflutet.
Try thisEs regnete stark, sodass die Straße überflutet wurde.
The finite verb wurde closes the sodass-clause.
More examples, less guessing
Es regnete stark, sodass die Straße überflutet wurde.It rained heavily, so the road was flooded.
Die Nachricht kam zu spät, sodass wir nicht reagieren konnten.Practice the highlighted construction in another context.
Der Text ist klar, sodass man ihn leicht versteht.Practice the highlighted construction in another context.