diff --git a/packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/utils.ts b/packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/utils.ts index 714b610679..f43db11fc1 100644 --- a/packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/utils.ts +++ b/packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/utils.ts @@ -355,7 +355,7 @@ export const configureResponseOptimizer = (ctx: IExecuteFunctions, itemIndex: nu }; const extractPlaceholders = (text: string): string[] => { - const placeholder = /(\{[a-zA-Z0-9_]+\})/g; + const placeholder = /(\{[a-zA-Z0-9_-]+\})/g; const returnData: string[] = []; const matches = text.matchAll(placeholder);