I replaced an older Workflow that I had made for this problem with this one that I feel works a little faster and better. Just a simple command to Show/Hide hidden files on macOS, which was normally an easy command for me to use until Apple changed it to some god awful keyboard combo that I can never get correct.
It's available for download at Packal: Blink