Simple way to do it is to use two Send keys -actions where in the second one you only use the variable.
Like so:

But I also figured out how to do it in just one. Power Fx feature is still in preview so it wasn't very intuitive.
I think it doesn't work if you copy and paste that text to Send keys Text to send though.

You need to copy and paste this raw code to your flow:
Copy:
MouseAndKeyboard.SendKeys.FocusAndSendKeys TextToSend: $fx'"{Down}G{Return}{Tab}"' + $fx' NewVar' DelayBetweenKeystrokes: $fx'10' SendTextAsHardwareKeys: False
Paste:

The action should look like this:

But if you now edit that action and save it breaks. So I would recommend just using two Send keys -actions.