Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Build Your First AI Agent – Powered by Google Gemini with Memory

n8n template #4941
A smart personal assistant that can reason, search, calculate, and remember — powered by Google Gemini and ready in one click. Most AI agents only respond — this one thinks before replying, pulls in real-time facts, does the math, and even remembers the last 5 things you said. 🔧 How it works This template builds a conversational agent using the Google Gemini API. It uses multiple tools like: 🧠 Think – to reason step-by-step 🔍 SerpAPI – to search live data on Google ➗ Calculator – to solve math problems 💾 Memory – to remember short-term chat history You can embed this agent into a chatbot, web app, or automate any customer support, research, or productivity workflow. 🧠 Your agent will: U

How to set it up

  1. Open template #4941 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: SerpApi (Google Search), Google Gemini Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Build Your First AI Agent – Powered by Google Gemini with Memory" (https://n8n.io/workflows/4941). It uses: AI Agent, Simple Memory, Calculator, SerpApi (Google Search), Google Gemini Chat Model, Think Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. DigiMetaLab published it free on n8n.io as a verified creator, and it has 16K views. It runs on n8n Cloud or a self-hosted n8n instance.

SerpApi (Google Search), Google Gemini Chat Model. The other 4 nodes are built into n8n.

Similar workflows

NameViews
  1. Explore n8n Nodes in a Visual Reference Library5,197
  2. Document Q&A Chatbot with Gemini AI and Supabase Vector Search for Telegram17K
  3. Generate Monthly Financial Reports with Gemini AI, SQL, and Outlook14K
  4. Anthropic AI Agent: Claude Sonnet 4 and Opus 4 with Think and Web Search tool6,524
  5. AI agent chat780K
  6. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  7. Build Your First AI Data Analyst Chatbot134K
  8. Build Your First AI Agent100K