how to manage the databricks failure notifications to slack webhook?

jeremy98
Honored Contributor

Hi community,
I’d like to handle the case when one of our Databricks jobs fails. From the documentation, I understand that the HTTP response from Databricks will look like this:

{
  "event_type": "jobs.on_failure",
  "workspace_id": "your_workspace_id",
  "run": {
    "run_id": "run_id"
  },
  "job": {
    "job_id": "job_id",
    "name": "job_name"
  }
}

 How to set the webhook slack channel to retrieve the job name under :

"job": {
"job_id": "job_id",
"name": "job_name"
}