Skip to main content

Get User Email

Controlled node

Overview

Retrieves the email address of the user currently executing the workflow. This node checks the runtime user context to determine if the executor is a registered implementation user or a project collaborator/team member.

If the user is not authenticated, not associated with the current project, or lacks the necessary permissions, the node returns an error object instead of an email address.

Inputs

InputTypeDescriptionDefault
RunEventTriggers the node to fetch the current user's email address.-

Outputs

OutputTypeDescription
EmailTextThe email address of the runtime user. Returns an error object if the user is not found or lacks permissions.
DoneEventFires when the node has finished executing.

Runtime Behavior

When triggered, the node performs the following checks:

  1. Validates that user information exists in the runtime context
  2. Verifies the project ID is available
  3. Checks if the user is an implementation user for the project
  4. If not an implementation user, checks if the user is a project collaborator/team member
  5. Returns the email address if found, or an error object if the user is not authorized
User Permissions Required

This node will return an error if the workflow is executed by a user who is not:

  • An implementation user for the project, OR
  • A team member/collaborator on the project

Example Usage

Basic Usage: Connect a Start node or any event trigger to the Run input. When the workflow executes, the node will output the current user's email address to the Email output, which can then be used for logging, personalization, or conditional logic.

[Start] → [Get User Email] → [Plain Text]

User email: {{email}}

Error Handling: Since the node returns an error object when user information is unavailable, you should handle this case in your workflow:

[Get User Email] → [If]
↓ ↓
(email) (test: email contains "@")
↓ ↓
[Send Email] [Log Error]