TriggerWorkflowTriggerWorkflow
TriggerWorkflowCertified

yaml
type: "io.kestra.plugin.n8n.webhook.TriggerWorkflow"
yaml
id: n8n_webhook_trigger
namespace: company.team

tasks:
  - id: trigger_workflow
    type: io.kestra.plugin.n8n.webhook.TriggerWorkflow
    method: POST
    uri: https://n8n.example.com/webhook/213e8fbc-f843-428c-9860-ab9f64e5ef3b

yaml
id: n8n_webhook_trigger_with_auth
namespace: company.team

tasks:
  - id: trigger_workflow
    type: io.kestra.plugin.n8n.webhook.TriggerWorkflow
    options:
      auth:
        type: BASIC
        username: "{{ secret('N8N_WEBHOOK_USERNAME') }}"
        password: "{{ secret('N8N_WEBHOOK_PASSWORD') }}"
    method: POST
    uri: https://n8n.example.com/webhook/213e8fbc-f843-428c-9860-ab9f64e5ef3b

yaml
id: n8n_webhook_trigger_with_body
namespace: company.team

tasks:
  - id: trigger_workflow
    type: io.kestra.plugin.n8n.webhook.TriggerWorkflow
    body:
      keyOne: valueOne
    method: POST
    uri: http://n8n:5678/webhook/213e8fbc-f843-428c-9860-ab9f64e5ef3b
Properties
Possible Values
GETPOSTPUTDELETEPATCH
DefaultBINARY
Possible Values
TEXTJSONXMLBINARY
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
Formatduration
readIdleTimeoutstring
DefaultPT5M
Formatduration
Defaulttrue