diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/tag-dropdown/tag-dropdown.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/tag-dropdown/tag-dropdown.tsx index bd5cbcb274..ac1591b84b 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/tag-dropdown/tag-dropdown.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/tag-dropdown/tag-dropdown.tsx @@ -639,7 +639,8 @@ export const TagDropdown: React.FC = ({ } blockTags = ensureRootTag(blockTags, normalizedBlockName) - const shouldShowRootTag = sourceBlock.type === TRIGGER_TYPES.GENERIC_WEBHOOK + const shouldShowRootTag = + sourceBlock.type === TRIGGER_TYPES.GENERIC_WEBHOOK || sourceBlock.type === 'start_trigger' if (!shouldShowRootTag) { blockTags = blockTags.filter((tag) => tag !== normalizedBlockName) } @@ -951,7 +952,9 @@ export const TagDropdown: React.FC = ({ } blockTags = ensureRootTag(blockTags, normalizedBlockName) - const shouldShowRootTag = accessibleBlock.type === TRIGGER_TYPES.GENERIC_WEBHOOK + const shouldShowRootTag = + accessibleBlock.type === TRIGGER_TYPES.GENERIC_WEBHOOK || + accessibleBlock.type === 'start_trigger' if (!shouldShowRootTag) { blockTags = blockTags.filter((tag) => tag !== normalizedBlockName) } diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-accessible-reference-prefixes.ts b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-accessible-reference-prefixes.ts index 06d6dd795c..a7a24a31b2 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-accessible-reference-prefixes.ts +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-accessible-reference-prefixes.ts @@ -27,7 +27,9 @@ export function useAccessibleReferencePrefixes(blockId?: string | null): Set(ancestorIds) accessibleIds.add(blockId) - const starterBlock = Object.values(blocks).find((block) => block.type === 'starter') + const starterBlock = Object.values(blocks).find( + (block) => block.type === 'starter' || block.type === 'start_trigger' + ) if (starterBlock) { accessibleIds.add(starterBlock.id) } diff --git a/apps/sim/lib/workflows/block-outputs.ts b/apps/sim/lib/workflows/block-outputs.ts index 61cb1f6583..01c4d3cdf8 100644 --- a/apps/sim/lib/workflows/block-outputs.ts +++ b/apps/sim/lib/workflows/block-outputs.ts @@ -36,7 +36,9 @@ function normalizeInputFormatValue(inputFormatValue: any): InputFormatField[] { return [] } - return inputFormatValue.filter((field) => field && typeof field === 'object') + return inputFormatValue.filter( + (field) => field && typeof field === 'object' && field.name && field.name.trim() !== '' + ) } function applyInputFormatFields(