Skip to content

Manage webhook payloads

This topic describes how to manage webhook payloads in Matillion ETL for use with the Webhook component.

  1. Click Project.
  2. Click Manage Webhook Payloads.
  3. In the Manage Webhook Payloads dialog, click New Payload or Upload Payload.

Add A new Payload

  1. In the Manage Webhook Payloads dialog, click New Payload to trigger the Create New Payload dialog.
  2. Specify a payload name. In this example the payload name is "Hotel_Review".
  3. Specify a payload type from the drop-down. The payload type can be either JSON or XML.

    Payload type drop-down

  4. Click OK to complete this new payload creation, or click Cancel.

You can then add the body of the JSON or XML payload in the editor.


Upload a payload

  1. In the Manage Webhook Payloads dialog, click Upload Payload to trigger the Upload Webhook Payload dialog.
  2. Click Browse and select your chosen .json or .xml file.
  3. Click OK to complete the upload, or click Cancel.

    Upload payload


Validate or delete a payload

In the Manage Webhook Payloads dialog, right-click one of the payloads in the Payloads column, and note two additional management options: Validate and Delete.

![Validate and delete payload](https://matillion-docs.s3-eu-west-1.amazonaws.com/images/6130092/Payload_right-click.png)

Click Validate to instruct Matillion ETL to validate the payload body.

Below, Matillion ETL has validated the payload with no errors.

![Validated payload](https://matillion-docs.s3-eu-west-1.amazonaws.com/images/6130092/Validated.png)

If the payload body is invalid, you will receive an error message with debugging information.

To delete a payload, click the Delete button.