chainabit chain trigger create
Create a manual, cron or event trigger; does not grant execution authority
Synopsis
text
chainabit chain trigger create <chain-id> --input <json> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<chain-id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--input <json> | Trigger JSON: trigger_type, triggerConfig, conditions and pacing. Required. | — |
--yes | Skip confirmation prompt | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Creates manual, cron or event configuration, optional conditions and pacing limits. A trigger defines when work is requested; it does not grant authority. Human mode asks for confirmation; JSON mode skips it.
Validation
--input must be a JSON object. trigger_type is manual, cron or event. triggerConfig is an object; conditions has at most 50 entries. cooldownMinutes is an integer from 0 to 10080 and maxRunsPerDay from 1 to 1440. isActive is a JSON Boolean. Do not put a free-text prompt or tenant identifiers in trigger configuration.
Examples
bash
chainabit chain trigger create 00000000-0000-4000-8000-000000000001 --input '{"trigger_type":"manual","isActive":false}'