diff --git a/packages/builder/src/components/integration/index.svelte b/packages/builder/src/components/integration/index.svelte
index a409a8efe1..9f7be43bcf 100644
--- a/packages/builder/src/components/integration/index.svelte
+++ b/packages/builder/src/components/integration/index.svelte
@@ -67,7 +67,7 @@
{/if}
{:else if schema.type === QueryTypes.FLOW}
- {#if query.fields.steps?.length == 0}
+ {#if (query.fields.steps?.length ?? 0) === 0}