Employee Onboarding

This example demonstrates how to create a simple employee onboarding workflow using WowLang. It includes tasks such as completing paperwork, setting up access, and training.

Workflow Definition

playbook "Employee Onboarding" {
    description: "A structured onboarding process for new employees"
    purpose: "Ensure smooth integration of new team members"
    thumbnail: "assets/images/onboarding.jpg"
    
    phase "Pre-arrival Preparation" {
        description: "Setup tasks before employee's first day"
        
        session "Documentation Setup" {
            description: "Prepare necessary paperwork and accounts"
            purpose: "Ensure all systems are ready for the new hire"
            suggestedDuration: 120
            
            beforeSession {
                activity {
                    name: "Document Collection"
                    description: "Gather required forms and contracts"
                    type: "information"
                    required: true
                    duration: 30
                }
            }
            
            activities {
                activity {
                    name: "Account Creation"
                    description: "Set up email and system accounts"
                    duration: 60
                    tool {
                        name: "IT Management System"
                        description: "Internal IT portal"
                    }
                }
                
                activity {
                    name: "Workspace Setup"
                    description: "Prepare physical or virtual workspace"
                    duration: 60
                }
            }
            
            afterSession {
                activity {
                    name: "Setup Verification"
                    description: "Verify all accounts and access"
                    type: "checklist"
                    required: true
                    duration: 15
                }
            }
        }
    }
    
    phase "First Day" {
        description: "Employee's first day activities"
        
        session "Welcome Meeting" {
            description: "Introduction to the company and team"
            suggestedDuration: 180
            
            space {
                name: "Main Conference Room"
                description: "Company's primary meeting space"
                type: "in-person"
                location: "Floor 2, Room 2.15"
            }
            
            activities {
                activity {
                    name: "Company Introduction"
                    description: "Overview of company history and culture"
                    duration: 60
                }
                
                activity {
                    name: "Team Meet & Greet"
                    description: "Introduction to immediate team members"
                    duration: 30
                }
                
                activity {
                    name: "HR Policies Review"
                    description: "Review of key policies and procedures"
                    duration: 90
                    tool {
                        name: "HR Portal"
                        description: "Company HR documentation system"
                    }
                }
            }
        }
    }
    
    phase "First Week" {
        description: "Initial training and setup completion"
        
        session "Systems Training" {
            description: "Introduction to core systems and tools"
            suggestedDuration: 240
            
            beforeSession {
                activity {
                    name: "Software Installation"
                    description: "Install required software packages"
                    type: "checklist"
                    required: true
                    duration: 60
                }
            }
            
            activities {
                activity {
                    name: "Email & Calendar Training"
                    description: "Learn email and calendar systems"
                    duration: 60
                    tool {
                        name: "Microsoft 365"
                        description: "Company communication platform"
                    }
                }
                
                activity {
                    name: "Project Management Tools"
                    description: "Introduction to project tracking systems"
                    duration: 90
                    tool {
                        name: "Jira"
                        description: "Project management platform"
                    }
                }
            }
            
            afterSession {
                activity {
                    name: "Training Assessment"
                    description: "Complete systems knowledge check"
                    type: "feedback"
                    required: true
                    format: "form"
                    duration: 30
                }
            }
        }
    }
    
    phase "30-Day Review" {
        description: "First month evaluation and feedback"
        
        session "Progress Review" {
            description: "Review initial period and set goals"
            suggestedDuration: 120
            
            beforeSession {
                activity {
                    name: "Self-Assessment"
                    description: "Complete self-evaluation form"
                    type: "feedback"
                    required: true
                    format: "form"
                    duration: 30
                }
            }
            
            activities {
                activity {
                    name: "Manager Review Meeting"
                    description: "Discuss progress and challenges"
                    duration: 60
                }
                
                activity {
                    name: "Goal Setting"
                    description: "Establish 90-day objectives"
                    duration: 60
                    tool {
                        name: "Performance Management System"
                        description: "Goal tracking platform"
                    }
                }
            }
            
            afterSession {
                activity {
                    name: "Review Documentation"
                    description: "Document review outcomes and goals"
                    type: "summary"
                    required: true
                    format: "document"
                    duration: 30
                }
            }
        }
    }
}