Root fields
| Field | Alias | Keterangan |
|---|---|---|
| nama | name | Nama flow. |
| trigger | pemicu | Command trigger. |
| meta | - | Command/menu metadata. |
| mulai | start | State awal. |
| timeout | expired/expires | Timeout session. |
| modeWaktu | timeoutMode/mode | idle/fixed. |
| pengingat | reminders | Reminder session. |
| error | - | Default error messages. |
| perintah | commands | Session navigation keywords. |
| komponen | components | Reusable state definitions. |
| tahap | states | State map. |
State fields
| Field | Fungsi |
|---|---|
| gunakan/use | Merge reusable component. |
| menu | Pilihan otomatis. |
| input | Smart input satu sumber event continuation. |
| terima/receive | Multi-source current/quoted/args receive. |
| aksi/action | Satu capability action. |
| pipeline | Array capability action. |
| integration | HTTP integration. |
| kondisi/conditions | Conditional routing. |
| kirim/send | Outbound content. |
| pesan/message | Prompt/message. |
| balas/reply | Reply setelah operation. |
| lanjut/ke/next | Transition. |
| perintah/commands | State navigation commands. |
Reserved targets
text
$kembali
$ulang
$reset
$awal
$selesaiCommand metadata
js
meta: {
nama: "Nama tampil",
kategori: "Media",
deskripsi: "Deskripsi command",
tampilDiMenu: true,
urutan: 100,
usage: ["{prefix}command arg"]
}Subflow schema
js
state: {
panggil: {
flow: "child",
dengan: { id: "{nomor}" },
simpanHasil: "childResult",
lanjut: "afterChild"
}
}
childReturn: {
kembalikan: { ok: true, id: "{args.id}" }
}Target flow harus static dan berada dalam script/automation yang sama agar dependency graph dapat dikompilasi sebelum publish.