Reference
Article MarkdownReport an error

Action custom_modules__get

System ID: action_custom_modules__get

Description

Finds one custom module record by filters (from the parameter or from constants) and stores it in a constant. Supports sorting via order (comma-separated fields).

Events (scenario branches)

Event When it occurs
success Record found and saved
error Missing module_name, nothing found, or query 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
filters object no null Search criteria; otherwise — fields from constants
order string no null Sort fields, comma-separated, e.g. "created_at,id"
set_to string no module name Constant for saving; also saved_entity

Configuration example

{
  "module_name": "order",
  "filters": {
    "status": "pending",
    "user_id": "{{user_id}}"
  },
  "order": "created_at",
  "set_to": "pending_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