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

and when I configure "On Failure" I can see it in the JSON/YAML view.

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!