Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
An n8n workflow that answers a Slack slash command: an agent on a Google Gemini model writes the reply, remembers the recent exchanges with that person and posts it in the channel.
Slack slash command answered by a Gemini agent with memory is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
A Slack slash command
It starts when someone types the command in Slack. Set first:
A reply in the Slack channel that repeats the question and gives the answer
What you need before you start.
Language model
Writes the answer from the prompt and the remembered exchanges.
NeedsGoogle Gemini API key
Team chat
Sends the command in and receives the reply.
NeedsSlack app with a slash command and a bot token
Checked by Mindket on 13 Nov 2026
This n8n workflow puts an AI assistant behind a Slack slash command. A person types the command and a question in any channel the app is in. An agent on a Google Gemini model writes the answer. It remembers the last few exchanges with that person, so a follow-up such as a request for a shorter version makes sense. The reply is posted back in the same channel. No new app to learn. Five nodes sit in it, beside five sticky notes.
Small teams that live in Slack and want a quick assistant that answers in the channel where the question came up, without opening a new tool or a new tab. It suits an admin who can make a Slack app and run an n8n that Slack can reach. Skip it if you need answers from your own documents, because the agent has no data source. Skip it too if the command must be limited to certain people, since nothing here checks who asks.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Operations | Team leads | Ask quick questions without leaving Slack | A lead types the command and asks how to word a polite reminder to a supplier. |
| Support | Support agents | Draft a first reply to a customer | An agent pastes a customer’s question and gets a draft to edit. |
| Marketing | Marketers | Get a few headline ideas | A marketer asks for five subject lines, then asks for shorter ones. |
| Education | Teachers | Explain a topic in plain words | A teacher asks for a short explanation of fractions for ten-year-olds. |
You need a Slack app with a slash command, a Google Gemini API key, and an n8n that Slack can reach over https.
Any n8n with a public https address will run it, because Slack has to call the webhook, and Slack waits only three seconds for an acknowledgement. A local install works only when you give it a public address. Switch the workflow on first, then give its production address to Slack.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Import the file, add two credentials, switch it on and paste its address into a Slack slash command.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own, reachable over https |
| Google Gemini | An API key |
| Slack | An app with a slash command and a bot token that has the chat:write scope, and the app in the channel or with chat:write.public |
workflow.json.Google Gemini Chat Model.Send response back to slack channel.Webhook to receive message, which ends in /webhook/slack-bot.Type the command, a space and your question. Wait a moment. The answer appears in the channel as a new message that repeats your question. Ask a follow-up, and the agent remembers the thread. Nothing to restart. Each person has a thread of their own in each channel.
| To change | Where |
|---|---|
| The assistant’s role and tone | The system message in Agent |
| The model | Google Gemini Chat Model |
| How much it remembers | The context window length in Window Buffer Memory |
| The layout of the reply | The text of Send response back to slack channel |
| The address Slack calls | Webhook to receive message |
A support lead runs a Slack app for her team. She types the command in the support channel and asks for a polite way to tell a customer that a refund takes five days.
A moment later the app posts a message that mentions her, repeats the question and gives a short, friendly draft, which she copies into the customer’s ticket after a small edit. She asks for a shorter version in the same channel. The agent knows what she means, because it kept the last exchange. A colleague who asks something else gets a separate thread.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A slash command is a Slack shortcut that starts with a slash. A webhook is an address that another service can call. An agent is a model that can also use tools. Here it only talks.
For experts. The webhook acknowledges Slack at once, and the agent’s answer is posted by a separate call.
| Node | What it does | What to know |
|---|---|---|
Webhook to receive message | Receives the command as a form post | It answers on receipt and checks nothing, so Slack’s signature is not verified |
Agent | Answers the command text with the Gemini model | It has no tool connected, and a command with no text sends an empty prompt |
Window Buffer Memory | Keeps the last 10 exchanges for each person and channel | The session key is the channel id and the user id, and the store is n8n’s own memory |
Send response back to slack channel | Posts the question and the answer | The channel comes from the request, so the app must be in it or hold chat:write.public |
The notes come from Slack, Google and n8n pages and source read on 12 November 2026, and nothing was run.
models/gemini-1.5-flash-latest, is no longer listed by Google, so the node now names models/gemini-3.6-flash. The agent moved from the deprecated Conversational Agent, which n8n removes in version 3, to the Tools Agent. The memory key was Slack’s verification token, which is the same for everyone, and it is now the channel id and the user id. The original author’s company name was removed from the prompt and the reply, and the reply mentions the asker by id because Slack has phased out user_namechat:write.public. A command with no text sends an empty prompt, which the model may rejectAn n8n workflow that answers a Slack slash command. Someone types the command and a question. An AI agent on a Google
Gemini model writes the answer, remembers the last few exchanges, and posts the reply in the same channel.
workflow.json: the workflow as n8n exports it, 5 nodes and 5 sticky notes. It holds no credential.README.md: these notes.models/gemini-1.5-flash-latest. Google's deprecations and models pages, read on 12 November 2026,gemini-2.5-flash, whose calls route to another model frommodels/gemini-3.6-flash, which Google lists with no shutdown date announced.token field of the Slack request as its session key. Slack's documentation calls that field aAssistant:, and Send as User is blank. A custom sender name needs thechat:write.customize scope, and a blank one does not.user_name, which Slack says has been phased out. It now mentions the asker by user id.chat:write scope. The app must be in the channel,chat:write.public.workflow.json.Google Gemini Chat Model.Send response back to slack channel.Webhook to receive message, which ends in/webhook/slack-bot.Webhook to receive message as a form post. The webhook answers on receipt, so Slack gets itsAgent takes the text of the command as its prompt. Google Gemini Chat Model writes the answer. Window Buffer MemorySend response back to slack channel posts the question and the answer as a new message in the channel the command cameAgent.Google Gemini Chat Model.Window Buffer Memory.Send response back to slack channel.Agent.chat:write.public, the post fails.NOTICE.md 606 B README.md 4 KB workflow.json 6 KB
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
Wan-AI · Kit
Generates short 480P videos from a text prompt with the small 1.3B Wan2.1 model, packaged for the diffusers library. Runs on a consumer graphics card with abou…
serendipitylabs · Kit
Turns spoken Malayalam into text on a CPU or a CUDA GPU, as an early research release from Serendipity Labs. For people who want draft transcripts of short, cl…
OrdenWills · Kit
Turns plain home commands such as turn off the TV into structured tool calls, checking device states first. A 350M model for smart home builders and tinkerers.