AI Agents
Build a Custom AI Agent with Gemini Intelligence
9 nodes
284
154
Automatic trigger
Workflow Description
Automation that creates an AI agent powered by Gemini with persistent conversation memory. Receives messages through a chat interface, processes them with advanced AI, and retains conversation context for increasingly accurate and coherent interactions over time.
How it works
- 1.Activate chat trigger and receive incoming user message
- 2.Process message through Gemini model while accessing memory history
- 3.Update conversation memory with new message and AI response
- 4.Send response back to user through chat channel
Use cases
- Create a custom intelligent assistant that understands and maintains conversation history
- Build a support agent that improves interactions by remembering previous customer exchanges
Requirements
- Google Gemini API key and authentication setup
- Chat trigger configured on your hosting platform
- Memory module enabled to store and retrieve conversation context
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
284
Downloads
154
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