Mindket

Chat agent that asks a human on Slack when it is stuck

Newversion 1 · updated

Overview

An n8n workflow with a chat. An AI agent answers what it can. When it has no answer, it asks for the visitor’s email address, then posts the question to a Slack channel so a person can reply.

Chat agent that asks a human on Slack when it is stuck is an n8n workflow in the Business 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.

At a glance

Runs in
  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • A help page: switch Chat Trigger to public to get a chat address you can embed or share
  • Another channel: swap the Slack node for Gmail, Teams or a ticket tool

Platform

Connects 2 apps

How it works

Trigger

Chat message

It starts when someone sends a message in the workflow’s chat:

  • The visitor’s message

Actions

  1. The AI Agent reads the message with the last five exchanges as memory
  2. GPT-5.6 Sol answers, or calls the Not sure? tool when it has no answer
  3. The tool starts a second workflow that checks the message for an email address
  4. With an address, Slack gets the message and the visitor is told a human has been messaged
  5. Without one, the visitor is asked to send the question again with an address

Result

A chat reply: the agent’s answer, a note that a person was asked, or a request for an email address

Integrations

What you need before you start.

OpenAI

Language model

Runs gpt-5.6-sol for the agent, which answers or decides to call its tool.

NeedsOpenAI API key

Slack

Team chat

Posts the visitor’s message, with its email address, to a channel so a person can pick it up.

NeedsA Slack workspace, an app that can post messages and a channel

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
7 steps, starting when another workflow calls it or on a chat message
AI
1 step calls an AI model: AI Agent
Sign-ins
Signs in to: Slack and OpenAI
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 6 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow is a chat agent that hands a question to a person when it cannot answer. A visitor types in the chat. The agent, GPT-5.6 Sol in Mindket’s copy, answers if it can and remembers the last five exchanges. When it has no answer or is unsure, it calls a tool named dont_know_tool. That tool runs a second workflow inside the same file. The second workflow looks for an email address in the visitor’s message. With one, it posts the message to a Slack channel, and the agent tells the visitor a human has been messaged. Without one, it asks the visitor to send the question again with an address. Ten nodes do the work, beside seven sticky notes.

Who it suits

Small teams that put a chat on a help page and want a person to catch what the bot cannot answer, with an address to write back to. Skip it if you need the human to join the chat itself. The agent only posts to Slack, and the reply has to leave Slack by email.

Who uses it, and how
IndustryWho uses itHow they use itExample
SoftwareSupport leadsPut the agent on a help page and send the odd billing or account question to a Slack channelA SaaS team’s agent answers feature questions and passes a refund dispute to the support channel.
EcommerceStore ownersLet the agent handle sizing and shipping and pass the rest to the ownerA shop owner gets a Slack message when a visitor asks about a bulk order.
AgenciesFreelancers who build bots for clientsHand a client a chat with a human fallback already wiredA freelancer sets up the Slack step for a client’s own workspace.
EducationCourse teamsAnswer common questions and route the rest to an instructorA course team sees each unanswered question in one channel.

You need a little n8n: import a file, add two credentials and pick a Slack channel. The workflow’s own sticky notes give no setup time.

Where to use it

Any n8n that can reach OpenAI and Slack will run it. The chat opens inside n8n until you make the trigger public.

  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • A help page: switch Chat Trigger to public to get a chat address you can embed or share
  • Another channel: swap the Slack node for Gmail, Teams or a ticket tool

Setup

Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two accounts cover every step.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
OpenAIAn API key that can use gpt-5.6-sol
SlackA workspace, an app that can post messages and a channel for the questions
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. Save the workflow. The tool calls this same workflow by its id, so it works only once the workflow is saved.
  4. Add a Slack credential. In Message Slack for help, choose the channel by name. The file leaves it empty.
  5. Open the chat with the Chat button at the bottom of the canvas. Ask a question and tell the agent to answer as if it does not know. It should ask for your email address.
  6. Send the question again with an address in the same message. Slack gets it, and the agent confirms that a human was messaged.

How to use it

Open the chat and type a question. The agent answers from what the model knows. When it cannot, the visitor sees a request for an email address and then a thank-you. Your team sees the question in Slack with the address typed in the message. Memory covers the last five exchanges for each chat session.

What to change for a different result
To changeWhere
The agent’s rulesThe system message in AI Agent
When it asks for helpThe description of Not sure?
The two repliesThe texts in the two Code nodes
The Slack messageThe text in Message Slack for help
How much it remembersContext Window Length in Window Buffer Memory

Example

A visitor asks whether a plan includes a feature the agent has no source for. The agent calls its tool. The first message carries no address, so the visitor sees a request to send the question again with one.

The visitor sends it again with an address in the same message. Slack gets the question and the address in one post, and the visitor reads that a human has been messaged. Nobody on your side has to watch the chat.

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one is two workflows in one file. The top runs the chat, and the lower one only runs when the agent calls its tool. Start with the chat test from step 5. Then open the run to see the tool call.

For experts. The tool calls the same workflow it sits in, through its id.

Where to look closer
NodeWhat it doesWhat to know
AI AgentVersion 1.2 with the model, the memory and Not sure?No agent type is set, so n8n reads it as a Conversational Agent
Not sure?A Tool Workflow node that calls $workflow.idIt sends chatInput from Chat Trigger, the visitor’s latest message
Check if user has provided emailAn IF node with a regular expressionIt tests only the latest message and does not confirm the address exists
Message Slack for helpPosts the message to a channel chosen by nameNothing is chosen in the file

Good to know

The model was swapped, and the agent node is an older version.

  • Model: OpenAI’s deprecations page, read on 12 November 2026, gives 23 October 2026 as the shutdown of gpt-4, with gpt-5.6-sol as the replacement. Mindket’s copy calls it and drops the temperature of 0.2, since the model’s page lists none
  • Agent type: version 1.2 runs as a Conversational Agent, which n8n’s code marks deprecated and says it removes in n8n v3. If your n8n shows that notice, swap in a current AI Agent node and reconnect the model, memory and tool
  • The address: the check reads the latest message only, so the visitor must put the address in the message with the question
  • Memory: it sits on the n8n instance and is not shared between workers in queue mode
  • Billing: each visitor message costs one or more OpenAI calls
  • Public chat: once the trigger is public, anyone with its address can spend your key
  • Your data: messages go to OpenAI, and a question that asks for a person goes to Slack with its address
  • Credentials: the JSON holds none

README and files

README

Chat agent that asks a human on Slack when it is stuck

An n8n workflow with a chat. An AI agent answers what it can and remembers the last five exchanges. When it has no answer
or is unsure, it calls a tool that runs a second workflow inside the same file. That one looks for an email address in the
visitor's message. With one, it posts the message to a Slack channel so a person can reply. Without one, it asks the
visitor to send the question again with an address.

What is inside

  • workflow.json: the workflow as n8n exports it, ten nodes and seven sticky notes. It holds no credential.
  • README.md: these notes.

What we changed from the original copy

  • The chat model was called gpt-4, which OpenAI shut down on 23 October 2026. The node is now named OpenAI Chat Model
    and calls gpt-5.6-sol, the replacement on OpenAI's deprecations page, read on 12 November 2026.
  • The model node asked for a temperature of 0.2. The page for gpt-5.6-sol lists no temperature setting, so the copy
    leaves it out. Add it back in the node's options if your model takes it.
  • The Chat Trigger lost its webhook id, and the Slack and OpenAI nodes lost their credential links. Select your own.
  • Nothing else. The file has two small Code nodes, and neither needed repair.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • An OpenAI API key that can use gpt-5.6-sol.
  • A Slack workspace, an app that can post messages, and a channel for the questions.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. Save the workflow. The tool Not sure? calls this same workflow by its own id, so it works only once the workflow is saved.
  4. Add a Slack credential. In Message Slack for help, choose the channel by name. The file leaves it empty.
  5. Open the chat with the Chat button at the bottom of the canvas. Ask the agent a question and tell it to answer as if it
    does not know. It should ask for your email address.
  6. Send the question again with an address in the same message. Slack gets the message, and the agent confirms that a human
    was messaged.
  7. To let visitors use the chat outside n8n, set Chat Trigger to public and read the notes below first.

How the tool and its sub-workflow connect

Not sure? is a Tool Workflow node. Its workflow is {{ $workflow.id }}, this workflow, and it starts at
Execute Workflow Trigger. It sends query, the text the agent hands to a tool, and one field of its own, chatInput, set
from the Chat Trigger's chatInput: the visitor's latest message. Only chatInput is used downstream. The tool's description
tells the agent to use it when it does not know or is not confident.

The sub-workflow ends in one of two Code nodes. Each returns a response text, and the agent's system message tells it to
answer with that text.

How a run goes

  1. Chat Trigger takes the visitor's message.
  2. AI Agent (version 1.2) reads it with Window Buffer Memory, whose context window is the node's default of five past
    interactions, and answers with OpenAI Chat Model.
  3. If the agent cannot answer, it calls Not sure?. Check if user has provided email tests the message with a regular
    expression for something shaped like an address.
  4. With a match, Message Slack for help posts the message and Confirm that we've messaged a human returns the thank-you.
    Without one, Prompt the user to provide an email returns the request to send the question again with an address.

Change the look

  • The agent's rules: the system message in AI Agent.
  • The tool's trigger: the description in Not sure?.
  • The two replies: the texts in the Code nodes Confirm that we've messaged a human and Prompt the user to provide an email.
  • The Slack message: the text in Message Slack for help.
  • How much it remembers: Context Window Length in Window Buffer Memory.
  • The model: OpenAI Chat Model.

Good to know

  • AI Agent is version 1.2 with no agent type set, which n8n reads as a Conversational Agent. n8n's code marks that mode
    deprecated and says it goes in n8n v3. If your n8n shows that notice, replace the node with a current AI Agent and reconnect the
    model, the memory and the tool.
  • The email check looks only at the latest message, not at the memory, so the visitor must put the address in the message that
    carries the question. It checks the shape of an address and does not confirm it exists.
  • Window Buffer Memory keeps messages on the n8n instance. They are not shared between workers in queue mode.
  • Each visitor message costs one or more OpenAI calls. Slack posts cost nothing extra.
  • A public chat lets anyone with its address spend your OpenAI key, so add limits before you share it.
  • The visitor's messages go to OpenAI, and one that asks for a person goes to your Slack channel with its email address.
Files
NOTICE.md  607 B
README.md  5 KB
workflow.json  9 KB

3 files, 15 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Business

See all in Business

pplx-decider-v1.1-27b

perplexity-ai · Kit

Picks the best option for a decision from text and images, such as which team should handle a request, with a probability for each choice, for developers who b…

New

NuExtract3

numind · Kit

Reads documents as text or images and fills a JSON template with the fields you ask for, or converts the pages to Markdown. A 4B model for teams that process s…

New

Drex DLM

nace-ai · Kit

Scores yes or no, multiple choice and rating questions about a document in one pass, with a probability for every option. An 8B decision model from Nace.AI tha…

New