workflow_unpublished event

A workflow that contains a step supported by your app was unpublished

Facts

Works with

Events API

Steps from Apps is deprecated
We're retiring all Slack app functionality around Steps from Apps in September 2024. Learn more.

{
   "type": "workflow_unpublished",
   "workflow_id": "338772933017143757",
   "workflow_draft_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"
         }
      ]
   },
   "event_ts": "1611456137.967843"
}

The workflow_unpublished event is sent when a workflow that contains a step powered by your app is unpublished.

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

Subscribe to the workflow_published event as well to know, instead, when a workflow that contains a step powered by your app has been published.

When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more