Send Webhook Action
Using the ‘Send Webhook’ Workflow Action, you can post data from your Gridfox Records to arbitrary endpoints.
The ‘Send Webhook’ action can only be used in Workflows that are triggered by the create or update of a Record.
Adding a Send Webhook Action
Start by opening up the Workflow that you would like to add a ‘Send Webhook’ action to, or create a new Workflow.
Drag the ‘Send Webhook’ block onto the canvas and click the block to open the configuration panel.
Specifying Webhook URL
Firstly, enter the endpoint URL in the ‘Webhook’ URL field.
Specifying Authentication Method
If required, choose an authentication method for your request in the ‘Webhook Authentication Type’ menu.
When using an API key, you must enter the Header name and the API key value.
Gridfox supports the Client Credentials grant type for OAuth 2.0. Enter the token endpoint, client ID, client secret and optionally the scope.
Finally, specify the payload that should be sent.
Add the payload details by clicking the plus icon in the ‘Webhook Body’ section. You can then add in the key and value information as required.
To include information from the record that triggered the workflow, you can enclose the field name in square brackets when defining the webhook body.
Only Fields from the Record itself can be included, rather than Fields from any related Records.