Skip to main content
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 with a command message type or with the Typebot.sendCommand function if your bot is embedded on a website.
Looking to trigger behavior when the user types a keyword like restart or help? Use a Reply event instead — the Command event is only for triggers sent programmatically from outside the chat. See the user commands guide for a concrete example.
You assign a unique command name for each node and you can optionally resume the flow after the command is sent.
Command event in Typebot editor

Return to main flow

By default, when an event is executed, the session will end and not return to the main flow. Use a Return block to return to the main flow. This allows you to have the flexibility to conditionally end the session.