AI Agents

AI Agent That Retrieves Live Weather and Wikipedia Data

10 nodes 332 180 Automatic trigger
Download

Workflow Description

An intelligent agent that processes user queries through a chat interface, retrieves information from Wikipedia and current weather data via HTTP requests, and maintains conversation context in memory. The agent processes queries using a local Ollama language model to generate contextual responses.

How it works

  1. 1.Receive user query through manual chat trigger
  2. 2.Execute Wikipedia search and fetch current weather data simultaneously
  3. 3.Process retrieved information through AI agent with Ollama model
  4. 4.Return combined answer while maintaining conversation history

Use cases

  • Answer general knowledge questions enriched with current weather information
  • Build a multi-source assistant that synthesizes Wikipedia data and weather in a single chat interface

Requirements

  • Accessible Ollama instance with a language model deployed
  • Weather API endpoint or service credentials for current conditions
  • Internet connectivity to access Wikipedia data and external weather services

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Chat Trigger Tool Memory AI Agent HTTP Request Lm Chat Ollama

Details

Trigger Automatic trigger
Nodes 10
Apps 6
Views 332
Downloads 180

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (10)

Sticky Note4

Sticky Note

#1

On new manual Chat Message

Manual Chat Trigger

#2

Wikipedia

Tool Wikipedia

#3

Sticky Note3

Sticky Note

#4

Sticky Note6

Sticky Note

#5

Window Buffer Memory

Memory Buffer Window

#6

AI Agent

Agent

#7

Weather HTTP Request

HTTP Request

#8

Ollama Chat Model

Lm Chat Ollama

#9

Sticky Note

Sticky Note

#10