web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How can I add a condition to a dynamic marketing list to only include phone numbers with 12 digits?

(0) ShareShare
ReportReport
Posted on by 5

I currently have a dynamic marketing list which targets certain contacts in CRM. I want to restrict the list to only include contacts where the Mobile Number field contains 12 digits.

How can I restrict based on number of digits?

Is there a wildcard option within marketing lists that will allow me to specify the digits? I have tried ############, %%%%%%%%%%%% and ************ but these do not work as needed.

  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Kate,

    Currently wildcard is not supported in Segment filters.

    A workaround is that you could build a custom plugin to calculate length of phone field, and set a custom boolean field to "Yes" if record meets the condition.

    Then we could easily find contact whose phone field contains 12 digits by the custom field value.

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 89 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 61

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans