Roboteka
Roboteka · Robots · Task chat ID

Task chat ID

The "Task chat ID" robot returns the chat identifier of a task by its ID in Bitrix24 (Alaio) business processes and robots. It hands over a number and a ready dialog identifier of the chatXXX form for messenger methods. It also returns a Chat found Y/N flag.

The robot extracts the identifier of the chat attached to a task — the task card never shows it, yet sending messages and files into the task discussion requires exactly this value. The only input is the task ID; the output is the numeric chat ID and a ready dialog identifier of the chatXXX form accepted by messenger methods. Typical use cases: wire the task discussion into external notifications; pass the dialog identifier to another robot or a webhook; log the task conversation in an external system. If the task has no chat or is not found, Chat found = N is returned. It returns the chat ID, the dialog identifier, and the Y/N flag — use them in the next steps of the business process.

What input parameters does the robot accept?

Parameter Type Required? Default
Task ID int yes

What does the robot return?

Parameter Type
Chat ID (number) int
Dialog identifier (chatXXX) string
Chat found (Y/N) string

Scenario: notifying an external system about the discussion

  1. A process accompanies an important client task
  2. The robot obtains the task chat ID by the task ID
  3. The dialog identifier goes to a webhook — the external system joins the discussion

Related robots