feat: Add If/Else node (#16833)

Closes [#1265](https://github.com/twentyhq/core-team-issues/issues/1265)
This commit is contained in:
Abdul Rahman
2026-01-01 19:35:56 +05:30
committed by GitHub
parent 5d5fd5fca5
commit dff5e3cd7b
95 changed files with 1523 additions and 163 deletions
@@ -20,6 +20,14 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
imagePath: 'https://twenty.com/images/lab/is-dashboards-enabled.png',
},
},
{
key: FeatureFlagKey.IS_IF_ELSE_ENABLED,
metadata: {
label: 'If/Else Workflow Node',
description: 'Enable if/else conditional branching in workflows',
imagePath: 'https://twenty.com/images/lab/is-if-else-enabled.png',
},
},
...(process.env.CLOUDFLARE_API_KEY
? [
// {
@@ -15,4 +15,5 @@ export enum FeatureFlagKey {
IS_TIMELINE_ACTIVITY_MIGRATED = 'IS_TIMELINE_ACTIVITY_MIGRATED',
IS_ROW_LEVEL_PERMISSION_PREDICATES_ENABLED = 'IS_ROW_LEVEL_PERMISSION_PREDICATES_ENABLED',
IS_WORKSPACE_CREATION_V2_ENABLED = 'IS_WORKSPACE_CREATION_V2_ENABLED',
IS_IF_ELSE_ENABLED = 'IS_IF_ELSE_ENABLED',
}