Step-by-step creation of Azure logic app

Hello Everyone,

I am working on azure logic apps and I would like to implement SOAR logic apps.
However, I have taken multiple chance to deploy logic app via terraform but unfortunately my trigger is working within logic app.
I would like to deploy a logic app from bottom to top without any error. But unable to understand how to do it.
I need help to create logic app for below case study:

  1. I want to create Microsoft Sentinel Incident automatically when something went wrong in my Azure Infrastructure.
  2. And that should be notify via an email along with all Incident details.
  3. Also, if I closed that Incident that should be notify via an email to an appropriate team.

Thank You.