Get fast AI answers inside Slack with a simple slash command. Team members type a command and receive a clear reply posted to the same channel. It is great for quick Q and A, draft messages, and short summaries without leaving chat.
When someone triggers a slash command, Slack sends the text to an n8n webhook. The webhook confirms the request with a 204 response so Slack does not wait. A Switch node routes each command, so you can support different actions. The Basic LLM Chain passes the message text to the OpenAI Chat Model and returns a clean answer. The Slack node then posts that answer back into the original channel using the channel id from the request. You can add more branches to handle extra commands like summarize or translate.
To set this up, you need a Slack app with a slash command and an OpenAI API key. Connect Slack and OpenAI in n8n, map the channel field, and keep the default 204 reply in the webhook. Expect faster replies in channels, fewer context switches, and less copy and paste. This fits internal help desks, on call handoffs, and marketing content drafts.