We should include more options in automation for recipients. Right now we only allow to include a specific user or any user affected user. We should include at least:
⚠️ Take into account that the employee may belong to multiple teams so the option Employee's team leaders may include multiple team leaders
____________________________________________
In these triggers:
  • When a document is created
  • When a document is made visible
  • When a document is updated
  • When a new time off is requested
  • When a time off is updated
In the action Send a custom email add the option:
Employee's team leaders
____________________________________________
In these triggers:
  • When an employee is updated
  • When an employee is terminated
  • When an employee is unterminated
  • When a contract is updated
  • When a new contract is updated
  • When a new contract is created
  • Change in Basic information
  • Change in Work Schedule
  • Change in Gross Salary
  • Change in Contract Extra Information
In the action Send a custom email add the option:
  • Employee's manager (this is called Document assignee's manager in other triggers)
  • Employee's team leaders
  • External recipients?