Update a record
heliyos_records_updateUpdates selected fields of a CRM record by ID while preserving omitted values; set fields to null to clear them and add relationship links without removing existing ones.
Instructions
Updates some fields of one record by id; fields you leave out keep their values. Set a field to null to clear it. Field keys are checked against the record's object first, and unknown keys are rejected with the valid ones. relationships adds links and never removes existing ones. Get the id from heliyos_records_list or heliyos_records_lookup. Returns the changed fields and the record's key fields as structuredContent {record}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field values keyed by the object's field keys (for example company_name, domain, people_name, email, deal_name, stage). Unknown keys are rejected with the list of valid keys. `relationships` takes an array of record ids to link to this record (for example a person's company); linking adds to the existing links, and updates never remove links. | |
| record_id | Yes | record_id: a 24-character hex id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes |