Shortcut to change keyboard layout

I change the keyboard language between US and Spanish. I would like to have a shortcut to quickly switch between them.
Is that possible?
Thanks,
Francisco

Switching languages can be done by AppleScript or using a Shortcut.