Build without code
Start with two nodes and one reply.
A useful first graph is small: a command starts the workflow and a message answers it. Build /hello manually, then add one piece of dynamic input so you can see what the connections do.

Make /hello respond
- Start from scratchCreate a workspace and choose the start-from-scratch option below the templates. Open its Workflow tab.
- Add a Slash command triggerUse the node library. Set the command name to hello, without the slash, and give it a short description.
- Add Send messageSet the target to Interaction reply and enter Hello! as the content. This answers the member who used the command.
- Connect the flowConnect the trigger’s Flow output to the message’s Flow in port. Run Check, resolve any reported issues and Save.
- /hello
- Send message → Interaction reply
Example interaction
- Member action
/hello- Bot behavior
- Replies “Hello!” to the command.
Now make the reply use a command option
Add a required text option named message to the command. Add or select a matching command-option output port. Connect that output to Send message’s Message content input. The flow connection still controls when the reply happens; the value connection supplies what it says.
Example interaction
- Member action
/hello message: Welcome to game night- Bot behavior
- Uses “Welcome to game night” as the reply content.
See Slash command for command options and Send message for targets and inputs. Use Compose text if you want to combine a fixed greeting with a dynamic value.
Prove the connection works
| Test | What it tells you |
|---|---|
| Invoke /hello in the simulator | The connected message runs and replies to the interaction. |
| Change the message option | The reply uses the new input rather than the original fixed text. |
| Invoke a different command | The hello path should not run. |
Open Simulator from the bottom of the editor. Learn how to set up cases and read failures.
Connect, deploy and try it in Discord
Connect your Discord application through the guided setup, deploy the saved workflow, and add the bot to a server you manage. Use /hello in a channel the bot can access. If the command does not appear, check deployment status and that the bot was invited to the intended server.