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§
Source§readonly input Field Name?: string
readonly input Field Name?: string
The name of the node input field with the binary data Default: "data"
Source§readonly options?: {
enableStreaming?: boolean;
responseCode?: number;
responseHeaders?: {
entries: { name?: string; value?: string }[];
};
responseKey?: string;
}
readonly options?: {
enableStreaming?: boolean;
responseCode?: number;
responseHeaders?: {
entries: { name?: string; value?: string }[];
};
responseKey?: string;
}
Default: {}
Source§readonly payload?: string
readonly payload?: string
The payload to include in the JWT token Default: "{\n "myField": "value"\n}" Type options: {"rows":4}
Source§readonly respond With?:
| "json"
| "binary"
| "text"
| "redirect"
| "jwt"
| "allIncomingItems"
| "firstIncomingItem"
| "noData"
readonly respond With?:
| "json"
| "binary"
| "text"
| "redirect"
| "jwt"
| "allIncomingItems"
| "firstIncomingItem"
| "noData"
The data that should be returned Default: "firstIncomingItem"
Whether to provide an additional output branch with the response sent to the webhook