Skip to main content
n8n Integration

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.

n8n
CleanTextLab API
HTTP Request
Method
POST
URL
https://cleantextlab.com/api/v1/run
Body Parameters
{ "steps": ["remove-line-breaks", "title-case"] }

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

trim-lineslower-casededupe-sort

Format JSON

Pretty-print minified JSON responses

json-formatter

Dedupe & Sort List

Remove duplicates and sort alphabetically

dedupe-sort

Multi-Step Cleaning

Trim, remove blank lines, and title-case text

trim-linesremove-blank-linestitle-case-converter

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)

1

Get your API Key

Go to Settings and generate an API key (Pro plan required).

2

Import Workflow Template

Download any template above, then in n8n go to Menu → Import from File.

3

Add API Key Credential

Create a new "Header Auth" credential: Name = x-api-key, Value = your API key.