Supercharge your n8n workflows
Stop writing custom JavaScript functions just to clean data. Use the CleanTextLab API node to standardise inputs, format JSON, and sanitise lists instantly.
Ready-to-Use Workflow Templates
Download and import directly into n8n. Just add your API key!
Clean Email List
Trim whitespace, lowercase, and deduplicate emails
Multi-Step Cleaning
Trim, remove blank lines, and title-case text
Why use CleanTextLab in n8n?
No Code Required
Forget the 'Function' node. Just pick the transformation you need from our list.
Chainable Actions
Run multiple cleaning steps (e.g., Trim -> Uppercase -> Dedupe) in a single API call.
High Reliability
Built for scale. We handle the edge cases, regex complexities, and encoding issues.
Quick Setup (3 Steps)
Get your API Key
Go to Settings and generate an API key (Pro plan required).
Import Workflow Template
Download any template above, then in n8n go to Menu → Import from File.
Add API Key Credential
Create a new "Header Auth" credential: Name = x-api-key, Value = your API key.