FM
FlowMarket
Docs, PDF & OCR Beginner ⚡ 4 n8n Nodes

Domain extractor

This node is designed to cleanse URLs and extract their domain names efficiently. It effectively handles a wide range of URL formats, including those with un...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

This node is designed to cleanse URLs and extract their domain names efficiently.

It effectively handles a wide range of URL formats, including those with unconventional or complex top-level domains (TLDs), such as 'co.uk'.

You can also use it to extract the domain from an email. The node will also check if the domain is from a free email provider (gmail.com / outlook.com...etc) or not.

How It Works The node analyzes the provided URL, removing any unnecessary elements.

It then identifies and extracts the domain name, ensuring compatibility with a diverse array of TLDs.

The node utilizes an extensive list of TLDs to guarantee accurate domain extraction for virtually any URL.

To view the complete list of supported top-level domains, please visit: [TLD List on GitHub](https://github.com/publicsuffix/list)

How to use it Call this workflow using the "execute workflow" node

You can pass either an email variable or a url variable.

For email, the node also detect free mail provider such as Yahoo / Google...etc

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Domain extractor.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Docs, PDF & OCR Workflows

View All in Docs, PDF & OCR →