slack-api

slack custom workflow step response


I am creating simple custom workflow step. I already started receiveing this json https://api.slack.com/events/function_executed from slack when custom step was triggered. Based on docu I responded with status ok 200. My question is how should i respond or maybe what request should i send that my workflow is already done? What i found out this endpoint is obsolete https://api.slack.com/methods/workflows.stepCompleted

i am seeing what endpoint should i use.

In slack i am still seing that it is in progress:

enter image description here


Solution

  • I found that this is the endpoint i was looking for: https://api.slack.com/methods/functions.completeSuccess

    now the workflow step ends in success mode.