> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tranthor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trait - Segment Node

> Restrict a segment to users with a specific trait value.

Trait segment nodes are used to restrict segments to users whose traits, provided by their "identify" events, satisfy a specific condition.

## Example Use Case - New Users

Let's say you want to send a welcome email to new users. You can create a segment that includes users whose `createdAt` trait is a timestamp within the last 30 minutes.

<Frame>
  <img src="https://mintcdn.com/tranthor/YfEHKB3txLF8KvIE/images/new-users-segment.png?fit=max&auto=format&n=YfEHKB3txLF8KvIE&q=85&s=98d525ff2d17a345762ef16bdb10c10c" alt="New Users Segment Example" width="3680" height="2232" data-path="images/new-users-segment.png" />
</Frame>

Users who were created more than 30 minutes ago will not be included in this segment, or will leave the segment once that time has elapsed.

Imagine that you're using this "new users" segment as the entry condition to a simple journey that sends a welcome email.

<Frame>
  <img src="https://mintcdn.com/tranthor/a1TEbaHhGDlIZsN3/images/simple-welcome-journey.png?fit=max&auto=format&n=a1TEbaHhGDlIZsN3&q=85&s=aab0e3f158297e8f1cfde2621fe54ce5" alt="Simple Welcome Journey" width="3680" height="2232" data-path="images/simple-welcome-journey.png" />
</Frame>

This has the benefit that you can safely backfill data without worrying that older users will receive the welcome email.

<Snippet file="path-syntax.mdx" />
