MikroTik Smart icon

MikroTik Smart

Manage MikroTik RouterOS with Intelligent Dynamic Routing

Hotspot → Prompt (Auto)

AI-generated

Summary

Processes prefixed WhatsApp-style hotspot commands through the MikroTik API, then routes each result to an output based on matching rules. Supported commands include status, help, kick, adduser, edit, generate, block, unblock, info, and addresslist.

Inputs

  • Incoming Message (required) — Message text beginning with ! or /; messages without either prefix are ignored. Separate command arguments with #, for example !adduser#name#password#profile or !info#username.
  • Routing Rules (Cables) — Add rules with a command prefix, optional cable name, and optional forced output type. Matching commands go to the corresponding output; unmatched commands and several command handlers, including adduser and edit, use the fallback output. Output type can be left as default or set to Text, List, Button, or Carousel.

Output shape

Multiple output branches: one fallback branch plus one branch for each configured routing rule. Each processed item contains a json.result object; ignored messages contain json.info, and continue-on-fail errors contain json.error on the fallback branch.

Command handlers may read router status and hotspot data or modify users, active sessions, and IP bindings. The node connects to the configured MikroTik API once for processing; API connection or command errors can fail execution unless continue-on-fail is enabled. Result fields vary by command.

Links

Discussion