Clean domain name

How to find this variable?

The domain name is typically listed on a company’s official website, B2B lead database from lemlist, business cards, or can be obtained from digital business directories.

How to use it?

This cleaned and normalized domain name can be used to verify a company’s web presence, send tailored email communications, or assist in digital marketing strategies targeting specific businesses.

Use cases

Email Marketing: Utilize the standardized domain name for sending personalized emails directly to company-specific addresses.

Online Research: Conduct more accurate company research by using the standardized domain to access the company’s official website.

The prompt

Normalize the URL specified in the input to ensure a clean and standardized company domain name.

- Remove any protocols like 'http://' or 'https://' or "www"
- Strip away any paths, parameters, or query strings to focus solely on the base domain, including the top-level domain like '.com' or '.fr'.
- Convert all characters to lowercase to standardize the format, and trim any extraneous spaces.

- The goal is to achieve a uniformly formatted and fully functional domain name that represents the company's online identity.

- The output can only be the domainName, don’t make any comments and don't put quote
- If the input is empty, output: N/A

Input: "{{companyDomain}}"
Output:

copy prompt

Your input

1. ‘https://www.exampleCompany.com/path?query=123’

2. ‘http://blog.startup.io’

3. ‘www.green-tech.fr/contact-us’

4. ‘’

Your output

1. ‘examplecompany.com’

2. ‘startup.io’

3. ‘green-tech.fr’

4. ‘N/A’

How to implement

1
Step 1: Open your “Lead list” in your lemlist campaign.
2
Step 2: Create a new column and select “Create AI column”. Enter the name of your AI variable and click “Save”.
3
Step 3: Paste the prompt and click “Generate”!
Use this prompt in lemlist
Copy this prompt to the clipboard
Why this prompt?
Refine the specified URL to isolate and standardize the base domain name

Related Prompts

Smart Formatting

Fun fact about your leads

Generate a fun fact based on info about your lead.
sales
edtech
Sales teams
EdTech
Smart Formatting

Format Date/Time (US)

Transform a given date or datetime into a given format.
Smart Formatting

Format Date/Time (EU)

Transform a given date or datetime into a given format.

How to leverage the full power of prompts with lemlist AI variables

1

Generate an AI variable from leads

Top 1% sales reps use this AI-powered workflow to automate outreach and book meetings effortlessly.
2

Analyze & sort with AI

Add your prompt or choose the best-performing ones from the library, without leaving the lemlist app.
3

Get clean & segmented info

Segment leads for ultra-targeted approach, craft personalized icebreakers, and clean messy copies.

“Emails generated are short and respect copywriting standards. The AI did some research to add relevant content to the messaging!”

Philippe Araba
Business Developer @Shortways

“The process was very simple, and I like the scripts proposed!”

Lucia Lehmann
Sales Manager @Inside Sales

“Amazing! Especially for a dinosaur in tech like me, it’s magical! Got a full personalized sequence only after 3 minutes!“

Nadja El Fertasi
Consultancy @Thrive with EQ

"Huge time saver - it saves us between 5 and 8 minutes to create personalization per each lead."

Ali Rahmani
Co-Founder @Tango Prospection

"I find the results quite impressive. I only spend a little bit of time to tweak the final copy."

Arnaud Renoux
Founder @The Scalelab