AI Agent with Custom Tool for Email Inquiry
detail.loadingPreview
An AI agent that uses a custom tool to handle user inquiries, checking for email addresses and escalating to human support when needed.
About This Workflow
This workflow demonstrates an n8n AI agent that leverages a custom tool to manage user interactions. The core functionality is to determine if a user has provided an email address in their query. If an email is present, the system acknowledges the query and escalates it for human review. If no email is provided, the agent prompts the user to include their email address for further assistance.
Key Features
- AI agent powered by OpenAI.
- Custom tool integration for specific logic.
- Conditional routing based on email address presence.
- Escalation to Slack for human support.
- User prompting for missing information.
How To Use
- Configure Credentials: Set up your OpenAI API credentials and Slack API credentials in n8n.
- Deploy Workflow: Save and activate this workflow.
- Interact: Send messages to the chatbot endpoint.
- If your message includes an email address (e.g., 'Hi, I have a question about X, my email is test@example.com'), the workflow will acknowledge and message your configured Slack channel.
- If your message does not include an email address, the AI will prompt you to repeat your question with an email address.
Apps Used
Workflow JSON
{
"id": "d53cf831-36c0-487f-848d-322a8e8ae197",
"name": "AI Agent with Custom Tool for Email Inquiry",
"nodes": 22,
"category": "AI & Machine Learning",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: d53cf831-36c0...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
AI Assistant for Structured Metadata Generation
Automates the generation of structured metadata in English and Chinese using AI, leveraging communication platforms and various data sources.
NeurochainAI Basic API Integration for Telegram
Integrates NeurochainAI's text and image generation APIs with a Telegram bot.