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
- An employee\'s task is overdue
- The robot returns the manager by the employee ID: ID, name and email
- The next step assigns a reminder task to the manager
Related robots
Related articles
- 25 Bitrix24 automation examples for CRM, tasks and telephony
- Automatic lead distribution in Bitrix24: round robin and rules
- Changing the responsible person in Bitrix24: manually, in bulk, and with a robot
- Vacation management in Bitrix24: status, absence chart, and approval workflow
- Company structure in Bitrix24: departments, supervisors, and automation
- Approval workflows in Bitrix24: routes, approval sheet and deadlines
- Contract approval in Bitrix24: a step-by-step business process
- Document approval in Bitrix24: routes, approval sheet, and deadlines
- Invoice approval in Bitrix24: the feed, a smart process, or a business process
- Notifications from Bitrix24 business processes: who to, how, and why they don't arrive
- Business process tasks in Bitrix24: where to find them and how to work with them