Roboteka
Roboteka · Robots · Assign responsible: queue / workload

Assign responsible: queue / workload

The Assign responsible: queue / workload robot picks the next employee round-robin or the least busy one and makes them responsible for the current lead, deal, contact, company or smart process item in Bitrix24 (Alaio) workflows. Repeating an employee in the list gives them a bigger share, an open-items limit protects against overload, and a fallback responsible covers the case when nobody qualifies. It returns the selected employee ID, name and email plus Y/N flags.

The robot fills the gaps of stock distribution: workload, shares, limits and a fallback recipient. In round-robin mode it keeps a fair rotation through a shared counter — several templates can share one queue by its name, and repeating an employee in the list increases their share. In workload mode it counts each candidate's open deals, leads or active tasks (optionally within selected pipelines) and hands the item to the least busy one. Shared filters: online employees only, exclusions, an open-items limit per person and a fallback responsible. The robot can assign the responsible person itself or only return the pick for use in the next workflow steps. Works with leads, deals, contacts, companies, smart process items and tasks.

What input parameters does the robot accept?

Parameter Type Required? Default
Distribution mode select yes queue
Employees (repeating one in the list gives them a bigger share of the queue) user
Department ID (takes priority over the employee list) int
Queue name — for round-robin mode (empty: a queue derived from the list composition) string
What counts as workload — for workload mode select same
Pipeline IDs to count workload in (empty: all) int
Open-items limit per employee (0: no limit) int 0
Online employees only bool N
Exclude employees user
Fallback responsible (when nobody qualifies) user
Assign as responsible (otherwise only return the pick) bool Y

What does the robot return?

Parameter Type
Selected employee ID int
Selected employee name string
Selected employee email string
Employee found (Y/N) string
Responsible assigned (Y/N) string

Scenario: distributing new deals across the sales team

  1. A deal is created and the robot runs in round-robin mode
  2. The robot skips offline employees and assigns the next one in rotation
  3. If the whole team is unavailable, the deal goes to the team lead — the fallback responsible

Related robots