Console commands

Managing the help desk itself: clients, chats, tickets, rules, plugins and settings. Staff only.

Run each as one terminal line starting with $ , with real values instead of the examples. Plain text version.

$ what happened today
Recent activity (reads only)
Details: person or people (optional)
Also: what did Hadi do
$ list admins
List admins (reads only)
$ list clients
List clients (reads only)
Details: name or number to find (optional)
Also: how many clients do i have, i need to know how many clients i have
$ pending
What is waiting for confirmation (reads only)
Also: list pending
$ undo
Undo my last action (changes something)
Also: undo that
$ status
Status of the assistant (reads only)
Also: are you online
$ which model is with me
Which brains (AI) are in use, their models and today's cost (reads only)
Also: which brain, show brains
$ pause
Pause the assistant (changes something)
$ resume
Resume the assistant (changes something)
$ list rules
Show global rules (reads only)
$ add rule: never share /Legal after 10pm
Add a global rule (changes something)
Form: add rule: <text>
Details: text
Also: add global rule nobody can share /Finance
$ remove rule 4
Remove a global rule (changes something)
Form: remove rule <number>
Details: number
$ add client Acme
Add a client (changes something)
Form: add client <client name>
Details: client name
Also: register new client "Acme Ltd"
$ remove client Acme
Remove a client (changes something)
Form: remove client <client name>
Details: client name
$ duplicate clients
List clients that share a phone number or email (reads only)
Also: which clients share a number
$ merge client Rami web visitor into Rami Khoury
Merge one client into another (numbers, emails, chats, tickets) (changes something)
Form: merge client <client name> into <text>
Details: client name, text
$ show rules for Acme
Show one client's rules (reads only)
Form: show rules for <client name>
Details: client name
Also: show client Acme
$ show notes of client Acme
Show a client's private notes (reads only)
Form: show notes of client <client name>
Details: client name
Also: list current private notes for Acme
$ note for client Acme: be very polite, he is an old customer
Set private notes for a client (they guide the AI) (changes something)
Form: note for client Acme: <text>
Details: client name, text
$ clear notes for Acme
Clear a client's private notes (changes something)
Form: clear notes for <client name>
Details: client name
$ staff only on for Acme
Switch an enforced rule for a client (changes something)
Form: <staff only, no ai or approve every change> <on or off> for <client name>
Details: client name, staff only, no ai or approve every change, on or off
Also: turn off no ai for client Acme, approve every change on for Acme
$ add number +96171123456 to client Acme
Link a chat, a group or a number to a client (changes something)
Form: add number <chat name or phone number> to client <client name>
Details: chat name or phone number, client name
Also: add group "Acme support" to client Acme, add requester +96171123456 to client Acme
$ make group "nextcloud ai" an admin group
Make a chat an admin chat (changes something)
Form: make group "<chat name or phone number>" an admin group
Details: chat name or phone number
Also: add +96170111222 to admins
$ remove group "Acme support"
Stop listening to a chat (changes something)
Form: remove group "<chat name or phone number>"
Details: chat name or phone number
Also: stop listening to number +96171123456, stop listening to +96171123456
$ never listen to all current chats
Never listen to all the chats that exist now (not admin or client chats) (changes something)
Also: make all current chats never listen, ignore all existing chats
$ never listen to +96171123456
Never listen to a chat (even with a business keyword) (changes something)
Form: never listen to <chat name or phone number>
Details: chat name or phone number
Also: never listen to group "Family", always ignore number +96171123456
$ listen again to +96171123456
Listen again to a chat set to never listen (changes something)
Form: listen again to <chat name or phone number>
Details: chat name or phone number
Also: stop ignoring group "Family"
$ list never listen chats
Chats set to never listen (changes something)
Also: show ignored chats
$ add admin +96170111222
Add an admin person (changes something)
Form: add admin <chat name or phone number>
Details: chat name or phone number
$ remove admin +96170111222
Remove an admin person (changes something)
Form: remove admin <chat name or phone number>
Details: chat name or phone number
$ client Acme owns domain acme.com
Say what a client owns (changes something)
Form: client <client name> owns <what the client owns (e.g. a domain or a folder)> <the domain, folder or account>
Details: client name, what the client owns (e.g. a domain or a folder), the domain, folder or account
Also: give Acme folder /Clients/Acme, client Acme owns cpanel account Main
$ remove domain old.com from Acme
Remove something a client owns (changes something)
Form: remove <what the client owns (e.g. a domain or a folder)> <the domain, folder or account> from <client name>
Details: what the client owns (e.g. a domain or a folder), the domain, folder or account, client name
$ allow Acme to create mailboxes
Allow a client to do something (changes something)
Form: allow <client name> to <command name>
Details: client name, command name
Also: allow Acme to add dns records
$ stop Acme from adding dns records
Stop a client from doing something (changes something)
Form: stop <client name> from <command name>
Details: client name, command name
$ allow client Acme to send files
Let a client send files (photos, voice notes, documents) or not (changes something)
Form: allow client <client name> to send files
Details: client name, on or off (optional)
Also: stop Acme from sending files, files off for client Acme
$ test file on whatsapp
Test sending files (a photo and a PDF) over a channel: WhatsApp, Telegram or a mailbox (changes something)
Form: test file on <channel (as Files → Test lists it)>
Details: channel (as Files → Test lists it), to (time) (optional)
Also: test files on telegram to Hadi, test file on email sales
$ send a message to Yahya: your order is ready
Send a message to a chat, a client, or many (all clients, the clients of a business, all chats, chats not listening, one channel) (changes something)
Form: send a message to Yahya: <text>
Details: user or group, text
Also: send to all clients: we are closed tomorrow, send to solar clients: new battery prices next week
$ broadcast status
Broadcasts: sent, waiting, paused (reads only)
Also: list broadcasts
$ cancel broadcast
Cancel a broadcast (what was sent stays sent) (changes something)
Details: value (optional)
Also: stop broadcast A1B2C3
$ resume broadcast
Resume a paused broadcast (changes something)
Details: value (optional)
$ setting client messages per minute
Show one setting (or all of them, with their names) (reads only)
Form: setting <name>
Details: name (optional)
Also: what is the setting time zone, list all settings
$ set setting client messages per minute to 10
Change one setting (any core setting, by its name) (changes something)
Form: set setting <name> to <value>
Details: name, value
Also: set setting time zone to Asia/Beirut, turn off setting chat logs
$ verification status
Verification codes: settings, codes waiting, numbers locked after wrong codes (reads only)
Also: locked codes
$ unlock verification +96171123456
Unlock a number or email locked after too many wrong verification codes (changes something)
Form: unlock verification <value>
Details: value
Also: unlock codes for sara@example.com, unlock verification all
$ files log
The files log (received, refused, sent, failed…) (reads only)
Details: name or number to find (optional)
Also: files log failed
$ set tickets for Acme to 3 per week
Set weekly tickets (changes something)
Form: set tickets for <client name> to <number> per week
Details: client name, number
$ set max mailboxes for Acme to 5
Set max mailboxes (changes something)
Form: set max mailboxes for <client name> to <number>
Details: client name, number
$ set mailbox size for Acme to 1024 MB
Set max mailbox size (MB) (changes something)
Form: set mailbox size for <client name> to <number> MB
Details: client name, number
$ set support hours for Acme 8-20
Set support hours (changes something)
Form: set support hours for <client name> 8-20
Details: client name, from (time), to (time)
Also: set hours for Acme 08:00 to 18:00
$ nextcloud commands
Show a command guide (a service, console or custom) (reads only)
Form: <a service name, console or custom> commands
Details: a service name, console or custom
Also: send me nextcloud api, list nextcloud commands
$ docs
Vast Helpdesk docs link (to give an AI) (changes something)
Also: send me the docs, vast helpdesk docs
$ list chats
List chats (number them to assign) (reads only)
Details: name or number to find (optional)
Also: list new chats, chats
$ assign chat 3 to client Acme
Assign a listed chat to a client (changes something)
Form: assign chat <number> to client <client name>
Details: number, client name
Also: chat 3 to Acme
$ make chat 5 admin
Make a listed chat an admin chat (changes something)
Form: make chat <number> admin
Details: number
Also: chat 5 admin
$ unassign chat 4
Stop listening to a listed chat (changes something)
Form: unassign chat <number>
Details: number
Also: ignore chat 4
$ rename client 96176316570 to Nour Store
Rename a client (changes something)
Form: rename client <client name> to <text>
Details: client name, text
Also: rename Acme to Acme Ltd
$ plugins
List plugins (reads only)
Also: list plugins
$ turn on plugin telegram
Turn a plugin on or off (changes something)
Form: turn <on or off> plugin <word>
Details: on or off, word
Also: plugin telegram off
$ test plugin metaai
Test a plugin (reads only)
Form: test plugin <word>
Details: word
Also: test cpanel
$ restart
Restart the router (changes something)
Also: restart the router
$ resume sending
Resume sending after the ban guard stopped (changes something)
$ set console word j2d8
Set the console word (changes something)
Form: set console word <word>
Details: word
Also: console word off
$ meta replies off
Let the AI answer in its own words (on/off) (changes something)
Form: meta replies <on or off>
Details: on or off
Also: turn on free replies
$ set support hours 8-20
Set the general support hours (changes something)
Details: from (time), to (time)
Also: set our support hours to 09:00 to 17:00
$ give owner permissions to Hadi
Give owner permissions (including the shell) to a staff member or a group (changes something)
Form: give owner permissions to <person or people>
Details: person or people
Also: grant owner rights to group Ops, make Hadi an owner
$ remove owner permissions from Hadi
Take owner permissions away from a staff member or a group (changes something)
Form: remove owner permissions from <person or people>
Details: person or people
Also: take owner rights from group Ops
$ set terminal word shell
Set (or clear) the Terminal mode word (changes something)
Form: set terminal word <word>
Details: word
Also: terminal word off
$ self test
Run the live self-test (changes something)
Details: text (optional)
Also: run the selftest, selftest quick
$ find group gova ops
Look for a group in WhatsApp (where it is known, and why it may be missing) (changes something)
Form: find group <text>
Details: text
Also: look for group Sales team
$ add staff Hadi +96170111222
Add a staff member (name, number, what they may do) (changes something)
Form: add staff <name> <chat name or phone number>
Details: name, chat name or phone number, what they may do (optional)
Also: add staff Sara Haddad +96170333444 can manage email, nextcloud, add Omar +96170555666 as staff
$ daily report
The daily report so far (what happened, AI use and credit left) (reads only)
Also: today's report, send the daily report now
$ set daily report time to 21:00
Daily report: its time, on or off, AI or plain numbers (changes something)
Form: set daily report time to <time (HH:MM)>
Details: time (HH:MM) (optional), on or off (optional)
Also: daily report at 8:30, daily report off
$ tidy up on
Tidy up finished requests: delete their questions and yes/no answers (changes something)
Form: tidy up <on, off, console, staff or all>
Details: on, off, console, staff or all
Also: tidy up console, tidy up off
$ settings
Show the settings (tidy, quiet time, limits, new chats, report, console word…) (reads only)
Also: show settings, is tidy on?
$ new chats off
Answer new chats (new leads) on or off: everyone already listed still works (changes something)
Form: new chats <on or off>
Details: on or off (optional)
Also: new chats on, stop answering new chats
$ set quiet time 5
Set how long the router stays quiet after a manual reply (changes something)
Form: set quiet time <number>
Details: number
Also: quiet time 10 minutes
$ remove requester +96171123456 from client Acme
Remove a requester from a client (changes something)
Form: remove requester <chat name or phone number> from client <client name>
Details: chat name or phone number, client name
$ set language of Acme to arabic
Set the language a client is answered in (changes something)
Form: set language of <client name> to <word>
Details: client name, word
Also: answer Acme in english, set language of Acme to auto
$ pause client Acme
Pause a client (the router stops answering them) (changes something)
Form: pause client <client name>
Details: client name
Also: stop answering Acme
$ clients without chats
Clients that have no chat linked (reads only)
$ list whatsapp groups
List the groups on WhatsApp/Telegram (all, admin, client, not listened to) (reads only)
Form: list <filter> groups
Details: filter (optional)
Also: list admin groups, list client groups
$ continue chat +96171123456
Continue a chat: reset its limits and answer what was held (changes something)
Form: continue chat <chat name or phone number>
Details: chat name or phone number
Also: reset chat "Yahya Sharafeddine"
$ show group "nextcloud ai"
Show the settings of a group or chat (reads only)
Form: show group "<chat name or phone number>"
Details: chat name or phone number
Also: settings of chat +96171123456
$ limit group "nextcloud ai" to nextcloud
Choose what an admin group may manage (changes something)
Form: limit group "<chat name or phone number>" to <text>
Details: chat name or phone number, text
Also: let group "Ops" manage everything
$ trigger word off for group "Acme support"
Need the trigger word in a group (on/off) (changes something)
Form: trigger word <on or off> for group "<chat name or phone number>"
Details: chat name or phone number, on or off
Also: group "Ops" trigger on
$ show staff Hadi
Show a staff member (permissions, alerts, tickets) (reads only)
Form: show staff <person or people>
Details: person or people
Also: what can Hadi do
$ alerts on for Hadi
Private alerts for a staff member (on/off) (changes something)
Form: alerts <on or off> for <person or people>
Details: person or people, on or off
Also: turn off alerts for Hadi
$ rename staff Hadi to Hadi Nasser
Rename a staff member (changes something)
Form: rename staff <person or people> to <text>
Details: person or people, text
$ let Hadi manage nextcloud and tickets
Choose what a staff member may do (changes something)
Form: let <person or people> manage <text>
Details: person or people, text
Also: let Hadi do everything
$ switch off staff Hadi
Switch a staff member on or off (changes something)
Form: switch <on or off> staff <person or people>
Details: person or people, on or off
Also: turn on staff Hadi
$ terminal steps off
Terminal: show each step, or only the result (changes something)
Form: terminal steps <on or off>
Details: on or off
Also: terminal steps on
$ resume client mahmoud
Answer a client again now (end the pause after a manual reply) (changes something)
Form: resume client <client name>
Details: client name
Also: answer mahmoud again
$ meta docs name
What the AI gets with each question: the commands, or only the docs name (changes something)
Form: meta docs <mode>
Details: mode
Also: meta docs full
$ chat 3 docs name
What the AI gets for one chat (full, name or default) (changes something)
Form: chat <number> docs <mode>
Details: number, mode
Also: chat 3 meta docs full, chat 3 docs default
$ docs indexing on
Let search engines index the docs (on/off) (changes something)
Form: docs indexing <on or off>
Details: on or off
Also: turn off docs crawlers
$ plugin chatgpt settings
Show the settings of a plugin (reads only)
Form: plugin <word> settings
Details: word
Also: settings of the cpanel plugin
$ set plugin chatgpt model to gpt-6.1-sol
Change one setting of a plugin (a brain's model or mode, a budget…) (changes something)
Form: set plugin <word> <setting> to <value>
Details: word, setting, value
Also: set plugin chatgpt prompt mode to simple, set plugin claude daily budget to 5
$ logs
Show the router log (last lines) (changes something)
Details: text (optional)
Also: show logs for mahmoud, logs whatsapp
$ teach meta
Send the Vast Helpdesk docs to the brains that keep a chat (changes something)
Also: teach the brain, send the docs to the ai
$ set trigger words meta, ميتا
Set the group trigger words (changes something)
Form: set trigger words <text>
Details: text
$ undo the last rule change
Undo the last rule change (changes something)
Also: rollback rules
$ rules history
Rule change history (reads only)
$ list commands
List playbook commands (reads only)
$ disable command delete mailbox
Switch a playbook command on/off (changes something)
Form: <enable or disable> command <command name>
Details: enable or disable, command name
Also: enable command dns records
$ forget phrase "show me the shop list"
Forget wording the help desk learned for a command (changes something)
Form: forget phrase "<phrase>"
Details: phrase
Also: unlearn wording "show me the people"
$ add phrase "my mail is dead" to command email not working
Teach a command a new phrase (changes something)
Form: add phrase "<phrase>" to command <command name>
Details: phrase, command name