Stop Hard-Coding and Start Scaling: The Power of User Attributes in Zenphi

Let’s be honest for a second…

How many times have you had to:

  • Update multiple flows because someone changed roles?

  • Adjust approval logic because limits changed?

  • Fix routing because a user moved departments?

If your answer is “too many,” then you’re probably relying on hard-coded logic more than you should. User Attributes in Zenphi help solve this by introducing a structured way to store user-specific data that flows and spaces can reference dynamically.


💡What are User Attributes?

User Attributes are configurable properties associated with a user that can be defined at the workspace or space level and may vary depending on the context.

For example:

  • A user’s role can be Admin in one space and Member in another

  • Their department can be Engineering in one workspace and Sales in another

This allows the same user to have different permissions and metadata across different spaces or workspaces.


Where they actually help

1. Decision Logic
Drive flow behavior based on attributes instead of hard-coded user names.

2. Approval Routing
Assign and escalate approvals dynamically based on roles, limits, or organizational structure.

3. Personalization
Adapt emails, instructions, or outputs based on user-specific preferences like language or region.

4. Space-Level Context
User Attributes can also be defined at the space level and override workspace defaults.

This allows:

  • Different behavior across spaces

  • Context-aware logic per team or function

  • More flexibility without duplicating flows


💡 Why this matters

  • You reduce dependency on hard-coded values

  • Updates become centralized (change once, reflect everywhere)

  • Flows become easier to maintain and scale

  • One flow can support multiple teams and use cases


Pro Tip

Start with a few high-impact attributes:

  • Department

  • Role

  • Approval Limit

Build your logic around them and expand as needed. The shift is simple but powerful:

Stop building flows around users.
Start building flows around attributes.

How are you currently using User Attributes in your setup?