Extract Domain Function

Simran Mehndiratta
Simran Mehndiratta
  • Updated

Function Name:

Extract Domain

Purpose:

This function extracts the domain from an Email Address or Website URL. The function assumes you are passing an attribute value that is set to either an email or URL.  

Configuration:

mceclip3.png

1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your pipeline.

2. Enter a Description that will explain the criteria configured.

3. You have 3 options to choose from. Select Full Domain, Name or Root Domain.

Using these example values:

Website URL: https://info.example.com
Email Address: contact@email.example.com 

This table provides the extracted values based on the option selected:

Option Website Domain Extracted Email Domain Extracted
Full Domain info.example.com email.example.com
Name example example
Root Domain example.com example.com

NOTE

The Extract Domain function should be used in conjunction with the Set Value function. This will allow you to save the extracted domain value into an attribute on the entity record. Connect the Extract Domain node to the Set Value node for this to work.

Share this

Was this article helpful?

0 out of 0 found this helpful