Create Bot Task
neuron_create_taskCreate a scheduled autonomous task for a bot. The instruction is a self-contained, natural-language directive the bot executes with its tools (find stale conversations, message contacts, schedule follow-ups, etc.). Sends are always screened against Do-Not-Contact, a per-run cap, and a no-repeat window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | Yes | UUID of the bot | |
| title | Yes | Short title for the task | |
| config | No | Safety / execution config for the task. | |
| enabled | No | Whether the task is active (default true). | |
| schedule | No | Schedule payload matching scheduleKind. cron: { time: 'HH:MM', days?: number[] } (0=Sunday..6=Saturday; empty/omitted = every day). interval: { everyMinutes: number }. once: { runAt: ISO8601 string }. manual: {}. | |
| timezone | No | IANA timezone (e.g. Africa/Lagos). Defaults to UTC. | |
| instruction | Yes | What the task should do, in natural language (self-contained; preserve any exact message copy verbatim). | |
| scheduleKind | Yes | cron = recurring at a clock time (slot); interval = every N minutes; once = a single future moment; manual = only runs on demand. |