> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Webhook

- Component: `appmixer.utils.http.WebhookTrigger`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.http 1.7.5](https://connectors.appmixer.com/connector/appmixer.utils.http/1.7.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.http/1.7.5/component/appmixer.utils.http.WebhookTrigger>

The Webhook trigger fires when an HTTP request is received on the URL provided to you in the Webhook configuration.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| `url` | - | - |

## Output ports

### Port `request`

| Field | Type | Description |
| --- | --- | --- |
| Method (`method`) | string | - |
| Data (`data`) | object | - |
| Query (`query`) | object | - |
| Headers (`headers`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.http.WebhookTrigger",
  "author": "Martin Krčmář <martin@client.io>",
  "label": "Webhook",
  "description": "The Webhook trigger fires when an HTTP request is received on the URL provided to you in the Webhook configuration.",
  "trigger": true,
  "webhook": true,
  "private": false,
  "outPorts": [
    {
      "name": "request",
      "options": [
        {
          "label": "Method",
          "value": "method",
          "schema": {
            "type": "string",
            "example": "POST"
          }
        },
        {
          "label": "Data",
          "value": "data",
          "schema": {
            "type": "object",
            "example": {
              "event": "order.created",
              "orderId": "1001"
            }
          }
        },
        {
          "label": "Query",
          "value": "query",
          "schema": {
            "type": "object",
            "example": {
              "source": "shop"
            }
          }
        },
        {
          "label": "Headers",
          "value": "headers",
          "schema": {
            "type": "object",
            "example": {
              "content-type": "application/json",
              "user-agent": "curl/8.4.0"
            }
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "generateInspector": {
          "type": "boolean"
        },
        "immediateResponse": {
          "type": "boolean",
          "default": true
        },
        "url": {}
      }
    },
    "inspector": {
      "inputs": {
        "url": {
          "source": {
            "url": "/component/appmixer/utils/http/WebhookTrigger?outPort=request",
            "data": {
              "properties": {
                "generateInspector": true
              }
            }
          }
        }
      }
    }
  },
  "icon": "(data URI omitted)"
}
```
