Actions17
- Entity Actions
- File Actions
- Instance Actions
- Invoice Actions
- Push Notification Actions
- Repeatable Group Actions
Instance → Update
AI-generatedSummary
Update specified fields on an existing Origami CRM record (instance) by its instance ID within a chosen entity.
Inputs
- Entity Name or ID (required) — Select the entity the instance belongs to, either from a dropdown list or via expression with an entity data name or ID.
- Instance ID (required) — The unique _id of the record instance to update.
- Input Mode (required) — Choose how to provide the update data: either by using a Field Builder UI or by entering raw JSON.
- Fields to Update (Field Builder) — When using Field Builder mode, specify one or more fields with their data names, new values, and group index for repeatable groups (0-based).
- Fields to Update (JSON) — When using Raw JSON mode, provide an array of triplets: [field_data_name, new_value, group_index], where group index is 0 for non-repeatable groups.
Output shape
a single response object containing the Origami API's update confirmation or details
The output is the raw JSON response from the Origami API update endpoint; it does not automatically flatten or transform the data. Validation errors or API errors will throw exceptions unless 'Continue On Fail' is enabled.
Examples
Example 1: Update two fields on a specific instance using Field Builder mode
Entity set to 'contacts', Instance ID set to a specific record ID, Fields to Update with 'email' and 'phone' fields and new values.
Example 2: Update fields using raw JSON input
Entity set to 'leads', Instance ID provided, Fields to Update specified as JSON array like [['fld_1234','New Value',0]]