Urgent.News

What's breaking now, across hundreds of outlets.

AI

n8n tutorial: cleaning and transforming your data with Edit Fields, expressions and the Code node (without abusing it)

In almost all of the n8n workflows that we build for SMEs, there comes a point where the data arrives "dirty": a phone number written in three different ways, a date in text format, an amount with a comma, an empty field that breaks the next step. Before connecting an AI agent or a CRM, you have to clean it up. n8n offers three tools for this, from the simplest to the most powerful: the node…

Translated from French Read in French

The article discusses how to clean and normalize data in workflows built with n8n, a tool for small and medium-sized enterprises (SMEs). It highlights three tools for data cleaning: Edit Fields, expressions, and the Code node, and provides guidance on when to use each. The article uses a concrete example of a contact form that sends data to n8n, which needs to be cleaned and transformed before being sent to a CRM or AI agent. The example demonstrates how to use each of the three tools to achieve the desired output.

Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

If you forward your calls to an AI agent, what happens to texts and voicemail?

I make Speakvora, an agent that small businesses run on their own computer, so I hear one question constantly: "I do not want to change my number.

  • Forwarding calls keeps number on original carrier, handles only calls
  • Porting number to provider moves calls and texts, takes 5-15 days
  • New business number offers quick start for calls and texts, requires carrier registration

More from Sunday 22 November →