Skip to content
AI Agents

Example workflows calling DeepSeek V3 and R1 via chat agent, HTTP, and Ollama

3 nodes 542 190 Automatic trigger
Download

Loading workflow…

Workflow Description

Automation that builds a smart agent capable of interacting with users through conversation, maintaining dialogue context in memory, and processing requests using multiple language models (OpenAI and Ollama) to generate contextual responses.

How it works

  1. 1.Capture user messages via the chat trigger channel
  2. 2.Process messages through the intelligent agent using LLM chains
  3. 3.Store conversation history in a sliding window memory buffer
  4. 4.Generate responses using OpenAI and Ollama models in parallel
  5. 5.Execute HTTP requests based on agent decisions
  6. 6.Return responses to the user

Use cases

  • Create a customer support chatbot that remembers conversation history
  • Build a virtual assistant combining multiple AI models for complex queries
  • Develop an internal help agent that learns from previous interactions

Requirements

  • OpenAI API key for model access
  • Local or cloud-hosted Ollama server running
  • Permissions to send HTTP requests to external services
  • Understanding of n8n memory buffer configuration

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Chat Trigger LLM Chain Lm Chat Ollama

Details

Trigger Automatic trigger
Nodes 3
Apps 3
Views 542
Downloads 190

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 (3)

When chat message received

Chat Trigger

#1

Basic LLM Chain2

LLM Chain

#2

Sticky Note

Sticky Note

#3

Sticky Note1

Sticky Note

#4

Ollama DeepSeek

Lm Chat Ollama

#5

Sticky Note2

Sticky Note

#6

Sticky Note3

Sticky Note

#7

Sticky Note4

Sticky Note

#8

Sticky Note5

Sticky Note

#9

Sticky Note6

Sticky Note

#10
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime