Mar 03, 2020
3399
When a workflow is created in HappyFox Workflows, a webhook URL is generated. You need to complete the webhook set up before adding the sequence of actions to the workflow.
Prerequisite
You will have to set up the webhook trigger in any of the following ways:
- Trigger Webhook from a Smart Rule in HappyFox Help Desk.
- Manually trigger a webhook from HappyFox Help Desk.
- Trigger webhook for every ticket creation or update in HappyFox Help Desk.
- Trigger webhook from an external system.
You can refer to the articles to learn more about setting up the trigger.
Note: Each of the above-mentioned methods would need a condition to be satisfied in order to trigger the webhook.
Steps to complete webhook set up in HappyFox workflows:
- Log in to HappyFox Workflows and Open the Workflow which requires Webhook set up.
- The webhook URL corresponding to this workflow needs to be triggered. Hence, login to HappyFox Help Desk or required application, and create a sample ticket (or instance) to simulate the event or condition that would trigger the webhook. i.e. You will need to perform the required ticket actions which would trigger the webhook. Here, a sample trigger using ticket creation containing required keywords in the subject is shown here:
- Log in to HappyFox Workflows and open the corresponding workflow
- Click ‘Edit’ which would show the ‘Webhook Setup’ window.
- Click ‘Try Again’ to fetch the Webhook.
- You can view the payload details in the ‘Webhook Details’ section.
- Click ‘Proceed’.