Use a webhook in Workfront Fusion
To use a webhook to connect an app to Workfront Fusion:
-
Add the Webhooks >Custom Webhook instant trigger module to your scenario.
-
Click Add next to the Webhook field and enter a name for the new webhook.
-
(Optional) Click Advanced Settings.
-
In the IP restrictions field, enter a comma-separated list of the IP addresses that the module can accept data from.
-
Click Save
After you create a webhook, a unique URL displays. This is the address where the webhook sends data. Workfront Fusion validates the data sent to this address, then passes it on for processing in the scenario.
Configure the webhook’s data structure
To recognize the data structure of the incoming payload, Workfront Fusion parses sample data that you send to the displayed address. You can supply the sample data by making a change in the service or app that will make that service or app call the webhook. For example, you could remove a file.
Or, you can send the sample data via the HTTP > Make a request module:
-
Create a new scenario with the HTTP > Make a request module
-
Configure the module with the following values:
-
Open the scenario with the Webhooks module in a separate browser tab or window.
-
In the webhooks module, click Redetermine data structure.
You do not need to unlink other modules from the webhooks module.
-
Switch to the scenario with the HTTP module and run it.
-
Switch back to the scenario with the Webhooks module.
A “Successfully determined” message means that the module has successfully determined the data structure.
-
Click OK to save the data structure.
The webhook’s items are now available in the mapping panel for use with subsequent modules in the scenario.