Calling a http method outside of a scenario

I have a requirement to call a http method like POST outside of the scenario in gatling and based on the response, I will make a decision as to run the scenario or exit the gatling test

Any pointers on how I can get this done?