Resource
custom_workflow_action
A tenant-defined action backed by a Script, invocable from workflows and the UI.
Configuration
nameString!RequiredMachine-readable slug, unique per tenant. Must match ^[a-z][a-z0-9_-]{0,63}$.
labelString!RequiredHuman-readable display name shown in the UI. Required.
descriptionStringOptionalOptional tooltip / documentation text, max 1000 characters.
iconStringOptionalOptional Lucide icon name used to render the action, max 64 characters.
scriptIdScriptID!RequiredTypeID (prefix scr) of the Script implementing the action. Must reference a script in this tenant.
References script
configSchemaStringOptionalOptional JSON Schema document (as a JSON string) describing the action's configuration.
isActiveBoolean!OptionalSoft enable/disable toggle. Defaults to true when omitted.
Read-only values
Show values
idCustomWorkflowActionID!Read onlyTypeID of this custom action, prefix cac (e.g. "cac_01K…").
computed by the platform
pinnedScriptContentStringRead onlyFrozen snapshot of the script source taken when the action was pinned. Null means the action is unpinned and always executes the live script content.
computed by the platform
createdAtString!Read onlyISO-8601 timestamp of when the action was first created.
computed by the platform
updatedAtString!Read onlyISO-8601 timestamp of the last successful write to the action; equal to createdAt until it is first updated.
computed by the platform
Lifecycle
The CLI can create this resource. The platform assigns its id.
When replacement is needed, the existing resource is removed before its replacement is created.