Roboteka
Roboteka · Robots · Update company by ID

Update company by ID

The Update company by ID robot updates any company by its identifier from any business-process context in Bitrix24 (Alaio). The fields to change are passed as JSON in camelCase (title, assignedById, industry, revenue and others). It returns a Y/N success flag for conditional branching in the process and works through the universal CRM method crm.item.update.

The robot updates an arbitrary company by its ID, even when the business process runs on a different CRM entity — a deal, a contact or a task. The company ID and the set of fields are given explicitly: fields are passed as a JSON string in camelCase (for example {"title":"New company","assignedById":5,"industry":"IT","revenue":1000000}). The update uses the universal crm.item.update method, so all company fields are available, including custom ones. Typical cases: when a deal stage changes, update the linked company; set the responsible person and industry from an external system; bulk-change company fields from a parent process. It returns a Success (Y/N) flag: Y on a successful update, N on an empty ID, empty or invalid JSON, or an API error — compare it in the condition of the next step.

What input parameters does the robot accept?

Parameter Type Required? Default
Company ID int yes
Fields to update (camelCase JSON): {"title":"New company","assignedById":5,"industry":"IT","revenue":1000000} string yes

What does the robot return?

Parameter Type
Success (Y/N) string

Scenario: updating a company from a deal process

  1. The deal moves to a new pipeline stage
  2. The robot updates the linked company: assignedById and industry are passed as JSON
  3. A Y result confirms the update for the next step

Related robots