I'm trying to set up a Workflow Job Webhook notification to send an alert to OpsGenie REST API on job failure. We've set up Teams & Email successfully.
We've created the Webhook
![Screenshot 2024-04-12 at 1.15.33 PM.png Screenshot 2024-04-12 at 1.15.33 PM.png](/t5/image/serverpage/image-id/7036i05B85A99367B9541/image-size/medium/is-moderation-mode/true?v=v2&px=400)
and when I configure "On Failure" I can see it in the JSON/YAML view.
![Screenshot 2024-04-12 at 1.17.27 PM.png Screenshot 2024-04-12 at 1.17.27 PM.png](/t5/image/serverpage/image-id/7037iA98B376E7C23C008/image-size/medium/is-moderation-mode/true?v=v2&px=400)
However, OpsGenie expects the payload to be in a specific format and I also want to append additional info regarding the job with the payload. Where can I configure this?
The documentation HERE shows an example payloads that are sent, but that's not what OpsGenie is expecting.
Any clarification on this is highly appreciated!