Templates / Generate n8n workflows from chat using MCP tools, Claude and Postgres

Generate n8n workflows from chat using MCP tools, Claude and Postgres

Ready for 3.0

by Salman Mehboob ✓ · 771 views · created 2026-04-11 · Internal Wiki, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 6 nodes and runs when a chat message arrives. Along the way it connects MCP Client, OpenRouter Chat Model and Postgres Chat Memory.

How it runs

Trigger: When a chat message arrives.

  1. AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 1 tool (MCP Client); memory: Postgres Chat Memory
  2. Respond To Chat (Chat): uses Chat

Services it uses

MCP ClientOpenRouter Chat ModelPostgres Chat Memory

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Describe any automation in plain English. This AI agent builds, validates, and deploys a working n8n workflow into your instance in seconds — no node dragging, no JSON editing, no guesswork. 📺 Full setup guide:…

Excerpt from Salman Mehboob's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.