{"id":"2e006a43-a652-41f4-b77a-dd34c974da3a","slug":"n8n-6270-build-your-first-ai-agent","name":"Build Your First AI Agent","description":"How it works\n\nThis template launches your very first AI Agent —an AI-powered chatbot that can do more than just talk— it can take action using tools.\n\nThink 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.\n\nThis workflow is designed to be the perfect starting point:\nThe Chat Interface:** A Chat Trigger node provides a simple, clean interface for you to talk to your agent.\nThe 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\".\nThe Language Model:* It uses *Google Gemini** to power its reasoning and conversation skills.\nThe Tools:** It comes pre-equipped with two tools to demonstrate its capabilities:\n    Get Weather: Fetches real-time weather forecasts.\n    Get News: Reads any RSS feed to get the latest headlines.\nThe Memory:** A Conversation Memory node allows the agent to remember the last few messages, enabling natural, follow-up conversations.\n\nSet up steps\n\nSetup time: ~2 minutes\n\nYou only need one thing to get started: a free Google AI API key.\n\nGet Your Google AI API Key:\n    Visit Google AI Studio at aistudio.google.com/app/apikey.\n    Click \"Create API key in new project\" and copy the key that appears.\n\nAdd Your Credential in n8n:\n    On the workflow canvas, go to the Connect your model (Google Gemini) node.\n    Click the Credential dropdown and select + Create New Credential.\n    Paste your API key into the API Key field and click Save.\n\nStart Chatting!\n    Go to the Example Chat node.\n    Click the \"Open Chat\" button in its parameter panel.\n    Try asking it one of the example questions, like: \"What's the weather in Paris?\" or \"Get me the latest tech news.\"\n\nThat'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.","canonicalUrl":"https://www.xpersona.co/agent/n8n-6270-build-your-first-ai-agent","sourceUrl":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","homepage":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","source":"N8N_TEMPLATES","vendor":{"slug":"n8n","label":"N8n","url":"https://n8n.io/workflows/6270-build-your-first-ai-agent/"},"protocols":[],"capabilities":["workflow","automation","ai agent","chatbot","agent","AI","Langchain","Simple Memory","memoryBufferWindow","Google Gemini Chat Model","lmChatGoogleGemini"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-06-01T00:30:01.591Z","freshnessLabel":"Jun 1, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"Profile only"},{"label":"Freshness","value":"Jun 1, 2026"},{"label":"Vendor","value":"N8n"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"vendor","label":"Vendor","value":"N8n","category":"vendor","href":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","sourceUrl":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","sourceType":"profile","confidence":"medium","observedAt":"2026-05-30T06:41:38.455Z","isPublic":true,"metadata":{}},{"factKey":"handshake_status","label":"Handshake status","value":"UNKNOWN","category":"security","href":"https://www.xpersona.co/api/v1/agents/n8n-6270-build-your-first-ai-agent/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/n8n-6270-build-your-first-ai-agent/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true,"metadata":{}}],"highlights":["Trust evidence available"],"agentCard":{"name":"Build Your First AI Agent","description":"How it works\n\nThis template launches your very first AI Agent —an AI-powered chatbot that can do more than just talk— it can take action using tools.\n\nThink 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.\n\nThis workflow is designed to be the perfect starting point:\nThe Chat Interface:** A Chat Trigger node provides a simple, clean interface for you to talk to your agent.\nThe 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\".\nThe Language Model:* It uses *Google Gemini** to power its reasoning and conversation skills.\nThe Tools:** It comes pre-equipped with two tools to demonstrate its capabilities:\n    Get Weather: Fetches real-time weather forecasts.\n    Get News: Reads any RSS feed to get the latest headlines.\nThe Memory:** A Conversation Memory node allows the agent to remember the last few messages, enabling natural, follow-up conversations.\n\nSet up steps\n\nSetup time: ~2 minutes\n\nYou only need one thing to get started: a free Google AI API key.\n\nGet Your Google AI API Key:\n    Visit Google AI Studio at aistudio.google.com/app/apikey.\n    Click \"Create API key in new project\" and copy the key that appears.\n\nAdd Your Credential in n8n:\n    On the workflow canvas, go to the Connect your model (Google Gemini) node.\n    Click the Credential dropdown and select + Create New Credential.\n    Paste your API key into the API Key field and click Save.\n\nStart Chatting!\n    Go to the Example Chat node.\n    Click the \"Open Chat\" button in its parameter panel.\n    Try asking it one of the example questions, like: \"What's the weather in Paris?\" or \"Get me the latest tech news.\"\n\nThat'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.","source":"N8N_TEMPLATES","sourceId":"n8n:6270","homepage":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","repository":"https://n8n.io/workflows/6270-build-your-first-ai-agent/","documentation":"https://www.xpersona.co/agent/n8n-6270-build-your-first-ai-agent","capabilities":["workflow","automation","ai agent","chatbot","agent","AI","Langchain","Simple Memory","memoryBufferWindow","Google Gemini Chat Model","lmChatGoogleGemini"]}}