description = "Employee onboarding with dynamic templates"
name = "employee_onboarding"

[[elements]]
name = "welcome"
template = "Welcome to the team, {{ env.USER }}!"
type = "section"

[[elements]]
content = "Please complete the following information to get started."
name = "instructions"
type = "section"

[[elements]]
name = "full_name"
prompt = "What is your full name?"
required = true
type = "text"

[[elements]]
default = "{{ env.USER }}@company.com"
name = "email"
prompt = "Enter your work email address"
required = true
type = "text"

[[elements]]
name = "department"
options = [
  { value = "Engineering", label = "💻 Engineering" },
  { value = "Marketing", label = "📢 Marketing" },
  { value = "Sales", label = "💼 Sales" },
  { value = "Support", label = "🛠️ Support" },
  { value = "HR", label = "👥 Human Resources" },
]
prompt = "Which department are you joining?"
required = true
type = "select"

[[elements]]
name = "start_date"
prompt = "What is your start date?"
required = true
type = "date"

[[elements]]
name = "manager_name"
prompt = "Who is your manager?"
required = true
type = "text"

[[elements]]
name = "office_location"
options = [
  { value = "New York", label = "🗽 New York" },
  { value = "San Francisco", label = "🌉 San Francisco" },
  { value = "London", label = "🇬🇧 London" },
  { value = "Remote", label = "🏠 Remote" },
]
prompt = "Which office location?"
required = true
type = "select"

[[elements]]
border_top = true
content = "Thank you for completing your onboarding! Welcome aboard!"
name = "closing"
type = "footer"
