> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zazubot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Command

This event allows you to trigger a specifc flow when a command is sent to the bot. This command can be sent with an [continueChat HTTP request](/api-reference/chat/continue-chat) with a `command` message type or with the [zazubot.sendCommand](/deploy/web/html-javascript#commands) function if your bot is embedded on a website.

You assign a unique command name for each node and you can optionally resume the flow after the command is sent.

<Frame>
  <img src="https://mintcdn.com/zazubot/_eRGnFfHYvpabed3/images/events/command.avif?fit=max&auto=format&n=_eRGnFfHYvpabed3&q=85&s=8145089090f89ebb479a1498fe18d90e" alt="Command event in zazubot editor" width="2016" height="1152" data-path="images/events/command.avif" />
</Frame>
