Ai agent with Ollama for current weather and wiki
This workflow template demonstrates how to create an AI-powered agent that provides users with current weather information and Wikipedia summaries. By integr...
🔌 Nodes & Integrations Used (6)
📖 Implementation & Setup Guide
This workflow template demonstrates how to create an AI-powered agent that provides users with current weather information and Wikipedia summaries. By integrating n8n with Ollama's local Large Language Models (LLMs), this template offers a seamless and privacy-conscious solution for real-time data retrieval and summarization.
Who is this for?
**Developers and Enthusiasts:** Individuals interested in building AI-driven workflows without relying on external APIs. **Privacy-Conscious Users**: Those who prefer processing data locally to maintain control over their information. **Educators and Students:** Learners seeking hands-on experience with AI integrations and workflow automation.
What problem does this workflow solve?
Accessing up-to-date weather information and concise Wikipedia summaries typically requires multiple API calls to external services, which can raise privacy concerns and incur costs. This workflow addresses these issues by utilizing Ollama's self-hosted LLMs within n8n, enabling users to retrieve and process information locally.
What this workflow does:
**User Input Capture**: Begins with a chat interface where users can input queries. AI Processing: The input is sent to an AI Agent node configured with Ollama's LLMs, which interprets the query and determines the required actions. **Weather Retrieval:** For weather-related queries, the workflow fetches current weather data from a specified source. **Wikipedia Summarization:** For queries seeking information, it retrieves relevant Wikipedia content and generates concise summaries.
Setup:
**Install Required Tools:** Ollama: Install and run Ollama to manage local LLMs. **Configure n8n Workflow:** Import the provided workflow template into your n8n instance. Set up the AI Agent node to connect with Ollama's API. Ensure nodes responsible for fetching weather data and Wikipedia content are correctly configured. **Run the Workflow:** Start the workflow and interact with the chat interface to test various queries.
How to customize this workflow to your needs:
**Automate Triggers:** Set up scheduled triggers to provide users with regular updates, such as daily weather forecasts or featured Wikipedia articles.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Ai agent with Ollama for current weather and wiki.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....