Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FlexDeploy has a few built-in providers available for webhooks {{link}}. You also have the option of creating a custom provider.

Viewing Webhook Providers

Access providers Functions are groovy scripts defining what to do when a webhook is received by FlexDeploy. Each provider may have multiple functions associated with it. 

Viewing Webhook Functions

Access functions by navigating to Administration → Integrations → Webhooks and clicking Manage Providers.

{{screenshot of demo}}

Creating/Editing Webhook

...

Functions

To create a new providerfunction, click the Create button. To view or edit a providerfunction, click on the name of the providerfunction.

Field

Description

Sequence

The order providers are processed to find a match when receiving webhook event

Name

The name of the function

DescriptionThe description for the function
ProviderProvider this function is for
UriPath webhook will be sent (full resource path is printed below)
ActiveWhether
this provider
the function is active

Provider Id

The read-only id of the provider

Name

The name of the provider

Description

An optional description for the provider

Created On

The date and time of provider creation

Created By

The user who created the provider

Updated On

The date and time the provider was last updated

Updated By

The last user to update the provider

Groovy Script

The Groovy script shown will be executed when a webhook is received at the listed uri from the selected provider. More function examples can be found {{link}}. The editing window has capabilities for undo, redo, find, find and replace, and go to line. There are a variety of built-in variables and methods available to use in this script. Type Ctrl + Space for suggestions on variables and methods. See the full list of available variables and methods {{link}}.

FLEXDEPLOY

MethodParametersDescription



HMAC

MethodParametersDescription