This should do what you want. You can play around with the repeat to get the flash closer to what you want. Just change the trigger to HSM status changed and the repeat to whatever you want.
If you want a true flash capability see this thread. It discusses the difference between simulating a flash and actually using the flash capability.