Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Workflow That Passed Every Test and Failed on Real Data: Production Payload Shapes in n8n

This is part of my build-in-public series on running LLM workflows in n8n in production. Everything here is a failure I actually watched happen, not a hypothetical. The workflow passed every test I wrote. Green on the happy path, green on the empty input, green on the retry. Then it met real data for the first time, and it failed within the hour — not on a bug in the logic, but on a shape of data…

This article from the "build-in-public" series discusses the challenges faced when running large language model (LLM) workflows in n8n in a production environment. The author shares their experience of how the workflow initially passed all their test cases, but failed when confronted with real data. The failure was not due to any bugs in the logic, but rather due to the shape of the data that differed from what was tested.

The author identifies three main issues that caused the failure: fields that are always present in test data but sometimes absent in production; type drift where the same field arrives in different types; and scale and content extremes that were not accounted for in test data. To address these issues, the author recommends implementing a validation step that sits between the trigger and the rest of the workflow.

This validation step checks for required fields, normalizes the data, and quarantines any data that cannot be fixed. By doing so, the workflow admits what it does not know and allows a human to take action, rather than failing silently or producing incorrect results. The author emphasizes the importance of testing workflows with production data to ensure they can handle unexpected shapes and content.

They suggest running the workflow against a dataset designed to expose its weaknesses, checking for counts of processed, quarantined, and dropped rows, and asserting on the results rather than just the success of the workflow. By adopting these practices, the author argues that workflows can better handle real-world data and avoid producing wrong results.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Building Zero-Latency Real-Time Audio & Vision Agents in Pure Python: Sub-10ms VAD, Instant Barge-In & Full-Duplex WebSockets

In 2026, artificial intelligence underwent a fundamental architectural shift: models transitioned from turn-based text request-response interfaces to full-duplex, streaming multimodal perceptual…

  • Sub-10ms voice activity detection (VAD) achieved in pure Python
  • Instant barge-in interrupt stops AI speech output
  • Vision processing uses keyframe sampling and perceptual hash deltas

How I Built a Boston Common Shadow Study From a Single Map Selection

The setup Last month I wanted a shadow study of Boston Common without downloading LiDAR, learning a full GIS stack, or asking anyone for a license.

  • Defined question focused on Boston Common's southwest lawn shade at 3 pm in December
  • Chose rectangular bounding box encompassing Common plus two blocks in every direction
  • Used stationary elevated camera for consistent comparisons at 9 am, noon, and 3 pm

The text/plain part is not optional

Plenty of sending pipelines generate HTML only, let the library add an empty text part, and move on. It works until a recipient client renders the empty part, or a filter scores the message as…

  • Text part serves as fallback for non-HTML clients
  • Proper formatting maintains readable message appearance
  • Avoid template placeholders in text part

More from Tuesday 3 November →