diff --git a/packages/cli/src/WorkflowHelpers.ts b/packages/cli/src/WorkflowHelpers.ts index 87457439a4190..496f80659e1b3 100644 --- a/packages/cli/src/WorkflowHelpers.ts +++ b/packages/cli/src/WorkflowHelpers.ts @@ -604,6 +604,7 @@ export async function getSharedWorkflowIds(user: User): Promise { */ export async function isBelowOnboardingThreshold(user: User): Promise { let belowThreshold = true; + const skippedTypes = ['n8n-nodes-base.start', 'n8n-nodes-base.stickyNote'] const workflowOwnerRole = await Db.collections.Role.findOne({ name: 'owner', @@ -626,7 +627,7 @@ export async function isBelowOnboardingThreshold(user: User): Promise { // valid workflow: 2+ nodes without start node const validWorkflowCount = workflows.reduce((counter, workflow) => { if (counter <= 2 && workflow.nodes.length > 2) { - const nodes = workflow.nodes.filter((node) => node.type !== 'n8n-nodes-base.start'); + const nodes = workflow.nodes.filter((node) => !skippedTypes.includes(node.type)); if (nodes.length >= 2) { return counter + 1; }