Invoke launcher action from extension

I’m trying to launch a new python notebook as a command in an extension. I figure invoking the launcher action would do this, but I’m having a hard time getting it to work. Any ideas how I can do this?

Figured it out using this extension as example.