webhook.yaml 533 B

1234567891011121314151617181920
  1. ---
  2. # Kestra Webhook Template
  3. # ---
  4. #
  5. # This template is a simple webhook trigger that can be used to trigger a task execution.
  6. #
  7. # usage:
  8. # curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
  9. #
  10. id: webhook # <- Replace with your task id...
  11. namespace: your-namespace # <- Replace with your namespace...
  12. tasks:
  13. # -- Add your tasks here...
  14. triggers:
  15. - id: webhook
  16. type: io.kestra.plugin.core.trigger.Webhook
  17. key: your-secret-key # <- Replace with your secret key...