Find last call by phone number
The Find last call by phone number robot searches Bitrix24 (Alaio) telephony history for the most recent call with a given phone number, optionally filtering by type (incoming or outgoing). It returns a found flag (Y/N), the call ID, duration in seconds, date and time, completion code, recording link, and employee ID. It is used in business processes to verify the fact and details of a call.
The robot finds the last call by phone number in Bitrix24 (Alaio) telephony statistics right from a business process or robot. It takes a phone number and a call type as input: any, incoming, or outgoing. It outputs eight fields: Found Y/N, the call ID, duration in seconds, date and time, the completion code (200 means a connected call), the recording link, and the ID of the employee who handled the call. Use it to confirm that a manager actually called the client back, get a recording link to listen to, learn the duration of the last contact before a deal stage change, or determine the responsible employee for an incoming request. Use the result fields in the conditions, notifications, and field updates of later process steps.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| Phone number | string | yes | |
| Call type | select | — |
What does the robot return?
| Parameter | Type |
|---|---|
| Found (Y/N) | string |
| Call ID | string |
| Duration (seconds) | int |
| Call date and time | string |
| Completion code (200 = connected) | string |
| Recording URL | string |
| Employee ID | int |
Scenario: checking a callback on a request
- A lead is created with the client phone number
- The robot searches for the last outgoing call to that number
- If Found equals N, the process reminds the manager to call back, otherwise it saves the recording link