How it Works This template launches your very first AI Agent —an AI-powered chatbot that doesn’t just chat, but can also take action using tools. Think of an AI Agent as your smart assistant, and the tools are like apps on its phone. By connecting it to other nodes, your agent can interact with real-world data and services—such as checking the weather, fetching the news, or even sending emails for you. This workflow is built to be your ideal starting point: - The Chat Interface: A Chat Trigger node gives you a simple interface to talk to your agent. - The Brains: The AI Agent node receives your messages, decides which tool to use (if any), and crafts a helpful response. You can fully customize its personality and instructions through the “System Message.” - The Language Model: Powered by OpenAI, giving your agent reasoning and conversational abilities. - The Tools: Pre-equipped with two demo tools to show what’s possible: - Get Weather: Pulls live weather updates. - Get News: Reads any RSS feed to deliver the latest headlines. - The Memory: A Conversation Memory node lets the agent recall recent exchanges, so it can handle natural follow-ups. Setup Steps Setup time: ~2 minutes You’ll only need one thing to begin: your OpenAI API key. Get Your OpenAI API Key 1. Go to openai.com 2. Click Create new secret key and copy it. Add Your Credential in n8n 1. On the workflow canvas, open the Connect your model (OpenAI) node. 2. In the Credential dropdown, select + Create New Credential. 3. Paste your API key into the API Key field and click Save. Start Chatting! 1. Open the Example Chat node. 2. Click the Open Chat button in its parameter panel. 3. Try sample questions like: 4. “What’s the weather in Paris?” 5. “Get me the latest tech news.”