For the complete documentation index, see llms.txt. This page is also available as Markdown.

Segments - Filtering by area code or region

Use advanced filters to segment your lead base strategically, organizing it by area code or region.

Creating a segment for the São Paulo region

After creating and naming the segment responsible for grouping the leads, go to the 'Filters' tab and use the condition 'The lead field value...' to check whether the Whatsapp field meets the following regular expression:

55(11|12|13|14|15|16|17|18|19)\d{8,9}

This expression groups all leads whose number starts with 55, followed by a valid area code from the state of São Paulo (from 11 to 19). The area codes are separated by the character |, which functions as an operator OR.

Leads that meet this criterion will be automatically added to this segment.

Segment 'Filters' tab.

Last updated

Was this helpful?