How to setup Automator

does anyone have a script for Automator that will toggle my 3 key for the macro press with a delay on it. I can’t understand how to set it up