I'm creating a custom action that I want to fire some processes on my company side, so I need to retrieve some data using the REST API, in order to accomplish that, I created an script that receives the incidentId and then does the processing.
How to set a custom action that sends such incidentId from Opsgenie side?