Build your first AI agent
## How it works This template launches your very first **AI Agent** —an AI-powered chatbot that can do more than just talk— it can take action using tools. Think of an AI Agent as a smart assistant, and the tools are the apps on its phone. By connecting it to other nodes, you give your agent the ability to interact with real-world data and services, like checking the weather, fetching news, or even sending emails on your behalf. This workflow is designed to be the perfect starting point: * **The Chat Interface:** A `Chat Trigger` node provides a simple, clean interface for you to talk to your agent. * **The Brains:** The `AI Agent` node receives your messages, intelligently decides which tool to use (if any), and formulates a helpful response. Its personality and instructions are fully customizable in the "System Message". * **The Language Model:** It uses **Google Gemini** to power its reasoning and conversation skills. * **The Tools:** It comes pre-equipped with two tools to demonstrate its capabilities: 1. **Get Weather:** Fetches real-time weather forecasts. 2. **Get News:** Reads any RSS feed to get the latest headlines. * **The Memory:** A `Conversation Memory` node allows the agent to remember the last few messages, enabling natural, follow-up conversations. ### Set up steps **Setup time: ~2 minutes** You only need one thing to get started: a free Google AI API key. 1. **Get Your Google AI API Key:** * Visit Google AI Studio at [aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey). * Click **"Create API key in new project"** and copy the key that appears. 2. **Add Your Credential in n8n:** * On the workflow canvas, go to the **`Connect your model`** (Google Gemini) node. * Click the **Credential** dropdown and select **`+ Create New Credential`**. * Paste your API key into the **API Key** field and click **Save**. 3. **Start Chatting!** * Go to the **`Example Chat`** node. * Click the **"Open Chat"** button in its parameter panel. * Try asking it one of the example questions, like: *"What's the weather in Paris?"* or *"Get me the latest tech news."* That's it! You now have a fully functional AI Agent. Try adding more tools (like Gmail or Google Calendar) to make it even more powerful.
- Platform
- n8n
- Category
- Other
- Price
- $9.99
- Creator
- BestWorkflows
- AI Agent
- Simple Memory
- Chat Trigger
- Google Gemini Chat Model
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Other workflows
- Automate Daily Lead Outreach from Google Sheets via Outlook$9.99
- Automate Lead Generation by Scraping Emails from Google Maps to Google Sheets$14.99
- Real-time crypto market analysis with GPT-4o-mini and CoinMarketCap APIs via Telegram$2.99
- Automate Comprehensive Jira Project Setup with AI and Form Integration$24.99
- Book and manage appointments with Google Calendar and Gmail$14.99
- Automate Pipedrive Deal Tracking in Google Sheets$9.99
More from BestWorkflows
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.