It's the key I use as well to hit the gym. Just go there physically. Even with the lowest amount of motivation when everything's shit.
The line “if a thing is worth doing, it is worth doing badly” comes to mind. If you are already at the gym, you might as well do it badly and then most of the time you're doing it well in the end.