Perhaps you can try “Set Keyboard Layout” action. It can be used to change input source. Change input source
For more information, see the wiki Searching the Forum for Answers section.