Skip to content

Commit e836ad2

Browse files
committed
add doc update
1 parent 2a5b9ae commit e836ad2

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

apps/docs/content/docs/en/variables/environment-variables.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,16 @@ To reference environment variables in your workflows, use the `{{}}` notation. W
6666
height={350}
6767
/>
6868

69-
## Variable Precedence
69+
## How Variables are Resolved
7070

71-
When you have both personal and workspace variables with the same name:
71+
**Workspace variables always take precedence** over personal variables, regardless of who runs the workflow.
7272

73-
1. **Workspace variables take precedence** over personal variables
74-
2. This prevents naming conflicts and ensures consistent behavior across team workflows
75-
3. If a workspace variable exists, the personal variable with the same name is ignored
73+
When no workspace variable exists for a key, personal variables are used:
74+
- **Manual runs (UI)**: Your personal variables
75+
- **Automated runs (API, webhook, schedule, deployed chat)**: Workflow owner's personal variables
7676

77-
<Callout type="warning">
78-
Choose variable names carefully to avoid unintended overrides. Consider prefixing personal variables with your initials or workspace variables with the project name.
79-
</Callout>
77+
<Callout type="info">
78+
Personal variables are best for testing. Use workspace variables for production workflows.</Callout>
8079

8180
## Security Best Practices
8281

0 commit comments

Comments
 (0)