Examples of using "って思ったんです" in a sentence and their english translations:
"What the heck?" I thought
I thought to myself that I am surprisingly still alive.
Somehow it worked out OK.
So I thought that whatever happens things will work out.