Roboteka
Roboteka · Robots · Get employee manager

Get employee manager

The Get employee manager robot determines an employee's direct manager based on the Bitrix24 (Alaio) department structure and returns the manager ID, name and email, plus a Y/N flag indicating whether a manager was found. It is used in business processes and robots for escalating tasks and approvals up the chain.

The robot finds the direct manager of an employee by their ID, relying on the company department structure in Bitrix24 (Alaio). It takes only the employee ID as input and returns the manager ID, name, email and a found flag (Y/N). Use it when you need to automatically route a task or approval upward: assign the manager as responsible, add them as an observer, notify them about a subordinate's overdue task, or build an approval chain bottom-up. If the employee has no manager or the employee is not found, the robot returns found=N and empty values — check this flag in the condition of the next step to pick a fallback branch (for example, escalating to the director).

What input parameters does the robot accept?

Parameter Type Required? Default
Employee ID int yes

What does the robot return?

Parameter Type
Manager ID int
Manager name string
Manager email string
Manager found (Y/N) string

Scenario: escalating an overdue task

  1. An employee\'s task is overdue
  2. The robot returns the manager by the employee ID: ID, name and email
  3. The next step assigns a reminder task to the manager

Related robots

Related articles