Skip to main content

CompetitionLabs Academy

Webhooks Transformers Set-up

Step 1: Transformer creation

Webhooks Transformers Set-up

Press Add Transformer to get a new pop-up window where you fill in the new transformer label, as shown in the example below.

Transformer creation fields

Name String
Mandatory
The label of the transformer.
Webhooks Transformers Set-up

Press Save to create the transformer.

Webhooks Transformers Set-up

If all steps were correct, the Transformer will be created in the Settings → Transformers, as shown in the example. After creation, you can Edit the transformer, and its code, or Delete it from the list.

Step 2: Writing code for the transformer

Webhooks Transformers Set-up

To write your transformer’s code, press Webhooks Transformers Set-upCode edit for a new pop-up window where you enter your code, as shown in the example.

Step 3: Webhook creation

Webhooks Transformers Set-up

Now navigate to Webhooks and press Add Webhook. A new pop-up window appears where you enter the new Webhook information, as shown in the example.

Fill out all the information, then in the Transformer field, select a Webhook Transformer. If all the information was filled out correctly, press Save to create the Webhook.

You can read more about the Webhook creation fields at Settings -> Webhooks -> Webhook Creation, or here.

Step 4: Testing if the Webhooks are triggering

Please note that depending on your Webhook, the tests are different for Achievement reward issuing, Product action creation, etc. Please test according to your Webhook.

Cookie Settings

We use cookies to keep the site working, understand usage, and improve relevance. Read our Cookie Policy and Privacy Policy.