Hoppa till huvudinnehåll

Slash commands

Members can run the assistant through Discord's native slash commands, not just by mentioning it.


/ask

/ask is built in. A member types /ask followed by their question, and the assistant answers in the channel using your knowledge base. It's on by default, and you can turn it off from the Commands tab if you'd rather not offer it.


Turn a SmartFlow into a command

Any of your SmartFlows set up as an AI Tool can become its own slash command — an order lookup, a ticket creator, whatever you've built.

  1. In Integrations → Discord, open the Commands tab.
  2. Each eligible SmartFlow appears in the list. Toggle the ones you want members to be able to run.
  3. Click Restart bot to apply your changes.

The SmartFlow's inputs become the command's options, so members fill them in right from Discord.

Changes apply after a restart

Discord registers a bot's commands when it starts. A command you just turned on appears in the server after you press Restart bot — give it a few seconds.


Write the command's reply

Whatever the SmartFlow returns is posted in the channel, word for word — so the flow itself writes the answer the member reads.

End your flow with a Set Observation step and put the sentence you want them to see there, using your flow's variables:

Order {{order_id}} shipped on {{ship_date}} — track it here: {{tracking_url}}

Skip that step and the member gets whatever the flow happened to finish on, which is usually the raw data from an API lookup — unreadable in a channel. A flow that returns nothing at all shows an error instead.

Keep it under 2,000 characters

Discord won't post more than that in one reply. Summarise long lists, or send a link to a page.


Next

Redo att höja din
användarupplevelse?

Distribuera AI-assistenter som gläder kunder och växer med ditt företag.

GDPR-kompatibel