Return Data on Sync Webhook

This action enables you to run a workflow by calling a URL (webhook URL) and get the workflow’s output in the body of the URL.

Let’s look at how the action works.

Let’s assume that your workflow contains a couple of action. Once all the actions have been configured and connected, enable webhook (Workflow Settings > Execution Settings), and add ‘Return Data on Sync Webhook’ as the last action of your workflow.  Configure this action, and insert values in the given fields as per the instructions given below:

Response (Mandatory): Add the output of any of the previous actions that you wish to retrieve through the webhook. It's possible to add more than one outputs from previous actions in this field. You can select the outputs  from the list given on the right hand side of the window. 

Status code (Optional): Enter the status code value that you want to display along with the output. By default the value for this field is set to 200. You can also specify the custom message.

Once you have added this action to your workflow, '?sync=true' is automatically appended to your webhook URL. This will sync the workflow with webhook URL and will send the workflow output to it when the webhook URL is hit. 

developertools-return-data-on-sync-webhook



Output:
  • output-arrow return-data-on-sync-webhook Return Data on Sync Webhook
    • left-triangle data string
    • left-triangle status string