FlowDSL Node Catalog

Webhook Respond

Write an HTTP response to the webhook source that triggered this flow.

Overview

PropertyValue
Node IDcore/webhook-respond
Kindaction
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.WebhookRespond
Iconlucide:reply
Color#84cc16
Tagswebhook, http, response

Description

Reads an http.ResponseWriter from ctx.Value(WebhookResponderKey) and writes the configured status + JSON body. The responder must be wired by the webhook adapter (e.g. go-flowdsl/nodes/events json-stream-source).

Outputs

  • out — (no description)

Settings

PropertyTypeRequiredDefaultUI GroupDescription
bodyPathstring——ResponsePath to the response body (object → JSON, string → raw).
headersPathstring——Response
statusinteger—200Response

Example

yaml
# Use this node in a flow:
nodes:
  - id: my_step
    name: My Step
    kind: action
    action_ref: core/webhook-respond
    config:
      bodyPath: some.packet.path
      headersPath: some.packet.path
      status: 200