While I'd personally recommend a dedicated text expansion app like Typinator for this sort of thing, KM does have a built-in way to do this. Just change "case must matter" to "case affects actions" next to the trigger string, and you'll only need a single paste action:
2 Likes