Example flow for a webhook trigger.

yaml
id: webhook
namespace: io.kestra.demo.flows

description: |
  Example flow for a webhook trigger.
  To start this flow, just send a curl request:
  ```bash
  curl http://localhost:8080/api/v1/executions/webhook/io.kestra.demo.flows/webhook/1KERKzRQZSMtLdMdNI7Nkr
  ```
  This endpoint doesn't need any login / password and is secured by `key` that is different for every flow

tasks:
  - id: out
    type: io.kestra.core.tasks.debugs.Return
    format: "{{ trigger | json }}"


triggers:
  - id: webhook
    type: io.kestra.core.models.triggers.types.Webhook
    key: 1KERKzRQZSMtLdMdNI7Nkr