Get employee email / phone
The Get employee email / phone robot returns an employee's contact details from their Bitrix24 (Alaio) user profile: email, work phone, personal phone and employee name. It also returns a Y/N flag indicating whether the employee was found. It is used in business processes and robots for notifications and inserting contacts.
The robot reads an employee's user profile in Bitrix24 (Alaio) by their ID and hands the contact details to the business process. It takes only the employee ID as input and returns the email, work phone, personal phone, employee name and a found flag (Y/N). Use it when you need to insert the contacts of an assignee or responsible person: send an SMS to the employee's work phone, add their email to the email copy, pass the number to an external call service, or show the contacts in a notification to a colleague. If the ID is not specified or the employee is not found, the robot returns found=N and empty values — check this flag in the condition of the next step before using the contacts.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| Employee ID | int | yes |
What does the robot return?
| Parameter | Type |
|---|---|
| string | |
| Work phone | string |
| Personal phone | string |
| Employee name | string |
| Employee found (Y/N) | string |
Scenario: notifying the responsible person on a deal
- A deal moves to the In progress stage
- The robot returns the email and phones by the responsible person ID
- The next step sends a notification to the employee\'s email