How to use the Webhook step

If you want the flow to notify your backend about execution completion and the result, Webhook Step is the solution. Webhook step allows flow to communicate to target system via HTTP request.

1. Add Webhook Step to the flow.

In the flow below, uploaded to S3 video will be uploaded to MUX and the result will be communicated to external system via WebHook step.

2. Specify the Basic Authentication string, which usually requires to make the HTTP request to the external system

3. Provide Webhook endpoint and Declare the data will be passed to that endpoint.

In the example below the webhook step will send the Mux Playback Id and Mux Asset Id which are the results from previous step to the external system by making HTTP POST request:

4. Save, Enable and trigger the flow then check the result.