AutomationMart
Home/Browse/Build your first AI agent
n8n

Build your first AI agent

n8nn8n6 modulesv1.0
GmailGoogle CalendarGemini

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:

At a glance

Build your first AI agent is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Google Calendar, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Calendar, Gemini
Modules
6
Price
Free
Version
v1.0
Build your first AI agent workflow diagram

About this workflow

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. 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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Add new Google Calendar events to Capsule CRM as tasks

Every time a new event is created in Google Calendar, Make will automatically create a new task in Capsule CRM.

Free

Trigger new check-ins on Foursquare and create events in Google Calendar

Automatically create Google Calendar events for every new Foursquare check-in, ensuring you never miss an important location-based appointment or meeting.

Free

Follow up on overdue Xero invoices

Efficiently manage overdue Xero invoices with automated Gmail communication. Streamline your financial tracking, improve payment collection, and enhance email reminders for outstanding balances, ensuring timely payments and better cash flow management.

Free

Create a data analyst chatbot for real-time Google Sheets analysis with GPT-5

Who is this for? This workflow is ideal for: Business analysts and data professionals who need to quickly analyze spreadsheet data through natural conversation Small to medium businesses seeking AI-powered insights from their Google Sheets without complex dashboard setups Sales teams and marketing professionals who want instant access to customer, product, and order analytics --- What problem is this workflow solving? Traditional data analysis requires technical skills and time-consuming manu

Free

Qualify & reach out to B2B leads with Groq AI, Apollo, Gmail & Sheets

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. 🎯 How it works This workflow captures new lead information from a web form, enriches it with Apollo.io data, qualifies the lead using AI, and—if the lead is strong—automatically sends a personalized outreach email via Gmail and logs the result in Google Sheets. 🛠️ Key Features 📩 Lead form capture with validation 🔍 Enrichment via Apollo API 🤖 Lead scoring using AI (LangChain + Groq) 📧 Dynam

Free

Automate Gmail organization: weekly newsletter archiving and receipt labeling

Feel like your inbox is a junk drawer you’re scared to open? 📧 Meet the Sunday Sweep Gmail Zero workflow—the soft-tech hug your Gmail has been waiting for. 🕊️ What it does (in plain English) • Every Sunday at 9 PM it quietly hunts down newsletters older than 30 days and gently archives them—no scary deletions, just a neat sweep. • Fresh receipts, invoices or order confirmations from the past 24 hours are instantly labeled 🧾 “Receipts” so you can find them at tax time without digging. • You wake

Free

Generate new video audio and merge the final result with Fal.run and Google Drive

Quick overview This workflow collects a video URL via an n8n form, uses Fal.run APIs to generate music from the video and merge it back into a new video, then downloads the final file and uploads it to Google Drive. How it works 1. Receives a video URL from an n8n form submission. 2. Sends the video URL to Fal.run (sonilo/video-to-music) to generate an audio track and waits before polling the job status until it is completed. 3. Fetches the generated audio details from Fal.run using the request

Free

Automate Gmail labeling with Gemini AI & build InfraNodus knowledge graph with Telegram alerts

Automated Gmail Labeling and Brainstorming This template can be used to automatically label your incoming Gmail messages with AI and to build a knowledge graph from the emails tagged with a specific label to brainstorm new ideas based on them. You can also get notified about the emails with the most important labels via Telegram as well as receive new ideas as you are building a knowledge graph of incoming messages. The idea generation is based on the InfraNodus knowledge graph content gap detec

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free