Skip to main content

Notifications

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
    cloflyMao 25,202 on at
    RE: How can I add a condition to a dynamic marketing list to only include phone numbers with 12 digits?

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans