E-mail notification on failure run with DBX deployment

akc
New Contributor III

I am deploying workflow to Databricks using DBX. Here I want to add that when the workflow runs and if it fails I will get an e-mail on my_email@email.com. I have included an example workflow.

deployments:
  - name: my_workflow
    ...
    # Other workflow configurations
    ...
 
    tasks:
      - name: my_task
        ...
        # Task configurations
        ...
 
    # notification here

I have not been able to find any documentation about this.