AI Agents
Create a custom AI agent using Gemini (self-hosted)
9 nodes
199
134
Automatic trigger
Workflow Description
A template for building a custom AI agent powered by Google's Gemini model with memory capability to maintain conversation context, triggered through direct chat interactions for autonomous operation.
How it works
- 1.Receive messages via chat trigger interface
- 2.Process inputs using Gemini language model
- 3.Store conversation context in memory buffer
- 4.Execute custom logic through code node
- 5.Return responses to user in real-time
Use cases
- Create a customer support bot that learns from previous interactions
- Build a specialized virtual assistant for domain-specific tasks
- Develop an intelligent Q&A system that maintains conversation history
Requirements
- Valid Google Gemini API key configured
- Conversation history and memory management enabled
- Self-hosted n8n instance or cloud deployment ready
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Chat Trigger
Gemini
Memory
Details
Trigger
Automatic trigger
Nodes
9
Apps
3
Views
199
Downloads
134
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (9)
When chat message received
Chat Trigger
Google Gemini Chat Model
Gemini Model
Sticky Note
Sticky Note
Store conversation history
Memory Buffer Window
Construct & Execute LLM Prompt
Code
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note