interface RespondToWebhookNodeParameters {
enableResponseOutput?: boolean;
inputFieldName?: string;
options?: {
enableStreaming?: boolean;
responseCode?: number;
responseHeaders?: {
entries: { name?: string; value?: string }[];
};
responseKey?: string;
};
payload?: string;
redirectURL?: string;
respondWith?: | "json"
| "binary"
| "text"
| "redirect"
| "jwt"
| "allIncomingItems"
| "firstIncomingItem"
| "noData";
responseBody?: string;
responseDataSource?: "set"
| "automatically";
}Properties§
§§§§§§§
readonly enable Response Output?: boolean§
readonly input Field Name?: stringThe name of the node input field with the binary data Default: "data"
readonly options?: { ... }Default: {}
readonly payload?: stringThe payload to include in the JWT token Default: "{\n "myField": "value"\n}" Type options: {"rows":4}
readonly redirect URL?: stringThe URL to redirect to
readonly respond With?:
| "json"
| "binary"
| "text"
| "redirect"
| "jwt"
| "allIncomingItems"
| "firstIncomingItem"
| "noData"The data that should be returned Default: "firstIncomingItem"
readonly response Body?: stringThe HTTP response JSON data Default: "{\n "myField": "value"\n}" Type options: {"rows":4}
readonly response Data Source?: "set" | "automatically"Default: "automatically"
Whether to provide an additional output branch with the response sent to the webhook