UI Interaction -> Paste -> Clipboard text
You need to have clicked on the input for it to work. As the trigger, I would recommend using a floating button, it's easier.
If you want to use ADB commands from MacroDroid, it is easier to use ADB Shell [Tasker Plugin].
But in case of Hail, it is not necessary to use ADB Shell [Tasker Plugin] because it can be substituted by Send Intent action.