automate akamai refresh right after publish

We would like to automate akamai refresh right after an RX publish.
Specifically, only files that are just published should be submitted to akamai for refresh.

I wonder if anyone has tried something similar?

THANKS
Jason