Class Webhook
java.lang.Object
io.kestra.core.models.triggers.AbstractTrigger
io.kestra.core.models.triggers.types.Webhook
- All Implemented Interfaces:
TriggerOutput<Webhook.Output>
@Example(title="Add a webhook trigger to the current flow with the key `4wjtkzwVGBM9yKnjm3yv8r`, the webhook will be available at the URI `/api/v1/executions/webhook/{namespace}/{flowId}/4wjtkzwVGBM9yKnjm3yv8r`.",code={"triggers:"," - id: webhook"," type: io.kestra.core.models.triggers.types.Webhook"," key: 4wjtkzwVGBM9yKnjm3yv8r"},full=true) @Example(title="Add a trigger matching specific webhook event condition. The flow will be executed only if the condition is met.`.\n",code={"triggers:"," - id: webhook"," type: io.kestra.core.models.triggers.types.Webhook"," key: 4wjtkzwVGBM9yKnjm3yv8r"," conditions:"," - type: io.kestra.core.models.conditions.types.VariableCondition"," expression: \"{{ trigger.body.hello == \'world\' }}\""},full=true)
public class Webhook
extends AbstractTrigger
implements TriggerOutput<Webhook.Output>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.kestra.core.models.triggers.AbstractTrigger
id, type -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Webhook
public Webhook()
-
-
Method Details
-
evaluate
-