Keyboard Maestro has no such trigger...
There are some methods to go about this, but more information is required:
- What version of macOS?
- What Version of Keyboard Maestro.
- What are you uploading?
- Where are you uploading it?
- What software are you using to upload it?
If you haven't read this it's worth a couple of minutes of your time.