Reference
Article MarkdownReport an error

Action get_command

System ID: action_get_command

Description

Processes commands in the /commandname format (and with a space-separated parameter), as well as commands from a deeplink. The command name is returned as the scenario branch; the parameter (if any) is stored in the messenger_input_param constant.

Events (scenario branches)

Event When it occurs
command name (dynamic) Command found — returns the name without the slash (start, menu, help, …)
no_command No command in the request

Branches should be configured for the bot’s expected commands.

Parameters

No parameters ({}).

Configuration example

{}

Example: the user sent /subscribe newsletter123 → branch subscribe, constant messenger_input_param = newsletter123.

Using your own AI agent?Install the open skill so your AI agent can work with current official ConnectiveOne documentation.Get the skillNeed support?Couldn’t find the answer or need help from the ConnectiveOne team? Create a request in Client Portal.Create a request