Reference
Article MarkdownReport an error

Action custom_modules__update

System ID: action_custom_modules__update

Description

Updates an existing custom module record. The ID is taken from fields.id or from the module constant ({module_name}.id). Fields come from fields or from user constants. The updated record is stored in set_to / saved_entity or in the module name.

Events (scenario branches)

Event When it occurs
success Record updated and stored in a constant
error Module missing, record not found, or update failed

Parameters

Parameter Type Required Default Description
module_name string yes Module alias; model is also accepted
bot_id number no current bot Module bot ID
fields object no null Fields to update; must include id (or ID in the module constant)
set_to string no module name Constant for storing the result; also saved_entity

Configuration example

{
  "module_name": "order",
  "fields": {
    "id": "{{order_id}}",
    "status": "completed",
    "completed_at": "{{current_date}}"
  },
  "set_to": "completed_order"
}
Using your own AI agent?Install the open skill so your AI agent can work with current official ConnectiveOne documentation.Get the skillNeed support?Couldn’t find the answer or need help from the ConnectiveOne team? Create a request in Client Portal.Create a request