Skip to main content

Webhook Node

Overview​

The Webhook Node is designed for external API interactions within workflows by sending customized HTTP requests. This node supports a variety of HTTP methods and enables dynamic data inclusion through mustache templates in the request body.

Configuration​

Webhook Details​

Configurable parameters for the Webhook Node include:

  • URI: The endpoint URL for the HTTP request.
  • Method: The HTTP method used (GET, POST, PUT, PATCH, DELETE).
  • Headers: HTTP headers for the request, formatted in JSON. Default headers include "Content-Type": "application/json".
  • Body: Data sent in the request body, applicable for POST, PUT, and PATCH methods. This field supports mustache templates, allowing dynamic content insertion from workflow data or previous nodes.

Outputs​

The Webhook Node provides two output handles:

  • Success (Right Handle): Outputs when the HTTP request completes successfully, passing control to the next node configured to handle successful responses.
  • Failure (Bottom Handle): Outputs when the HTTP request fails, allowing subsequent nodes to handle errors or execute alternative flows.