Current User Variables
Use the right person’s details in automation expressions and personalize email greetings with a fallback for missing names.
Dynamic Expressions let you use a person’s details in an automation. You can personalize an email greeting or check who took an action. This page shows you how to choose the right person and handle missing values.
Check which person values a field offers
Open the expression choices in the automation field you’re working in. The field only shows the values it can use, not everyone in your workspace. What’s available depends on the trigger, earlier steps, the active loop, and what the field accepts.
Depending on the field, you may see:
- The current user, which means the automation owner.
- The person who took the action or the user affected by the event.
- The sender’s name and email address for an email trigger.
- A user from an earlier step or from the item the loop is processing, when that item is a user.
- The email recipient’s name, including their first name, in Send Email.
Choose the person your expression should use
Automation steps run as the automation owner, using their permissions. An expression that refers to the current user gets the owner, not the person who started the run.
- To use the person who took the action, expand Trigger and select that person if the event supplies one. If the event also offers an affected user, choose the actor to get the person who took the action.
- To use a specific person, select that person directly in a field that lets you choose a user.
- To use a dynamic user from an earlier step, select that step’s user value if the field offers it.
See Context Variables if you need to find a value from a trigger or earlier step.
Greet each email recipient by name
Send Email evaluates the subject and message separately for each recipient.
- In the Send Email subject or message, open the expression choices.
- Select the recipient’s first name.
- Select Done. The expression appears in the subject or message.
For example, if Send Email is step 4, this message starts with each recipient’s first name:
Send Email message
Hello {{ step_4.receiver.firstName }}Set a fallback for a missing name
A value can appear in the expression choices and still be missing when the automation runs. Custom email and notification messages insert empty text for unavailable person values. In other fields, a reference that can’t be resolved normally causes an evaluation error.
Use IFEMPTY with the person value and fallback text. For example, use the recipient’s first name with “there” as the fallback, so the greeting reads “Hello there” when the name is missing. IFEMPTY also uses the fallback when the value can’t be resolved or causes an evaluation error.
See Functions for IFEMPTY syntax.
Common questions
How do I send an email to the owner of the idea?
In Send Email, set the recipient to the idea’s owner. If the automation starts from a form entry, choose the owner of the associated idea, not the form entry’s owner; see Custom Emails.
How can I check whose name an expression used in a past run?
You can check the recorded details for the step that used the expression. In the automation editor, select the run counter to open Runs, then select the run and inspect the step; see Runs and Troubleshooting.
Can I use an email address where an action expects a user?
No, a notification needs a user, not just an email address. If you only have an address, use Email Addresses in Send Email instead; see Data Types.
Can I show fallback text in the recipient’s language?
Yes, you can write fallback text for each language in separate Send Email actions and filter Existing Users by Language. In Send Email, Translation Variables use the automation owner’s language, not the recipient’s.