A workflow step supported by your app was removed from a workflow

Facts

Works with

Events API
{
   "type": "workflow_step_deleted",
   "workflow_id": "338772933017143757",
   "workflow_draft_configuration": {
      "version_id": "338776577011617206",
      "app_steps": [
         {
            "app_id": "A012VT792TC",
            "workflow_step_id": "def5f7a2-365f-42e9-8ab8-26f9e9716696",
            "callback_id": "take_two"
         },
         {
            "app_id": "A012VT792TC",
            "workflow_step_id": "19dab8c3-c062-43f7-a912-a69da0cf0bc0",
            "callback_id": "take_three"
         }
      ]
   },
   "workflow_published_configuration": {
      "version_id": "338776445998336786",
      "app_steps": [
         {
            "app_id": "A012VT792TC",
            "workflow_step_id": "def5f7a2-365f-42e9-8ab8-26f9e9716696",
            "callback_id": "take_two"
         },
         {
            "app_id": "A012VT792TC",
            "workflow_step_id": "19dab8c3-c062-43f7-a912-a69da0cf0bc0",
            "callback_id": "take_three"
         },
         {
            "app_id": "A012VT792TC",
            "workflow_step_id": "e9f8c121-de29-4d37-9e00-5204663a1b4d",
            "callback_id": "take_four"
         }
      ]
   },
   "event_ts": "1611456175.413379"
}

The workflow_step_deleted event is sent when a workflow that contains at least one step powered by your app removes one of those steps. The event is sent when the step is deleted, not when the workflow is subsequently published.

The workflow_draft_configuration field in the event payload shows the workflow's current draft state, including its steps. Similarly, the workflow_published_configuration shows the workflow's current published steps.

Subscribe to the workflow_deleted event as well to know, instead, when a workflow containing a step powered by your app has been deleted entirely.