Send Webhook Action
Using the âSend Webhookâ Workflow Action, you can post data from your Gridfox Records to arbitrary endpoints.
NOTE
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.
API Key
When using an API key, you must enter the Header name and the API key value.
OAuth
Gridfox supports the Client Credentials grant type for OAuth 2.0. Enter the token endpoint, client ID, client secret and optionally the scope.
Specifying Payload
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.
TIP
Only Fields from the Record itself can be included, rather than Fields from any related Records.