diff --git a/packages/cli/src/WebhookHelpers.ts b/packages/cli/src/WebhookHelpers.ts index 238c05fc6c..8ff9802bed 100644 --- a/packages/cli/src/WebhookHelpers.ts +++ b/packages/cli/src/WebhookHelpers.ts @@ -76,6 +76,8 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo let parentNodes: string[] | undefined; if (destinationNode !== undefined) { parentNodes = workflow.getParentNodes(destinationNode); + // Also add the destination node in case it itself is a webhook node + parentNodes.push(destinationNode); } for (const node of Object.values(workflow.nodes)) {