惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
Engineering at Meta
Engineering at Meta
量子位
A
About on SuperTechFans
阮一峰的网络日志
阮一峰的网络日志
Recent Announcements
Recent Announcements
博客园 - 司徒正美
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
腾讯CDC
Jina AI
Jina AI
C
Check Point Blog
H
Help Net Security
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
爱范儿
爱范儿
I
InfoQ

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Keeping an online store catalog in sync with n8n + a loca...
Giuseppe Tumino · 2026-06-24 · via DEV Community

Giuseppe Tumino

I run online stores as a side project, and the catalog was always the part that quietly broke: supplier prices and stock change constantly, so the listings drift out of date until a customer orders something that's actually unavailable or mispriced. I wanted to remove the manual checking entirely and only spend human attention on the cases that really need it.

So I built a small automation that keeps the catalog in sync on its own. Here's what it does, the stack, and — more importantly — what I learned along the way.

What it does

  • Pulls catalog, stock, and price data from the supplier source
  • Normalizes messy product fields and matches them to the store's listings
  • Aligns stock and price automatically when there's a confident match
  • Flags exceptions for review — unmatched SKUs, suspicious price jumps, items going out of stock
  • Runs on a schedule, so the catalog stays current without anyone watching it

The stack

  • n8n — orchestration and scheduled workflows
  • Ollama (local LLMs) — cleaning/normalizing unstructured product fields, cost-free and offline
  • Python — data handling and the deterministic checks around the LLM
  • MCP connectors — to wire the tools together
  • Environment variables — all credentials stay in .env, nothing secret in the code

How it works (high level)

  1. A scheduled n8n workflow triggers the run.
  2. Supplier data is fetched and passed through a cleaning step — the LLM where the data is messy, plain rules where it isn't.
  3. Items are matched to existing store listings.
  4. Confident matches get their stock/price updated automatically; everything uncertain goes to an exceptions list for a quick human pass.

What I learned

  • Orchestrating reliable scheduled jobs in n8n instead of one-off scripts.
  • Running LLMs locally with Ollama — what they're genuinely good at (cleaning fuzzy data) and where they're not.
  • When not to trust the model. I also do paid AI-output evaluation, and that habit shaped this build: anything that touches price or stock goes through deterministic checks, not the LLM alone.
  • Designing for the exception path, not just the happy path.