Description
A safety net for your AI agent — escalate unanswered questions to a human via Slack
👥 When GPT-4 doesn’t know the answer, this workflow steps in. It checks if the user provided their email, and if so, sends their question straight to a support team on Slack — no dead ends for your users.
🧠 What Problem Does It Solve?
Sometimes AI just doesn’t know — and that’s OK. This workflow ensures those edge cases don’t end in frustration. It detects uncertainty and gives users a seamless path to real human help.
✔️ Detects when GPT-4 can’t answer
✔️ Gathers the user’s email (if not already provided)
✔️ Escalates questions to your Slack support channel
✔️ Keeps the user informed throughout the process
⚙️ How It Works
💬 AI agent receives a chat input
🤖 GPT-4 attempts to answer the question
❓ If it’s unsure, it triggers a sub-workflow
📩 Checks whether the user has shared their email
📥 If not, prompts the user to enter one
📨 Once an email is collected, sends the message to a Slack channel
✅ Confirms that a human has been contacted
✨ Key Features
🧠 Uses GPT-4 for primary response logic
📎 Sub-workflow handles email validation and Slack message routing
💬 Prompt ensures clear communication with the user
📬 Slack integration sends messages to the right support team
📘 Includes notes and inline guidance for easy customization
🧰 What You Need
✅ OpenAI GPT-4 access
✅ Slack OAuth2 credentials
✅ n8n with LangChain + AI tools enabled
🚀 Setup Instructions
🔗 Load the workflow into n8n
🔑 Set up OpenAI and Slack credentials
📛 Replace the Slack channel ID with your own
🧪 Test the flow using the “Chat” input trigger
🔌 Integrations
OpenAI GPT-4
Slack
n8n AI Agent
LangChain Tools
Project Link:-[https://preview--ai-fallback-buddy.lovable.app/]