1. AI Model Nodes
n8n supports OpenAI, Anthropic, Google, and local models like Ollama. Add a model node, configure your API key, and connect it to other nodes that need AI capabilities.
2. Building a RAG Pipeline
Retrieval-Augmented Generation combines your data with AI. Use the Document Loader to ingest files, Embeddings node to vectorize content, Vector Store to save them, and Retriever to fetch relevant context.
3. AI Agents in n8n
The AI Agent node lets you create autonomous agents with tools. Connect tools like HTTP Request, Code, or any n8n node. The agent decides which tools to use based on the task.
Wrap-up
n8n makes AI accessible through visual workflows. Combine AI nodes with n8n's 400+ integrations for powerful automations that were previously impossible without code.