Kicking off a powershell script from a loggly alert

Has anyone done this? I would like a script started on an internal server after log event X is alerted on by Loggly. Getting the logs to Loggly is not the problem.