Skip to main content

Webhook

The Webhook activity listens for incoming webhook calls and triggers the workflow.

info

This activity acts as a webhook trigger. It must be the first step in a workflow.

Configuring the Webhook Activity​

To configure the Webhook activity, fill in the required fields in the activity panel.

Configuration​

FieldRequiredDescriptionExample
NameOptionalSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
PathRequiredSpecify the path for this activity./users
MethodOptionalSelect the method for this activity. Options: POST.POST
Allowed Media TypesOptionalSelect the allowed media types for this activity. Options: application/json, application/x-www-form-urlencoded.

Output​

| Field | Required | Data Type | Description | Example | | ------------------ | -------- | --------- | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | --- | --- | | Method | Optional | String | HTTP method used for the webhook (typically POST for receiving events). | POST | | Uri | Optional | String | URI path at which the webhook will receive requests, optionally including {} for path parameters, and query parameters. | | | | | Headers | Optional | Object | Static HTTP headers expected to be received with the webhook request. | {"Content-Type": "application/json"} | | Additional Headers | Optional | Array | Custom headers to be validated for incoming webhook requests. | | | Query Params | Optional | Object | Query parameters expected as part of the webhook request URI. | | | Path Params | Optional | Object | Path parameters replacing {} placeholders in the URI. | | | Body | Optional | Object | Payload body received in the webhook request. Can be any valid JSON object. | |