Automation: Webhook

Automation: Webhook

In GoodFlow, webhook  automation allows you to send your data of a workflow to any third-party service API with POST/PUT/DELETE method. You can add headers, body with dynamic values from the workflow.

Webhook is  available in the Trigger section inside the workflow builder. To set up a webhook automation for a workflow, click on the workflow and do the following -

  1. Click 'Edit Flow' button at the top right section and you will be inside
  2. Click on the 'Triggers' option at the top and click on 'Add trigger' button on the pop-up.



  3. The trigger panel will open from the right side.
  4. Add Origin: The webhook will trigger at this point. Like completion of a task, or on change of a task field value.


  5. Add conditions: Define which conditions need to be met before the webhook triggers. You can put AND OR logics on task completion/reopening, field values and the webhook will trigger only if those conditions are met at the defined origin.



  6. Add the trigger Effect as Webhook:
    a. Select the trigger effect as 'webhook' from the dropdown.
    b. Select the desired request type.
    c. Provide the API end point as the 'Request URL'
    d. Now select which data from the tasks you want to send to the API.
    e. Provide the keys as per your API documentation and put the appropriate field IDs beside it. The field IDs should be inside "square brackets" or "box brackets" [ ].



    Once done, add or update the Trigger and you must publish the workflow in order to make the webhook work.