Zapier TriggerZap

Zapier TriggerZap

Certified

Send data to a Zap

Sends an HTTP request to a Zapier Catch Hook URL to trigger a Zap. Supports POST, PUT, and GET; POST is the default, JSON content is only sent for POST and PUT, and the request timeout defaults to 30 seconds.

yaml
type: io.kestra.plugin.zapier.TriggerZap

Trigger a Zap with a JSON payload

yaml
id: trigger_zap
namespace: company.team

tasks:
  - id: trigger_zap
    type: io.kestra.plugin.zapier.TriggerZap
    url: "{{ secret('ZAPIER_WEBHOOK_URL') }}"
    content:
      name: "Kestra"
      event: "workflow_completed"
      status: "success"
Properties

Zapier Catch Hook URL

Full Zapier webhook URL to call after rendering. Use the Catch Hook URL provided by Zapier, typically https://hooks.zapier.com/hooks/catch/...

Defaultfalse

Allow failed HTTP responses

When enabled, the task returns output for non-2xx responses instead of failing. Defaults to false, so HTTP failures raise an exception unless explicitly allowed

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

JSON request content

Optional map rendered from the task context and serialized as JSON. Ignored for GET requests because this task only builds a request body for POST and PUT

SubTypestring

Custom HTTP headers

Optional headers added to the outbound request after rendering. If a JSON body is sent and Content-Type is not provided, this task sets it to application/json

DefaultPOST
Possible Values
POSTPUTGET

HTTP method

HTTP method used for the webhook call. Defaults to POST; supported values are POST, PUT, and GET

DefaultPT30S

Request timeout

Maximum time to wait for the Zapier webhook response. Defaults to 30 seconds and is applied as the HTTP connect timeout configuration

Zapier attempt or request ID

X-Attempt-Id or X-Request-Id extracted from the response headers when Zapier provides one. Returns null when neither header is present

Raw response body

Response body returned by Zapier as a string

HTTP response status code

Status code returned by the Zapier webhook endpoint